11
Mach4 General Discussion / Mach4 Gcode running or not running
« on: July 16, 2019, 09:23:13 AM »
Hello People,
I am trying to change the states of some ouputs when mach4 is running an gcode and when it is done/''standby''. I looked in the API file for some variables to set the trigger.
I can't seem to find anything which I can use to see if mach4 is running an gcode or when it is not. Does someone know one? I want to turn 2 outputs on when it is not running an gcode and turn them back off when it is done or when I first turn the machine on.
Thanks in advance.
I am trying to change the states of some ouputs when mach4 is running an gcode and when it is done/''standby''. I looked in the API file for some variables to set the trigger.
I can't seem to find anything which I can use to see if mach4 is running an gcode or when it is not. Does someone know one? I want to turn 2 outputs on when it is not running an gcode and turn them back off when it is done or when I first turn the machine on.
Thanks in advance.