D18 - Reading System Data - HEIDENHAIN TNC 640 User Manual

Hide thumbs Also See for TNC 640:
Table of Contents

Advertisement

Programming Q Parameters | Additional functions
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
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
Gruppen-
name
nummerID
Program information
10
HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017
metric
units regardless of the NC
Systemdaten-
Index
nummer
3
-
6
-
7
-
103
Q parameter
number
110
QS parameter
number
111
QS parameter
number
Description
Number of the active machining cycle
Number of the most recently executed touch
probe cycle
–1 = None
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
Relevant within NC cycles; for inquiry as to
whether the Q parameter given under IDX
was explicitly stated in the associated CYCLE
DEF .
Is there a file with the name QS(IDX)?
0 = No, 1 = Yes
This function eliminates relative file paths.
Is there a directory with the name QS(IDX)?
0 = no, 1 = Yes
Only absolute directory paths are possible.
10
395

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 640 5e

Table of Contents