D16 - Formatted Output Of Texts And Q Parameter Values - HEIDENHAIN TNC 640 User Manual

Hide thumbs Also See for TNC 640:
Table of Contents

Advertisement

Programming Q Parameters | Additional functions
D16 – Formatted output of texts and Q parameter
values
With D16, you can output any messages from your
NC program on the screen. The control displays such
messages in a pop-up window.
Further information:
control's screen", page 393
With the function D16, you can save Q parameter values and
output formatted texts (e.g. in order to save measurement reports).
If you output the values, then the control saves the data in the file
that you define in the D16 block. The maximum size of the output
file is 20 kB.
To be able to use the function D16, first program a text file that
specifies the output format.
Available functions
Use the following formatting functions for creating a text file:
Special charac-
Function
ters
"..........."
Define output format for texts and variables
between the quotation marks
%9.3F
Format for Q parameter:
Define %: format
9.3: Total of 9 characters (incl. decimal
point), of which 3 are decimal places
F: Floating (decimal number), format for
Q, QL, QR
%+7.3F
Format for Q parameter:
Define %: format
+: number right-aligned
7 .3: Total of 7 characters (incl. decimal
point), of which 3 are decimal places
F: Floating (decimal number), format for
Q, QL, QR
%S
Format for text variable QS
%D
or
%I
Format for integer
,
Separation character between output format
and parameter
;
End of block character
\n
Line break
+
Q parameter value, right-aligned
-
Q parameter value, left-aligned
HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017
"Displaying messages on the
10
389

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 640 5e

Table of Contents