Axis Data Type AXIS_REF

The AXIS_REF is a structure that contains information on the corresponding axis. It is used as a VAR_IN_OUT in all Motion Control Function Blocks defined in this document. The content of this structure is implementation dependent and can ultimately be empty. If there are elements in this structure, the supplier shall support the access to them, but this is outside of the scope of this document. The refresh rate of this structure is also implementation dependent. According to IEC 61131-3 it is allowed to switch the AXIS_REF for an active Function Block, for instance from Axis1 to Axis2. However, the behavior of this can vary across different platforms, and is not encouraged to do.

AXIS_REF data type declaration:

TYPE AXIS_REF : STRUCT \

(Content is implementation dependent)

END_STRUCT

Example:

TYPE AXIS_REF : STRUCT \ \

AxisNo: UINT; AxisName: STRING (255);

…….

END_STRUCT