confusion with emergency stop and a Z homing failsafe
-
@appjaws you should configure the inputs using M950 not M574
-
@jay_s_uk
Would that be inputs or outputs?
M950 P6 C"zfailsafe"
M581 P6 T2 R0
M950 P7 C"emgstop"
M581 P7 T3 R0Error: Unknown pin name 'zfailsafe'
Error: Unknown pin name 'emgstop'
I don't think that's right, still confused, could you provide an example so that trigger2 runs please -
@appjaws you'd use the same pin names such as "zstop"
-
@jay_s_uk
M574 Z1 S1 P"zstop" ; configure Z-probe endstop for low end on Z
M574 E2 S1 P"emgstop" ; configure Emergency stop buttonM950 P6 C"zstop"
M581 P6 T2 R0
M950 P7 C"emgstop"
M581 P7 T3 R0The z stop worked but the emgstop has an error
Error: Unknown pin name 'emgstop'nearly there
-
@appjaws where are you plugging the "emgstop" into?
-
@jay_s_uk
Thanks Jay,
I thought it was connected to E2 but I will need to take covers off and physically check.Sorry for the delay.
The emergency stop button is connected to the duex5 expansion board, connected to E2 Stop
just noticed the error Pin 'zstop' is not free
-
@appjaws
this is what I have at the moment
M950 P6 C"zstop"
M581 P6 T2 R0 ; Set Z stop as fail safe for Z zeroing and run /sys/trigger2.g
M950 P7 C"e2stop"
M581 P7 T3 R0 ; Set Emergency stop and run/sys/trigger3.gError: Pin 'zstop' is not free
Error: Unknown pin name 'e2stop' -
@appjaws zstop won't be free if you have the M574 line calling it earlier.
What board are you running this on? a duet 2 by itself doesn't have an e2stop -
@appjaws It's M950 with J parameter to create inputs/triggers, not P, which is for outputs. So should be:
M950 J6 C"zstop" M581 P6 T2 R0 ; Set Z stop as fail safe for Z zeroing and run /sys/trigger2.g M950 J7 C"e2stop" M581 P7 T3 R0 ; Set Emergency stop and run/sys/trigger3.g
Make sure zstop and e2stop are not defined anywhere else.
Ian
-
@droftarts
Thanks for the info, I am running a duet2 plus duex5. -
@droftarts
Thank you, all working properly now that I realized that the emergency stop pin should have been duex.e2stop