beautypg.com

Fn 19: plc: transfer values to the plc, 8 a d ditional f unctions – HEIDENHAIN iTNC 530 (340 49x-05) User Manual

Page 304

background image

304

Programming: Q Parameters

9.8 A

d

ditional F

unctions

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

FN 19: PLC: Transfer 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

Datum table selected, 505

1

-

Return code = 0: No datum table active
Return code = 1: Datum table active

Data from the active pallet table,
510

1

-

Active line

2

-

Palette number from PAL/PGM field

3

-

Current line of the pallet table

4

-

Last line of the NC program of the current pallet

Existence of machine parameter,
1010

MP
number

MP index

Return value = 0: MP does not exist
Return code = 1: MP exists

Group name, ID number

Number

Index

Meaning

55 FN 18: SYSREAD Q25 = ID210 NR4 IDX3

56 FN 19: PLC=+10/+Q3