EasyManua.ls Logo

HEIDENHAIN TNC 320 - D18 - Reading system data

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
363
D18 – Reading system data
With the D18 function you can read system data and store them
in Q parameters. The selection of the system datum occurs via a
group number (ID no.), a system data number, and, if necessary, an
index.
The read values of the function D18 are always output
by the control in metric units regardless of the NC
program’s unit of measure.
The following is a complete list of the D18 function.
Please be aware that not all functions are available
depending on the model of your control.
Group
name
Gruppen-
nummerID
Systemdaten-
nummer
Index Description
Program information
3 - Number of the active machining cycle
6 - Number of the most recently executed touch
probe cycle
1 = None
7 - Type of calling NC program:
1 = None
0 = Visible NC program
1 = Cycle/macro, main program is visible
2 = Cycle/macro, there is no visible main
program
103 Q parameter
number
Relevant within NC cycles; for inquiry as to
whether the Q parameter given under IDX
was explicitly stated in the associated CYCLE
DEF.
110 QS parameter
number
Is there a file with the name QS(IDX)?
0 = No, 1 = Yes
This function eliminates relative file paths.
10
111 QS parameter
number
Is there a directory with the name QS(IDX)?
0 = no, 1 = Yes
Only absolute directory paths are possible.

Table of Contents

Other manuals for HEIDENHAIN TNC 320

Related product manuals