EMERGENCY STOP
-
Hello
i can't figurit out what is wrong
i would also like to when is pressed emergency that i get output activated.
this is my config.g code
; Emergen1cy Stop ##################4################################################################################## M950 J1 C"io0.in" ; Define Emergency endstop - emergency stop switch condition M950 P0 C"io0.out" M581 P1 S0 T1 ; Define action to be taken with activation of emergency stop switch M582 T1 S1 ; set trigger #3 pending unconditionally
and this trigger1.g
;trigger1.g M999 M42 P0 S1
nothing happend when i press
i have 3.3V to com and NC back to input with 10Kohm ressistor to gnd
-
https://docs.duet3d.com/User_manual/Reference/Gcodes#m999-restart
M999 resets the firmware, you can't execute the command after that because the firmware is reset. If you need M42 P0 S1 to happen, move it before M999.
-
@Phaedrux yeah i know that i mean M112.
but why i don't get any input reading
also i have problem on 1HCL i can't read end stop for tool locking mech.
i have two micro switch in serias with NC. And when i press on end stop switch nothing happend od DWC.I have problem with input's and output's.
-
@matej1006 You can't use a macro tigger1. From the docs quote..............
"Trigger number 0 causes an emergency stop as if M112 had been received. Trigger number 1 causes the print to be paused as if M25 had been received. Any trigger number # greater than 1 causes the macro file sys/trigger#.g to be executed."
So trigger1 will cause the print to be paused but it won't run your macro. You need to use a trigger number higher than 1 in order to run your own trigger macro.
As for your other issues - these are unrelated to the topic title so best to start a new thread. When you do, post your entire config.g file in that thread.