D15: print: output of texts or q parameter values, D19: plc: transfer values to the plc, 7 a d ditional f unctions – HEIDENHAIN iTNC 530 (340 49x-02) ISO programming User Manual
Page 498

498
11 Programming: Q Parameters
1
1
.7 A
d
ditional F
unctions
D15: PRINT: Output of texts or 
Q parameter values
The function D15: 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.
Output dialog texts and error messages with D15: PRINT 
”numerical value”
Example: Output of dialog text 20
Output dialog texts and error messages with D15: PRINT 
“Q parameter”
Application example: Recording workpiece measurement.
You can transfer up to six Q parameters and numerical values 
simultaneously. 
Example: Output of dialog text 1 and numerical value for Q1
D19: PLC: Transfer values to the PLC
The function D19: PLC transfers up to two numerical values or Q 
parameter contents 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
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 “Assign”, page 548).
Numerical values from 0 to 99:
Dialog texts for OEM cycles
Numerical values 100 and above:
PLC error messages
N67 D15 P01 20 *
N70 D15 P01 1 P02 Q1 *
N56 D19 P01 +10 P02 +Q3 *
