beautypg.com

Notes, Related function blocks, Error description – Yaskawa MotionWorks IEC User Manual

Page 135

background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

127

function block. This output is cleared when 'Execute' or
'Enable' goes low.

E

ErrorID

UINT

If error is true, this output provides the Error ID. This
output is reset when 'Execute' or 'Enable' goes low.

B

ActualVelocity

LREAL

The value of the actual velocity

Notes

The output 'ActualVelocity' is a signed value. The actual velocity is also
available using

MC_ReadParameter

1001. For additional parameters

related to the axis velocity, check the

Axis Parameter List

.

Related Function Blocks

ReadAxisParameters: Reads axis parameters including feedback velocity
and stores it under an AxisParameterStruct type variable. Available in

PLCopenToolbox

.

MC_ReadParameter

: returns the value of an axis-specific controller side

parameter. Controller parameter 1001 gives the feedback velocity of the
axis.

Error Description

ErrorID

Meaning

0

No Error

4625

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.

57620

The structure size does not match.