Welcome! Log In Create A New Profile

Advanced

Help me config my endstops

Posted by SlimJim 
Help me config my endstops
March 25, 2016 12:28AM
I've built an i3 and am having trouble configuring the endstops in Repetier (using Ramps 1.4) ... so do I post it here, or in the Repetier board, or the Ramps board?
I'm using mechanical endstops, set to normal open.

Problem:
When I send M119 from Repetier, I get all endstops registering L, wheather or not I activate them.
When either axis hits the endstop, it does not stop.

the endstop section of my configuration.h file looks like this:

#define ENDSTOP_PULLUP_X_MIN false
#define ENDSTOP_X_MIN_INVERTING false
#define MIN_HARDWARE_ENDSTOP_X true
#define ENDSTOP_PULLUP_Y_MIN false
#define ENDSTOP_Y_MIN_INVERTING false
#define MIN_HARDWARE_ENDSTOP_Y true
#define ENDSTOP_PULLUP_Z_MIN false
#define ENDSTOP_Z_MIN_INVERTING false
#define MIN_HARDWARE_ENDSTOP_Z true
#define ENDSTOP_PULLUP_X_MAX true
#define ENDSTOP_X_MAX_INVERTING false
#define MAX_HARDWARE_ENDSTOP_X false
#define ENDSTOP_PULLUP_Y_MAX true
#define ENDSTOP_Y_MAX_INVERTING false
#define MAX_HARDWARE_ENDSTOP_Y false
#define ENDSTOP_PULLUP_Z_MAX true
#define ENDSTOP_Z_MAX_INVERTING false
#define MAX_HARDWARE_ENDSTOP_Z false
#define max_software_endstop_r true

#define min_software_endstop_x false
#define min_software_endstop_y false
#define min_software_endstop_z false
#define max_software_endstop_x true
#define max_software_endstop_y true
#define max_software_endstop_z true
#define ENDSTOP_X_BACK_MOVE 5
#define ENDSTOP_Y_BACK_MOVE 5
#define ENDSTOP_Z_BACK_MOVE 2
#define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
#define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
#define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3
#define ENDSTOP_X_BACK_ON_HOME 1
#define ENDSTOP_Y_BACK_ON_HOME 1
#define ENDSTOP_Z_BACK_ON_HOME 0
#define ALWAYS_CHECK_ENDSTOPS 1


I've tried every solution I saw online, I think everything is plugged in correctly, I've tested the switches with a multimeter at the plug.
What should I try next?
Re: Help me config my endstops
March 25, 2016 01:28AM
? have you tried making the inverting true on the min hardware stops
Re: Help me config my endstops
March 25, 2016 02:27AM
End stops are getting the best of me as well, nearly there. Stay positive, good luck! smiling smiley I'm learning the how to as well, nothing but encouragement from me at this point
Re: Help me config my endstops
March 25, 2016 03:56AM
If you have switch type endstops, most require PULLUP's enabled

To setup your endstops follow this:

Correctly identify what endstops you have on your machine

This is for i3 type machines where the bed moves in Y direction.

On X axis, if a endstop is on the left its a min endstop, if its on the right its a max endstop
On Y axis, if a endstop is on the back its a min endstop, it its at the front its a max endstop
On Z axis, if the endstop is at the bed its a min endstop, if it at the top its a max endstop

Ramps boards have different plugs for min and max endstops, make sure this is correct for what you have on your machine.

Then setup your firmware homing directions. -1 home to min, 1 home to max

For each endstop you have you need to enable the pull up for that endstop.

Now manually test each endstop, Sending M119 to the machine while you holding and then after its released.
any that is backwards simply invert them in firmware.

NB if you have 3 wire switch endstops, make sure you have them plugged in correct way. If you plug them in backwards you will kill the voltage regulator on the mega when the switch shorts +5v to gnd,

Now if when you home it moves the wrong way, your entire axis is backwards and you need to invert the axis, not the homing.

Edited 7 time(s). Last edit at 03/25/2016 04:16AM by Dust.
Re: Help me config my endstops
March 27, 2016 08:03PM
thanks, I'll work through that list and check each one.
Sorry, only registered users may post in this forum.

Click here to login