Fn 18: Sysread - Reading System Data - HEIDENHAIN TNC 620 User Manual

Klartext programming
Hide thumbs Also See for TNC 620:
Table of Contents

Advertisement

9
Exporting messages
With the FN 16 function you can also store log files externally.
To do so you must enter the target path in the FN 16 function.
Example
96 FN 16: F-PRINT TNC:\MSK\MSK1.A / PC325:\LOG\PRO1.TXT
If you output the same file more than once in the
NC program, the control appends the current output to
the end of the contents already output within the target
file.
Printing messages
You can also use the function FN 16: F-PRINT to print the output
files on a connected printer.
The connected printer must be PostScript-enabled.
Further information: User's Manual for Setup, Testing
and Running NC Programs
The control will only print the log file if the source file for the output
format ends with the M_CLOSE keyword.
To ensure that the messages will be sent to the default printer, you
must enter Printer:\ and a file name as the target (output path).
If you do not use the default printer, enter the path to the respective
printer, e.g., Printer:\PR0739\ and a file name.
The control will save the file using the defined file name and the
defined path. The file name will not be printed.
The control saves the file only until printing is complete.
Example
11 FN 16: F-PRINT TNC:\MASKE\MASKE1.A / PRINTER:\PRINT1
FN 18: SYSREAD – Reading system data
With the FN 18: SYSREAD function, you can read system data and
save them to 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.
As an alternative, you can use TABDATA READ to read out
data from the active tool table. In this case, the control
will automatically convert the table values to the unit of
measure used in the NC program.
Further information: "System data", Page 550
Example: Assign the value of the active scaling factor for the Z axis
to Q25.
55 FN 18: SYSREAD Q25 = ID210 NR4 IDX3
306
Programming Q parameters | Additional functions
HEIDENHAIN | TNC 620 | Klartext Programming User's Manual | 01/2022

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 620 eTnc 620 programming station

Table of Contents