Additional functions
9.8
9
TNC 320 | User's Manual
HEIDENHAIN Conversational Programming | 3/2014
285
FN 16: F-PRINT: Output of formatted texts and Q
parameter values
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.
The function
FN 16: F-PRINT
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
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:
Special
characters
Function
“...........“
Define output format for texts and variables
between the quotation marks
%9.3LF
Define the format for Q parameters: 9 total
characters (incl. decimal point), of which
3 are after the decimal, Long, Floating
(decimal number)
%S
Format for text variable
%d
Format for integer
,
Separation character between output format
and parameter
;
End of block character
\n
Line break
Содержание TNC 320
Страница 4: ...Controls of the TNC 4 TNC 320 User s Manual HEIDENHAIN Conversational Programming 3 2014 ...
Страница 5: ...Fundamentals ...
Страница 16: ...Contents 16 TNC 320 User s Manual HEIDENHAIN Conversational Programming 3 2014 ...
Страница 43: ...1 First Steps with the TNC 320 ...
Страница 63: ...2 Introduction ...
Страница 81: ...3 Programming Fundamentals file management ...
Страница 124: ......
Страница 125: ...4 Programming Programming aids ...
Страница 152: ......
Страница 153: ...5 Programming Tools ...
Страница 180: ......
Страница 181: ...6 Programming Programming contours ...
Страница 232: ......
Страница 233: ...7 Programming Data transfer from DXF files or plain language contours ...
Страница 251: ...8 Programming Subprograms and program section repeats ...
Страница 267: ...9 Programming Q Parameters ...
Страница 337: ...10 Programming Miscellaneous functions ...
Страница 357: ...11 Programming Special functions ...
Страница 379: ...12 Programming Multiple Axis Machining ...
Страница 406: ......
Страница 407: ...13 Manual operation and setup ...
Страница 462: ......
Страница 463: ...14 Positioning with Manual Data Input ...
Страница 468: ......
Страница 469: ...15 Test run and program run ...
Страница 497: ...16 MOD functions ...
Страница 525: ...17 Tables and overviews ...