Tables and overviews | System data
The following is a complete list of the FN 18: SYSREAD functions.
Please be aware that not all functions are available depending on the
model of your control.
Group
name
Group number
ID...
System data
number NO....
Index IDX... 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
1 Unit of measure of the directly calling NCpro-
gram (may also be a cycle).
Return codes:
0 = mm
1 = inch
–1 = there is no corresponding program
8
2 Unit of measure of the NCprogram visible in
the block display from which the current cycle
was called directly or indirectly.
Return codes:
0 = mm
1 = inch
–1 = there is no corresponding program
9 - Within an Mfunction macro:
Number of the Mfunction. Otherwise –1
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 resolves 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.
15
HEIDENHAIN | TNC620 | Klartext Programming User's Manual | 01/2022
551