beautypg.com

Fn 19: plc – transfer values to the plc, Fn 20: wait for – nc and plc synchronization, Additional functions 9.8 – HEIDENHAIN TNC 620 (81760x-02) User Manual

Page 325

background image

Additional functions

9.8

9

TNC 620 | User's Manual

HEIDENHAIN Conversational Programming | 2/2015

325

FN 19: PLC – Transfer values to the PLC

This function may only be used with the permission

of your machine tool builder.

The

FN 19: PLC function transfers up to two numerical values or Q

parameters to the PLC.

FN 20: WAIT FOR – NC and PLC synchronization

This function may only be used with the permission

of your machine tool builder.

With the

FN 20: WAIT FOR 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

FN 20: WAIT FOR block

is fulfilled.
SYNC is used whenever you read, for example, system data via

FN18: SYSREAD 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

32 FN 20: WAIT FOR SYNC
33 FN 18: SYSREAD Q1 = ID270 NR1 IDX1