Have two endstops on X axis
-
Hello I was wondering if I could have one endstop on the x axis where the printer homes and another endstop at the other end of x axis so that if my printer crashes, it will trigger the max endstop and pause the print or if it is not in a print stop the x motor. I only have one x motor
-
@tratoon
Could you be more specific about when this might (or has) occurred, please?If the config.g file is configured correctly, i.e. for the X, Y and Z axes dimensions of the machine, I don't think the machine should/could exceed those.
Posting your config.g file between the </> markers would help too.
-
@tratoon the typical way you would do this is set up the max endstop as a trigger, not an endstop. You can then set up whatever behaviour you want when the switch is tripped.
The docs here should help:
https://docs.duet3d.com/en/User_manual/Tuning/TriggersAs Nightowl says though you may be best off trying to address the root cause of the crashes (wrong configuration, missed steps etc), but this will give you a bit of a failsafe
-
The most common action is to set (in config.g) the physical boundaries of the printer and then the software will stop it from going out of bounds when it's running GCode. It's not quite as robust as a second endstop but in practice it works well.
My CNC has these settings->
M208 X0 Y0 Z-170 S1 ; set axis minima
M208 X1410 Y1250 Z0 S0 ; set axis maxima