AXIS_REF
PROGRAM MAIN
VAR
axis: AXIS_REF;
END_VAR
axis.ReadStatus();
MC axis variable
The PLC axis variable MAIN.axis
has the data type AXIS_REF
.
The data type AXIS_REF:
- contains information about an axis,
- is an interface between the PLC and the NC and
- is given to the MC function blocks as a reference to an axis.
Refreshing the status data structure in The status data structure Calling the The status information does not change within a PLC cycle. After calling |