Proper Placement of Mechanical End Stops
-
Hello All,
Making some progress wiring my end stops thanks to you!
If I understand correctly the Duet 3 6HC supports one end stop per axis.
So, if I want to put an end stop on the horizontal X-axis I can only have one. Then, what is the best practice? Put end stop at the far end away from the belt drive motor (NEMA23 Hi Torque in my case)? Next to the motor?
There are two leadscrews on the Z-axis with the motors pointing down. Can one use a end stop on each leadscrew? Again, place the end stop at the far end away from the motor? Or next to the motor?
I hope these comments are understandable.
Cheers,
Jim -
Where you place the endstop is usually determined by where you want the machine to home, and configured accordingly.
If it doesn't matter for your machine which end the axis is homed to, then place it where it has the simplest and/or shortest wiring.
Lets say you place the X switch at X=0 and the Y switch at Y=200 (or whatever the max value is) then configure as follows
M574 X1 M574 Y2
and so on (you'll need P parameters to M574 as well)
https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_Set_endstop_configuration
this should cover using two end stops for two individually controlled z motros
https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors#Section_Axis_levelling_using_endstops -
@bearer
Thanks Bearer! I'll be working it over the weekend. -
@Jim46 may I add to bearer that RRF3 has a changed syntax, please look to link https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_RepRapFirmware_Num_3
Some parameters changed, like the S parameter. And parameter P is important too.