Data type: axis_ref, Data type declaration, Variable declaration example – Yaskawa MotionWorks IEC User Manual

Page 38

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

30

Data Type: AXIS_REF

The AXIS_REF data type identifies an axis and thus provides the interface
to the hardware or virtual axes. AXIS_REF is used as VAR_IN_OUT in all
Motion Control Function Blocks described in this Online help. It is
represented as an input and an output connected by a horizontal line in
the graphical representation of a function block.

The value of AxisNum is determined by the logical axis number assigned in
the Hardware Configuration. See the Configuration tab under each axis.

Data Type Declaration

TYPE

AXIS_REF:STRUCT

AxisNum:UINT;

END_STRUCT;

END_TYPE

Variable Declaration Example

Advertising