Page 1 of 1

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

PostPosted: Wed Jun 05, 2013 11:39 am
by flickerfly
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?

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

PostPosted: Wed Jun 05, 2013 12:22 pm
by Gadroc
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.

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

PostPosted: Wed Jun 05, 2013 12:27 pm
by bdring
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.

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

PostPosted: Wed Jun 05, 2013 12:31 pm
by flickerfly
Thanks guys, I'll check that out.

M114 reports everything is at 0.

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

PostPosted: Wed Jun 05, 2013 6:59 pm
by orcinus
I think that was a typo on Bart's end. Try M119.

Solved

PostPosted: Sun Jun 09, 2013 11:04 pm
by flickerfly
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