Programming: q parameters 9.8 additional functions – HEIDENHAIN TNC 620 (81760x-02) ISO programming User Manual
Page 310

Programming: Q parameters
9.8
Additional functions
9
310
TNC 620 | User's ManualDIN/ISO Programming | 2/2015
Displaying messages on the TNC screen
You can also use the function
D16 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.
N90 D16 P01 TNC:\MASK\MASK1.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:
N90 D16 P01 TNC:\MASK\MASK1.A/SCLR:
If you output the same file more than once in the
program, the TNC appends all texts to the end of the
texts already output within the target file.
Exporting messages
The
D16 function also enables you to save the log files externally.
Enter the complete target path in the
D16 function:
N90 D16 P01 TNC:\MSK\MSK1.A / PC325:\LOG\PRO1.TXT
If you output the same file more than once in the
program, the TNC appends all texts to the end of the
texts already output within the target file.