Programming Q Parameters | Additional functions
10
392
HEIDENHAIN | TNC 620 | Conversational Programming User's Manual | 10/2017
FN 18: SYSREAD – Reading system data
With the FN 18: SYSREAD 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 FN 18: SYSREAD 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
FN 18: SYSREAD 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.