beautypg.com

HEIDENHAIN TNC 407 (280 580) User Manual User Manual

Page 198

background image

7-13

TNC 425/TNC 415 B/TNC 407

7

Programming with Q Parameters

7.6

Diverse Functions

Output through an external data interface

The function FN15: PRINT transfers the values of Q parameters and error
messages through the data interface, for example to a printer.

• FN15: PRINT with numerical values up to 200

0 to 99:

Dialog texts for manufacturers cycles

100 to 199:

PLC error messages

200:

ETX character

e.g. FN15: PRINT 20
Transfers the corresponding dialog text.

• FN15: PRINT with Q parameter

e.g. FN15: PRINT Q20
Transfers the value of the corresponding Q parameter.

You can transfer up to 6 Q parameters and numerical values simultane-
ously. The TNC separates them with slashes.
e.g. FN15: PRINT 1/Q1/2/Q2

• If you wish to interrupt the part program when FN15 is active, press the CLOSE RS-232-C soft key to close

the interface.

• If you wish to transfer values to a PC using FN 15, the TNC will create the file %FN15RUN.A on the PC and

the transfered values will be saved there.

Transfer to the PLC

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

Increments and units: 0.1 µm or 0.0001°

Example FN19: PLC = +10/+Q3

The numerical value 10 means 1 µm or 0.001°.