D15: print: output of texts or q parameter values, D19: plc: transferring values to the plc, 10 .7 a d d ition al f u nc tion s – HEIDENHAIN iTNC 530 (340 422) ISO programming User Manual
Page 432

432
10 Programming: Q Parameters
1
0
.7 A
d
d
ition
al
F
u
nc
tion
s
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: Transferring 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 479).
Numerical values from 0 to 99:
Dialog texts for OEM cycles
Numerical values exceeding 100: PLC Error Messages
N67 D15 P01 20 *
N70 D15 P01 1 P02 Q1 *
N56 D19 P01 +10 P02 +Q3 *