Error description – Yaskawa MotionWorks IEC User Manual
Page 156

PLCopenPlus Function Blocks for Motion Control 2013-04-13
148
MC_SetPosition while the axis is in motion. Make sure the axis is disabled
or in standstill state before executing MC_SetPosition.
• An error will be generated if executed on an external encoder axis that
has the High Speed Output (Coincidence output function) enabled.
Error Description
Meaning
0
No Error
The function block is not applicable for the external axis
specified
MC_SetPosition can not be executed while the axis is moving.
When the axis is in rotary mode, and the MC_SetPosition tries
to set a position that is equal to or greater than the
MachineCycle, this error is generated, and the position is not
set.
Position cannot be defined while the axis is the cam master of
other axes.
Axis ID does not correspond to an axis configured on the
system. Verify the value of AxisNum matches a logical axis
number in the configuration. Tip: Make sure AXIS_REF is
properly declared as a VAR or VAR_GLOBAL in all relevant
POUs.
Mode does not correspond to a valid enumeration value.
The structure size does not match.