Trigger not executed
-
Hello,
I want to execute "trigger2.g" when e2stop rising.Config.g
M591 D2 P1 C"duex.e2stop" S0
M950 J2 C"duex.e2stop" ; Configurer la broche GPIO pour le capteur
M581 T2 P2 S1 R0 ; Surveiller la broche GPIO J2, déclencher la macro 2.g lorsqu'elle passe à l'état haut0:/sys/trigger2.g
M106 P1 S1
The trigger work when i send M98"0:/sys/trigger2.g" but not with E2stop value
Thanks
-
Can you confirm what firmware version you are running? Send M115 in the gcode console.
What exactly are you trying to accomplish?
You have a filament sensor defined to a pin, and then are trying to use the same pin for a trigger?
You can find information about using triggers here:
https://docs.duet3d.com/en/User_manual/Tuning/TriggersAnd filament sensors here:
https://docs.duet3d.com/en/User_manual/Connecting_hardware/Sensors_filament -
@Phaedrux
I'm running 3.4.4 firmware version.I want to use the filament sensor as input for close the enclosure door.
I've no filament sensor on pin e2stop, there is my door sensor.M106 P1 S1 run a pwm fan to 100% for powered an electric magnet
through a DC static relay . -
@Rodrigue-Richalland
You don't need to define a filament sensor
Just use the pin and define a trigger
See here
https://docs.duet3d.com/User_manual/Tuning/Triggers