HEIDENHAIN TNC 620 User Manual page 342

Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

9
Programming Q parameters
9.8
Additional functions
D16 – Formatted output of text and Q parameter
values
With D16, you can also output to the screen any
messages from the NC program. Such messages are
displayed by the TNC in a pop-up window.
The function D16 transfers Q parameter values and texts in a
selectable format. If you send the values, the TNC saves the data
in the file that you defined in the D16 block. The maximum size of
the output file is 20 kilobytes.
To be able to use the function D16, first program a text file that
defines the output format.
Available functions
When you create a text file, use the following formatting functions:
Special
characters
"..........."
%9.3F
%+7.3F
%S
%D
or
%I
,
;
\n
+
-
342
Function
Define output format for texts and variables
between the quotation marks
Format for Q parameter:
Define %: format
9.3: 9 total characters (incl. decimal
point), of which 3 are places after the
decimal point
F: Floating (decimal number), format for
Q, QL, QR
Format for Q parameter:
Define %: format
+: number right-aligned
7 .3: 7 total characters (incl. decimal point),
of which 3 are places after the decimal
point
F: Floating (decimal number), format for
Q, QL, QR
Format for text variable QS
Format for integer
Separation character between output format
and parameter
End of block character
Line break
Q parameter value, right-aligned
Q parameter value, left-aligned
HEIDENHAIN | TNC 620 | ISO Programming User's Manual | 9/2016

Advertisement

Table of Contents
loading

Table of Contents