Programming Q Parameters | Additional functions
10
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2017
385
FN16: F-PRINT – Formatted output of texts and Q
parameter values
With FN 16: F-PRINT, you can output any messages
from your NC program on the screen. The control
displays such messages in a pop-up window.
Further information: "Displaying messages on the
control's screen", page 390
With the function FN 16: F-PRINT, 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 FN 16 block. The
maximum size of the output file is 20 kB.
To be able to use the function FN 16: F-PRINT, first program a text
file that specifies the output format.
Available functions
Use the following formatting functions for creating a text file:
Special charac-
ters
Function
"..........." 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