7 a dditional f unctions – HEIDENHAIN TNC 410 User Manual
Page 227
10 Programming: Q Parameters
214
FN 15: 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
”14.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