Invert Endstops
-
My X & Y endstops need to be inverted but
M119 X1 Y1 1doesnt seem to do it.
is there another command? -
M119 is for getting endstop status. You configure endstops using M574. Use the S parameter to invert the signal.
-
ok so how do you define a endstop as Min or Max for each Axis
-
-
Thanks I have been looking at the documentation but it still hard to decipher
-
Why is it hard to decipher for example lets deal with just the X endstop
M574 X1 S1 means that the endstop is at the low end (Min) and the S1 param means it is Active high
If you need to invert when the endstop triggers maks the S param a 0 if you want the endstop at the High (max) end then make the X param X2.
Do the same for the Y and Z to construct the full line if you need some endstops to be Active High and some Low then you will need 2 lines
The recomended is to have them wired NC Active high so if you wanted all of them to be at Min and wired as per recomended then it would look like
M574 X1 Y1 Z1 S1
if they were all at the max then it would be
M574 X2 Y2 Z2 S1
Hope this helps a little bit
-
M574 X1 S1 means that the endstop is at the low end (Min) and the S1 param means it is Active high
I assume you meant S0
I find all the parameter options hard to figure out. and sometimes things are not always obvious
Example high and low. Why not min and max
-
No I meant S1 S0 would mean it is active low?
-
No I meant S1 S0 would mean it is active low?
Correct.
X1 low end X2 high end
Y1 low end Y2 high end
And so on… -
yes and the S param says whether the FW expects the endstop switch to be either open or closed depending on the setting of it?