8 a d ditional functions – HEIDENHAIN TNC 620 (73498x-01) User Manual
Page 254

254
Programming: Q parameters
8.8 A
d
ditional functions
FN 16: F-PRINT: Formatted output of text and
Q parameter values
The function FN 16: F-PRINT transfers Q parameter values and texts
in a selectable format. If you save the values internally or send them
to a computer, the TNC saves the data in the file that you defined in
the FN 16 block.
To output the formatted texts and Q parameter values, create a text
file with the TNC’s text editor. In this file you then define the output
format and Q parameters you want to output.
Example of a text file to define the output format:
"MEASURING LOG OF IMPELLER CENTER OF GRAVITY";
“DATE: %2d-%2d-%4d“,DAY,MONTH,YEAR4;
“TIME: %2d:%2d:%2d“,HOUR,MIN,SEC;
“NO. OF MEASURED VALUES : = 1”;
“X1 = %9.3LF“, Q31;
“Y1 = %9.3LF“, Q32;
“Z1 = %9.3LF”, Q33;
When you create a text file, use the following formatting functions:
With FN 16, 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.
Special
character
Function
“...........“
Define output format for texts and variables
between the quotation marks
%9.3LF
Define format for Q parameter:
9 total characters (incl. decimal point), of which
3 are after the decimal, Long, Floating (decimal
number)
%S
Format for text variable
,
Separation character between output format
and parameter
;
End of block character