Fn 18: sys-datum read, 8 a d ditional f unctions – HEIDENHAIN TNC 320 (340 55x-05) User Manual
Page 250

250
Programming: Q Parameters
8.8 A
d
ditional F
unctions
Exporting messages
You can also use the FN 16 function in the NC program in order to
externally save the files generated with FN 16. Two possibilities are
available for this:
Enter the complete target path in the FN 16 function:
Specify the target path in the MOD function under Print or Print-
Test
if you always want to save to the same directory on the server:
FN 18: SYS-DATUM READ
With the FN 18: SYS-DATUM READ function you can read system data
and store them in Q parameters. You select the system data through
a group name (ID number), and additionally through a number and an
index.
All the previously described conventions apply to the
protocol description file.
If you output to the screen more than one text in the
program, the TNC appends all texts to the end of the text
already displayed. To display each text individually on the
screen, program the function M_CLOSE at the end of the
protocol description file.
96 FN 16: F-PRINT TNC:\MSK\MSK1.A / PC325:\LOG\PRO1.TXT
96 FN 16: F-PRINT TNC:\MSK\MSK1.A / PRO1.TXT
All the previously described conventions apply to the
protocol description file.
If you output the same file more than once in the program,
the TNC appends all texts to the end of the texts already
output within the target file.
Group name, ID no.
Number
Index
Meaning
Program information, 10
3
-
Number of the active fixed cycle
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.
System jump addresses, 13
1
-
Label jumped to during M2/M30 instead of ending the
current program. Value = 0: M2/M30 has the normal
effect
2
-
Label jumped to if FN14: ERROR after the NC
CANCEL reaction instead of aborting the program
with an error. The error number programmed in the
FN14 command can be read under ID992 NR14.
Value = 0: FN14 has the normal effect.