Fn20: wait for: nc and plc synchronization, 10 .8 a d ditional f u nctions – HEIDENHAIN TNC 320 (340 551-01) User Manual
Page 340
340
10 Programming: Q Parameters
1
0
.8 A
d
ditional F
u
nctions
FN20: WAIT FOR: NC and PLC synchronization
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:
Now for the first time with the TNC 320, HEIDENHAIN has equipped
a control with an expanded interface for communication between the
PLC and NC. This is a new, symbolic Application Programmer
Interface (API). The familiar previous PLC-NC interface is also available
and can be used if desired. The machine tool builder decides whether
the new or old TNC API is used. Enter the name of the symbolic
operand as string to wait for the defined condition of the symbolic
operand.
The following conditions are permitted in the FN 20 block:
This function may only be used with the permission of
your machine tool builder.
PLC operand
Abbreviation
Address range
Marker
M
0 to 4999
Input
I
0 to 31, 128 to 152
64 to 126 (first PL 401 B)
192 to 254 (second
PL 401 B)
Output
O
0 to 30
32 to 62 (first PL 401 B)
64 to 94 (second PL 401 B)
Counter
C
48 to 79
Timer
T
0 to 95
Byte
B
0 to 4095
Word
W
0 to 2047
Double word
D
2048 to 4095
Condition
Abbreviation
Equals
==
Less than
<
Greater than
>
Less than or equal
<=
Greater than or equal
>=