336 Programming: Q Parameters
9.8 Additional functions
In the part program, program FN 16: F-PRINT to activate the
output:
The TNC then outputs the file PROT1.A through the serial interface:
MEASURING LOG OF IMPELLER CENTER OF GRAVITY
DATE: 11/27/2001
TIME: 8:56:34
NO. OF MEASURED VALUES : = 1
X1 = 149.360
Y1 = 25.509
Z1 = 37.000
96 FN 16: F-PRINT TNC:\MASK\MASK1.A/RS232:\PROT1.A
The output file is not stored until the TNC reads the END
PGM block, or you press the NC stop button, or you close
the file with M_CLOSE.
In the FN 16 block, program the format file and the log file
with their respective extensions.
If you enter only the file name for the path of the log file,
the TNC saves the log file in the directory in which the NC
program with the FN 16 function is located.
You can output up to 32 Q parameters per line in the
format description file.
If you create the text file with the definition of the output
format using a text editor on a PC, then please note that
the TNC can only interpret files in ASCII format or UTF-8
format with BOM (byte order mark).