Waiting for event

#WAIT FOR <expr>   (non-modal)

With this command the decoding of NC program is stopped till the arithmetic expression is TRUE or > 0,5.

Programming example

N10 #WAIT FOR V.E.EXT1 == 5 (Decoding of NC program is stopped at this)
(point, till the value of external variable)
(is 5)
....
N100 #WAIT FOR V.E.EXT2 (Decoding of NC program is stopped at this)
(point, till the value of external variable)
(is > 0.5.)
N200 G01 X200 F1000
....