external trigger only triggers once ?
-
external trigger only triggers once ?
Just setting my two external triggers and doing a little testing.
My button is a normally open switch and I'm connected to the two insides of the connector Gnd and in?.in; External Triggers M950 J0 C"io5.in" M950 J1 C"io6.in" M581 P0 T3 S0 R0 ; M581 P1 T4 S0 R0 ;
trigger3.g
M117 "Trigger3"If I press my button I get my message as expected , but this only works once , I've tried raising and falling edge with the same result.
-
What firmware version are you using?
https://duet3d.dozuki.com/Wiki/Gcode#Section_M581_Configure_external_trigger
-
If I recall correctly (in succession), M117 will only display once unless the message changes.
Try something likeM117 "Trigger 3 activated at " ^ state.upTime
-
@owend Spot on !!!!!
I replace the M117 with a echo "Trigger 3", and now each button press and equals a messages on the console.