beautypg.com

Fn 29: plc: transfer values to the plc, Fn 37: export, Programming: q parameters 8.8 additional functions – HEIDENHAIN TNC 320 (34055x-06) User Manual

Page 268

background image

Programming: Q Parameters

8.8

Additional functions

8

268

TNC 320 | User's Manual HEIDENHAIN Conversational Programming | 5/2013

FN 29: PLC: Transfer values to the PLC

The FN 29: PLC function transfers up to eight 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

56 FN 29: PLC=+10/+Q3/+Q8/+7/+1/+Q5/+Q2/+15

FN 37: EXPORT

You need the FN 37: EXPORT function if you want to create your
own cycles and integrate them in the TNC. The Q parameters 0
to 99 are effective only locally. This means that the Q parameters
are effective only in the program in which they were defined. With
the FN 37: EXPORT function you can export locally effective Q
parameters into another (calling) program.

The TNC exports the value that the parameter has at
the time of the EXPORT command.

The parameter is exported only to the presently
calling program.

Example: The local Q parameter Q25 is exported

56 FN37: EXPORT Q25

Example: The local Q parameters Q25 to Q30 are exported

56 FN37: EXPORT Q25 - Q30