beautypg.com

D29: transfer values to the plc, D37 export, Programming: q parameters 9.7 additional functions – HEIDENHAIN TNC 640 (34059x-02) ISO programming User Manual

Page 276

background image

Programming: Q Parameters

9.7

Additional functions

9

276

TNC 640 | User's Manual for DIN/ISO Programming | 5/2013

D29: Transfer values to the PLC

The D29 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

N56 D29 P01 +10 P02 +Q3

D37 EXPORT

You need the D37 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

D37 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

N56 D37 Q25

Example: The local Q parameters Q25 to Q30 are exported

N56 D37 Q25 - Q30