7 – 38 HEIDENHAIN Technical Manual TNC 426, TNC 430
7.3.6 Interrogate PLC Operands in the NC Program (WAIT FOR)
With FN20: WAIT FOR you can interrupt the NC program until the condition
programmed in the FN20 block is fulfilled. These conditions can be
comparisons of a PLC operand with a constant. Permitted PLC operands: M,
B, W, D, T, C, I, O
If you enter no condition, the interruption will continue until the operand = 0.
Examples:
FN20: WAIT FOR I10==1
Continue the NC program, if PLC input I10 is set.
FN20: WAIT FOR I10
Continue the NC program, if PLC input I10 equals zero.
FN20: WAIT FOR B3000>255
Continue the NC program, if the content of B3000 is greater than 255.
Operator Function
== Equal
!= or <> Not equal
< Less than
> Greater than
<= Less than or equal
>= Greater than or equal