Welcome! Log In Create A New Profile

Advanced

Help with endstop problem

Posted by Idaholion 
Help with endstop problem
September 25, 2012 03:14PM
Trying out repetier, trying to get the firmware loaded right. I have Mendel Prusa, running on RAMPS 1.4 on an arduino Mega 2560. Went through the configuration.H file, reset everything that looked appropriate. I can connect, heat up the extruder, manually extrude, manually move X,Y and Z,. I have mechanical endstops, which worked fine when I was running pronterface under sprinter. I tell it to go home, the axis move in the right directions but the endstop switches for x and y don't stop the movement. The z endstop works fine

I set up endstops like this

*/
//#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 false
#define ENDSTOP_Y_MIN_INVERTING false
#define ENDSTOP_Z_MIN_INVERTING false
#define ENDSTOP_X_MAX_INVERTING false
#define ENDSTOP_Y_MAX_INVERTING false
#define ENDSTOP_Z_MAX_INVERTING false

//If your axes are only moving in one direction, make sure the endstops are connected properly.
//If your axes move in one direction ONLY when the endstops are triggered, set ENDSTOPS_INVERTING to true here



//// ADVANCED SETTINGS - to tweak parameters

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#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 true
#define DISABLE_E false

// Inverting axis direction
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#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

My original sprinter setup was like this



*/
//#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 false
#define ENDSTOP_Y_MIN_INVERTING false
#define ENDSTOP_Z_MIN_INVERTING false
#define ENDSTOP_X_MAX_INVERTING false
#define ENDSTOP_Y_MAX_INVERTING false
#define ENDSTOP_Z_MAX_INVERTING false

//If your axes are only moving in one direction, make sure the endstops are connected properly.
//If your axes move in one direction ONLY when the endstops are triggered, set ENDSTOPS_INVERTING to true here



//// ADVANCED SETTINGS - to tweak parameters

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#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 true
#define DISABLE_E false

// Inverting axis direction
#define INVERT_X_DIR false
#define INVERT_Y_DIR true
#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

Any hints, please?
Re: Help with endstop problem
September 25, 2012 05:03PM
Two things.

1. If you have a define with false or true and you want to change it, toggle true to false and vice versa. Don't simply uncomment it as done with pullups.

2. When you say home you problably didn't mean home but moving in home directions? If
#define ALWAYS_CHECK_ENDSTOPS true

is set to false, the x and y endstop is only tested with homing commands, not during simple moves. The z endstop is tested in any case.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Help with endstop problem
September 26, 2012 10:34AM
OK, system will now home. Thank you for your help
Sorry, only registered users may post in this forum.

Click here to login