[Solved]Panucatt X3 Test Code moves Z, but Repetier does not

General discussion of 3D printers

[Solved]Panucatt X3 Test Code moves Z, but Repetier does not

Postby flickerfly » Wed Jun 05, 2013 11:39 am

I'm sure I have a configuration problem, but I've poured over Repetier-firmware's configuration.h, looked at the stuff in EEPROM and the printer settings in Repetier-host pretty thoroughly and just haven't found anything.

When I load up the test code for my X3, the Z-axis moves up and down right along with everything else working as expected. It's a beautiful thing. However, once I load the repetier-firmware and control it with repetier-host, the Z ceases to operate. Everything else continues on as expected. That leads me to believe it has to do with my configuration since other people have done this without problems. It does lock in place though which leads me to believe that it isn't trying to control it with the wrong pin. Also, I've checked and it is wired up the same way as the other steppers in terms of color wire to pin on driver. I've also changed the microstepping jumpers and if anything it's reduced the holding torque making it easier to move by hand when the firmware is trying to move them.

I'm using repetier-firmware 0.81 and repetier-host 0.85b. I think this is the latest of both.

Z-Axis Feed Rate: 100
Z-Min park position: 200
Home Z: Min

Does anyone have any suggestions about what my configuration problem could be or maybe an alternate configuration.h for an X3 that I could drop in place to see if it works with a known working firmware so I could narrow it down some more or something like that?
Attachments
Configuration.h
repetier-firmware configuration.h
(48.42 KiB) Downloaded 1081 times
X3_test_code.zip
X3 Test Code from Panucatt
(922 Bytes) Downloaded 859 times
Last edited by flickerfly on Sun Jun 09, 2013 11:05 pm, edited 1 time in total.
flickerfly
 
Posts: 247
Joined: Sat Apr 27, 2013 10:04 pm
Location: Allentown, PA

Re: Panucatt X3 Test Code moves Z, but Repetier does not

Postby Gadroc » Wed Jun 05, 2013 12:22 pm

Code: Select all
/* By default all endstops are pulled up to high. You need a pullup if you
use a mechanical endstop connected with gnd. Set value to false for no pullup
on this endstop.
*/
#define ENDSTOP_PULLUP_X_MIN false
#define ENDSTOP_PULLUP_Y_MIN false
#define ENDSTOP_PULLUP_Z_MIN false
#define ENDSTOP_PULLUP_X_MAX true
#define ENDSTOP_PULLUP_Y_MAX true
#define ENDSTOP_PULLUP_Z_MAX false

//set to true to invert the logic of the endstops
#define ENDSTOP_X_MIN_INVERTING true
#define ENDSTOP_Y_MIN_INVERTING true
#define ENDSTOP_Z_MIN_INVERTING true
#define ENDSTOP_X_MAX_INVERTING false
#define ENDSTOP_Y_MAX_INVERTING false
#define ENDSTOP_Z_MAX_INVERTING true

// Set the values true where you have a hardware endstop. The Pin numbe ris taken from pins.h.

#define MIN_HARDWARE_ENDSTOP_X true
#define MIN_HARDWARE_ENDSTOP_Y true
#define MIN_HARDWARE_ENDSTOP_Z true
#define MAX_HARDWARE_ENDSTOP_X false
#define MAX_HARDWARE_ENDSTOP_Y false
#define MAX_HARDWARE_ENDSTOP_Z true


Do you really have a max and a min z endstop switches? The z-stop at the bottom would be the min and the one at the top would be max. Improper endstop configuration would prevent he z axis from moving.
Gadroc
 
Posts: 77
Joined: Thu Nov 10, 2011 8:18 pm

Re: Panucatt X3 Test Code moves Z, but Repetier does not

Postby bdring » Wed Jun 05, 2013 12:27 pm

This is almost always a limit switch problem. Try jumpering out both the min and max connectors. Use M114 to view the status of the switches in both positions of the switch.
Bart
"If you didn't build it, you will never own it."
bdring
Site Admin
 
Posts: 2966
Joined: Sun Nov 22, 2009 7:33 pm
Location: Chicago, IL, USA

Re: Panucatt X3 Test Code moves Z, but Repetier does not

Postby flickerfly » Wed Jun 05, 2013 12:31 pm

Thanks guys, I'll check that out.

M114 reports everything is at 0.
flickerfly
 
Posts: 247
Joined: Sat Apr 27, 2013 10:04 pm
Location: Allentown, PA

Re: Panucatt X3 Test Code moves Z, but Repetier does not

Postby orcinus » Wed Jun 05, 2013 6:59 pm

I think that was a typo on Bart's end. Try M119.
orcinus
 
Posts: 720
Joined: Tue Feb 14, 2012 4:03 am

Solved

Postby flickerfly » Sun Jun 09, 2013 11:04 pm

Yep, M119 does the trick. Now my daughter has learned that means "check the end stops". My problem was indeed endstop configuration. I rewired the X3 to mirror the wiring diagram and configured Repetier-Firmware with the following to get things printing:

#define ENDSTOP_PULLUP_X_MIN true
#define ENDSTOP_PULLUP_Y_MIN true
#define ENDSTOP_PULLUP_Z_MIN true
#define ENDSTOP_PULLUP_X_MAX true
#define ENDSTOP_PULLUP_Y_MAX true
#define ENDSTOP_PULLUP_Z_MAX true

//set to true to invert the logic of the endstops
#define ENDSTOP_X_MIN_INVERTING true
#define ENDSTOP_Y_MIN_INVERTING true
#define ENDSTOP_Z_MIN_INVERTING true
#define ENDSTOP_X_MAX_INVERTING true
#define ENDSTOP_Y_MAX_INVERTING true
#define ENDSTOP_Z_MAX_INVERTING true

// Set the values true where you have a hardware endstop. The Pin numbe ris taken from pins.h.

#define MIN_HARDWARE_ENDSTOP_X true
#define MIN_HARDWARE_ENDSTOP_Y true
#define MIN_HARDWARE_ENDSTOP_Z true
#define MAX_HARDWARE_ENDSTOP_X false
#define MAX_HARDWARE_ENDSTOP_Y false
#define MAX_HARDWARE_ENDSTOP_Z false

#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0

// Disables axis when it's not being used.
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z false
#define DISABLE_E false

// Inverting axis direction
#define INVERT_X_DIR false
#define INVERT_Y_DIR false
#define INVERT_Z_DIR false

//// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
#define X_HOME_DIR -1
#define Y_HOME_DIR 1
#define Z_HOME_DIR -1
flickerfly
 
Posts: 247
Joined: Sat Apr 27, 2013 10:04 pm
Location: Allentown, PA


Return to 3D Printer General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron