8 a d ditional f unctions – HEIDENHAIN TNC 320 (340 55x-05) User Manual
Page 249

HEIDENHAIN TNC 320
249
8.8 A
d
ditional F
unctions
Displaying messages on the TNC screen
You can also use the function FN 16 to display any messages from the
NC program in a pop-up window on the TNC screen. This makes it
easy to display explanatory texts, including long texts, at any point in
the program in a way that the user has to react to them. You can also
display Q parameter contents if the protocol description file contains
such instructions.
For the message to appear on the TNC screen, you need only enter
SCREEN:
as the name of the protocol file.
If the message has more lines than fit in the pop-up window, you can
use the arrow keys to page in the window.
To close the pop-up window, press the CE key. To have the program
close the window, program the following NC block:
The FN 16 function overwrites already existing log files
with the same name. Use M_APPEND if you want to append
new log information to an existing log.
If you use FN 16 more than once in the program, the TNC
saves all texts in the file that you defined in the FN 16
function. The file is not output 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.
96 FN 16: F-PRINT TNC:\MASKE\MASKE1.A/SCREEN:
96 FN 16: F-PRINT TNC:\MASKE\MASKE1.A/SCLR: