Fn29: plc: transferring values to the plc, Fn37:export, 10 .8 a d ditional f unctions – HEIDENHAIN TNC 320 (340 55x-03) User Manual
Page 410

410
10 Programming: Q-Parameters
1
0
.8 A
d
ditional F
unctions
FN29: PLC: Transferring values to the PLC
The function FN 29: PLC 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
FN37:EXPORT
You need the FN37: 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 FN37:
EXPORT function you can export locally effective Q parameters into
another (calling) program.
Example: The local Q parameter Q25 is exported
Example: The local Q parameters Q25 to Q30 are exported
56 FN29: PLC=+10/+Q3/+Q8/+7/+1/+Q5/+Q2/+15
56 FN37: EXPORT Q25
56 FN37: EXPORT Q25 - Q30
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.