8 a d ditional functions – HEIDENHAIN iTNC 530 (60642x-04) User Manual
Page 336
336
Programming: Q Parameters
9.8 A
d
ditional functions
FN 15: PRINT: Output of texts or Q parameter
values
The function FN 15: PRINT transfers Q parameter values and error
messages through the data interface, for example to a printer. When
you save the data in the TNC memory or transfer them to a PC, the
TNC stores the data in the file %FN 15RUN.A (output in program run
mode) or in the file %FN15SIM.A (output in test run mode).
The data are transmitted from a buffer. Data output begins at the latest
by program end or when you stop the program. In the Single Block
mode of operation, data transfer begins at block end.
To output dialog texts and error messages with FN 15: PRINT
"numerical value"
Example: Output of dialog text 20
Outputting dialog texts and Q parameters with FN 15: 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
1100
Kinematic access not possible
1101
Meas. pos. not in traverse range
1102
Preset compensation not possible
Error number
Text
Setting the data interface: In the menu option PRINT or
PRINT-TEST, you must enter the path for storing the texts
or Q parameters. See "Assignment", page 670.
Numerical values from 0 to
99:
Dialog texts for OEM cycles
Numerical values exceeding
100:
PLC error messages
67 FN 15: PRINT 20
70 FN 15: PRINT1/Q1