EasyManua.ls Logo

HEIDENHAIN TNC 320 - Page 361

HEIDENHAIN TNC 320
724 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming Q Parameters | Additional functions
9
HEIDENHAIN | TNC 320 | ISO Programming User's Manual | 10/2017
361
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 401
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

Table of Contents

Other manuals for HEIDENHAIN TNC 320

Related product manuals