Read system data with FN 18: SYSREAD

Application

The FN 18: SYSREAD function can be used to read system data and store this data in variables.

Description of function

The control always outputs system data in the metric system with FN 18: SYSREAD, regardless of the unit of the NC program.

Input

NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.

  • Change the following contents as needed:
  • Tools
  • Cutting parameters
  • Feed rates
  • Clearance height or safe position
  • Machine-specific positions, e.g. with M91
  • Paths of program calls

Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.

In addition, test the NC programs using the simulation before the actual program run.

 
Tip

With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.

11 FN 18: SYSREAD Q25 = ID210 NR4 IDX3

; Save the active dimension factor of the Z axis in Q25

To navigate to this function:

Insert NC function FN Special functions FN 18 SYSREAD

The NC function includes the following syntax elements:

Syntax element

Meaning

FN18: SYSREAD

Read the syntax initiator for system data

Q/QL/QR or QS

Variable in which the control stores the information

Fixed or variable number or name

ID

Group number of the system datum

Fixed or variable number or name

NR

System data number

Fixed or variable number or name

Optional syntax element

IDX

Index

Fixed or variable number or name

Optional syntax element

.

Sub-index for system data for tools

Fixed or variable number or name

Optional syntax element

Note

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.

Reading table values with TABDATA READ