Programming: q parameters 8.8 additional functions – HEIDENHAIN TNC 128 (77184x-02) User Manual
Page 210

Programming: Q Parameters
8.8
Additional functions
8
210
TNC 128 | User's Manual HEIDENHAIN Conversational Programming | 5/2014
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.
96 FN 16: F-PRINT TNC:\MASKE\MASKE1.A/SCREEN:
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:
96 FN 16: F-PRINT TNC:\MASKE\MASKE1.A/SCLR:
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.
Exporting messages
The
FN 16 function also enables you to save the log files externally.
Enter the complete target path in the
FN 16 function:
96 FN 16: F-PRINT TNC:\MSK\MSK1.A / PC325:\LOG\PRO1.TXT
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.