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

Page 306

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

298

VAR_OUTPUT

B

Done

BOOL

Set high when the commanded action has been completed
successfully. If another block takes control before the action is
completed, the Done output will not be set. This output is reset
when execute goes low.

B

Busy

BOOL

Set high upon the rising edge of the 'Execute' or 'Enable' input, and
reset if Done, CommandAborted, or Error is true.

B

Error

BOOL

Set high if error has occurred during the execution of the 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.

Notes

This function is useful if a drive is replaced in the field, as the application
program can reconfigure the drive for use without additional software.

Related Function Blocks

Y_VerifyParameters

: compares the current parameters in the drive with

the parameter file stored in the controller via the MotionWorks IEC
Hardware Configuration.

Error Description

ErrorID

Meaning

0

No Error

4391

The function block can not be used with a virtual axis.

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.

4648

The parameter number does not exist for the specified axis

4896

Drive parameter filename does not exist.

Advertising