D19 – transfer values to the plc, D20 – nc and plc synchronization, Programming: q parameters 9.8 additional functions – HEIDENHAIN TNC 620 (81760x-02) ISO programming User Manual
Page 320

Programming: Q parameters
9.8
Additional functions
9
320
TNC 620 | User's ManualDIN/ISO Programming | 2/2015
D19 – Transfer values to the PLC
This function may only be used with the permission
of your machine tool builder.
The
D19 function transfers up to two numerical values or Q
parameters to the PLC.
D20 – NC and PLC synchronization
This function may only be used with the permission
of your machine tool builder.
With the
D20 function you can synchronize the NC and PLC during
a program run. The NC stops machining until the condition that you
have programmed in the
D20 block is fulfilled.
SYNC is used whenever you read, for example, system data via
D18 that require synchronization with real time. The TNC stops the
look-ahead calculation and executes the subsequent NC block only
when the NC program has actually reached that block.
Example: Pause internal look-ahead calculation, read current
position in the X axis
N32 D20 SYNC
N33 D18 Q1 ID270 NR1 IDX1