FN20: WAIT FOR: NC and PLC synchronization
This function may only be used with the permission of
your machine tool builder.
With function FN 20: WAIT FOR you can synchronize the NC and PLC
with each other during a program run. The NC stops machining until
the condition that you have programmed in the FN 20 block is fulfilled.
With FN10 the TNC can check the following operands:
PLC operand
Abbreviation
Marker
M
Input
I
Output
O
Counter
C
Timer
T
Byte
B
Word
W
Double word
D
The following conditions are permitted in the FN 20 block:
Condition
Abbreviation
Equals
==
Less than
<
Greater than
>
Less than or equal
<=
Greater than or equal
>=
Example: Stop program run until the PLC sets marker 4095 to 1
32 FN20: WAIT FOR M4095==1
560
Address range
0 to 4999
0 to 31, 128 to 152
64 to 126 (first PL 401 B)
192 to 254 (second
PL 401 B)
0 to 30
32 to 62 (first PL 401 B)
64 to 94 (second PL 401 B)
48 to 79
0 to 95
0 to 4095
0 to 2047
2048 to 4095
11 Programming: Q Parameters