I have a Hypertherm G1000 plasma cutter. It has an output called XFER, which goes high when then the arc is successful at the beginning of a cut. I've configured the XFER line to a general purpose input on Mach3. What do I need to insert into my G-code to wait for this input to go high? For example, if I want to make a 1-inch cut, what code would I need to add after M03 to wait for this input?
G00 X0 Y0
M03
* would like to insert something here to wait for an input to go high *
G01 X1
M05
Any help appreciated ...