beautypg.com

Fn19: plc: transferring values to the plc, Fn20: wait for: nc and plc synchronization, 10 .8 a d ditional f unctions – HEIDENHAIN iTNC 530 (340 420) User Manual

Page 427

background image

HEIDENHAIN iTNC 530

399

1

0

.8 A

d

ditional F

unctions

Example: Assign the value of the active scaling factor for the Z
axis to Q25

FN19: PLC: Transferring values to the PLC

The function FN 19: PLC transfers up to two numerical values or Q
parameters to the PLC.

Increments and units: 0.1 µm or 0.0001°

Example: Transfer the numerical value 10 (which means 1 µm or
0.001°) to the PLC

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 FN20 the TNC can check the following operands:

Machine parameter exists, 1010

MP
number

MP index Acknowledgement value = 0: MP does not exist

Return code = 1: MP exists

Group name, ID No.

Number

Index

Meaning

55 FN18: SYSREAD Q25 = ID210 NR4 IDX3

56 FN19: PLC=+10/+Q3

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