beautypg.com

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

Page 130

background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

122

'Execute' or 'Enable' goes low.

B

Position

LREAL

A positive or negative value within the coordinate system in user units.

Notes

The actual position is also available using

MC_ReadParameter

1000. For

additional parameters related to the axis position, check the

Axis

Parameter List

.

Related Function Blocks

MC_ReadParameter

: Returns the value of an axis-specific controller side

parameter. Controller parameter 1005 gives the value of the cyclic position
for rotary axes. Controller parameter 1006 gives the non cyclic position for
rotary axes.

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

PLCopenToolbox

.

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.