eStop trigger causing a reboot cycle
-
I am configuring eStop behavior-- I setup a trigger -- in the trigger i want to issue a m112 - I do and duet 3 will not boot backup, I have to power cycle it (in this case because the triggering condition is cleared) -- I am assuming that it's getting stuck in a boot loop due to the fact that the end stop which will trigger the issue is triggering a reboot cycle. Is there a way to reboot and not end up in the endless loop, I'd like to have it trigger only after something is done after reset is completed.
-
Well it's working as intended.
https://duet3d.dozuki.com/Wiki/Gcode#Section_M112_Emergency_Stop
Any moves in progress are immediately terminated, then RepRap shuts down. All motors and heaters are turned off. It can be started again by pressing the reset button or power cycling the board. See also M0 and M1.
What exactly are you hoping to do?
Perhaps a restart would be better?
-
@Phaedrux restart worked (didn't boot loop), I am configuring a CNC and I want the end stops to act as eStops so the machine doesn't crash as it's not always required to be homed. I will configure them as end stops for homing and eStops in all other conditions.
EDIT: restart completes the current move. I don't want it to do that -- that's bad -
@Phaedrux i want to trigger the same eStop behavior that happens when the eStop button is pressed on the web-ui or paneldue
-
Something like this>?
https://forum.duet3d.com/topic/18115/emergencyish-stop?_=1598134097894
-
@Phaedrux the M1 and M0 commands finish the last movement in the buffer, which e-stop button doesn't -- the tooltip on the eStop button says m112+m999 -- so basically that is what I'm after, stop the world and reboot.
-
@Phaedrux what I'm trying to replicate is what my big mach3 CNC does -- if any hardware limit switch is triggered - ever, it stops what it's doing -- then you have to actively press the reset button and you may or may not have to activate a mode to get off the hardware end stops -- but in either case, hardware end stops mean just that -- can't go through them unless you override something.
-
You may have to wait for this then.
https://forum.duet3d.com/topic/18289/emergency-stop-without-m112?_=1598135041994