7 a dditional f unctions – HEIDENHAIN TNC 310 (286 140) User Manual

Page 180

Advertising
background image

10 Programming: Q Parameters

168

FN15: PRINT
Output of texts or Q parameter values

Setting the data interface: In the menu option RS 232
INTERFACE, you must enter where the texts or Q
parameters are to be stored. See section
”13.4 MOD Functions, Setting the Data Interface.”

The function FN15: PRINT transfers Q parameter values and error
messages through the data interface, for example to a printer. When
you transfer the data to a PC, the TNC stores the data in the file
%FN15RUN.A (output in program run mode) or in the file
%FN15SIM.A (output in test run mode).

To output dialog texts and error messages with FN15:
PRINT “numerical value”
Numerical values from 0 to 99:

Dialog texts for OEM cycles

Numerical values exceeding 100:

PLC error messages

Example: Output of dialog text 20

67 FN15:PRINT 20

To output dialog texts and error messages with FN15:
PRINT “Q parameter”
Application example: Recording workpiece measurement.

You can transfer up to six Q parameters and numerical values
simultaneously. The TNC separates them with slashes.

Example: Output of dialog text 1 and numerical value for Q1

70 FN15:PRINT 1/Q1

1

0.7 A

dditional

F

unctions

Advertising
This manual is related to the following products: