HEIDENHAIN TNC 640 User Manual page 393

Hide thumbs Also See for TNC 640:
Table of Contents

Advertisement

Programming Q Parameters | Additional functions
Displaying messages on the control's screen
You can also use the function D16 to display any messages from
the NC program in a pop-up window on the control's 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 control's screen, you need only
enter screen: as the name of the protocol file.
Example
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:
Example
N90 D16 P01 TNC:\MASK\MASK1.A/SCLR:
If you output the same file multiple times in the
program, then, within the target file, the control adds
the current output after the previously output contents.
Exporting messages
The D16 function also enables you to save the log files externally.
Enter the complete target path in the D16 function:
Example
N90 D16 P01 TNC:\MSK\MSK1.A / PC325:\LOG\PRO1.TXT
If you output the same file multiple times in the
program, then, within the target file, the control adds
the current output after the previously output contents.
Entering the source or the target with parameters
You can enter the source file and the output file as Q parameters
or as QS parameters. For this purpose you previously define the
desired parameter in the NC program.
Further information:
"Assign string parameters", page 434
In order for the control to recognize that you are working with Q
parameters, enter them in the D16 function with the following
syntax:
Input
Function
:'QS1'
Set the QS parameter with preceding colon
and between single quotation marks
:'QL3'.txt
Specify additional file name extension for the
target file if required
HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017
10
393

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 640 5e

Table of Contents