10 Programming: Q Parameters
264
The following functions allow you to include the following additio-
nal information in the protocol log file:
Code word Function
CALL_PATH Gives the path for the NC program where you will
find the FN16 function.
Example: ”Measuring program: %S”,CALL_PATH;
M_CLOSE Closes the file to which you are writing with FN16.
Example: M_CLOSE;
L_ENGLISH Output text only for English conversational language
L_GERMAN Output text only for German conversational
language
L_CZECH Output text only for Czech conversational language
L_FRENCH Output text only for French conversational language
L_ITALIAN Output text only for Italian conversational language
L_SPANISH Output text only for Spanish conversational
language
L_DANISH Output text only for Danish conversational
language
L_FINNISH Output text only for Finnish conversational
language
L_DUTCH Output text only for Dutch conversational language
L_POLISH Output text only for Polish conversational language
L_HUNGARIA Output text only for Hungarian conversational
language
L_ALL Output text independent of the conversational
language
HOUR Number of hours from the real-time clock
MIN Number of minutes from the real-time clock
SEC Number of seconds from the real-time clock
DAY Day from the real-time clock
MONTH Month as number from the real-time clock
STR_MONTH Month as string abbreviation from the real-time
clock
YEAR2 Two-digit year from the real-time clock
YEAR4 Four-digit year from the real-time clock
10.8 Additional Functions
To activate output, program FN16: F-PRINT in the
part program:
96 FN16:F-PRINT TNC:\MASKE\MASKE1.A /
RS232:\PROT1.TXT
The TNC then outputs the file PROT1.TXT through
the serial interface:
CALIBRAT. CHART IMPELLER CENTER GRAVITY
NO. OF MEASURED VALUES : = 1
*******************************************
X1 = 149.360
Y1 = 25.509
Z1 = 37.000
*******************************************
If you use FN 16 several times in the
program, the TNC saves all texts in the
file that you have defined with the first
FN 16 function. The file is not output until
the TNC reads the END PGM block, or
you press the NC stop button.
MKAP10.PM6 30.06.2006, 07:04264
www.EngineeringBooksPdf.com