When you run a program, the torch turns on and off each time it cuts a shape from your plate. You want the torch to lower to each cut, then raise up and move to the next cut. So basically when the torch is off, you want it up, when the torch is on you want it down. But you want it to drop down a second before the torch comes on, and you want it to go up a second after it goes off. The function is to protect the torch tip from intersecting with parts you've cut that have shifted after being freed from your stock. Right now i could manually add code throughout the G-code and assign "coolant on/off" to my height control, but that isnt ideal because i can't generate that into my code.
If i could make the delay from "torch on" into movement, i could just use the torch on function. I just need to know how to assign a digital output to "torch on".