skip for probe
CNC programming uses the G31 word for probing and is used extensively in all probe applications. During motion caused by a G31 command, axis targets and a feedrate are programmed and the probe signal is monitored to sense contact. When contact is detected, the machine stops axis motion. The axis positions are then recorded and the program proceeds to the next block of code.