7 a dditional f unctions – HEIDENHAIN TNC 426B (280 472) ISO programming User Manual
Page 277

10 Programming: Q Parameters
262
D15: PRINT
Unformatted output of texts or Q
parameter values
Setting the data interface for the TNC
410:
In the menu option RS 232 interface, you
must enter where the texts or Q
parameters are to be stored.
Setting up the data interface for TNC
426, TNC 430:
In the menu option PRINT or PRINT-TEST,
you must enter the path for storing the
texts or Q parameters.
See Chapter ”13 MOD Functions, Setting
the Date Interface.”
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 %D15RUN.A
(output in program run mode) or in the file
%D15SIM.A (output in test run mode).
To output dialog texts and error messages with
D15: 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
N60 D15:P01 20 *
To 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
N70 D15 P01 1 P02 Q1 *
1
0.7 A
dditional F
unctions
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
N60 D19 P01 +10 P02 +Q3 *
Mkap10.pm6
29.06.2006, 08:06
262