Notes, Error description – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 435

Advertising
background image

PLCopen Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

422

VAR_OUTPUT

B

Valid

BOOL

Indicates that the outputs of the function are valid.

V

DriveWarning

BOOL

Indicates a warning on the drive, such as any A.9x display
on the drive.

V

DriveAlarm

BOOL

Indicates an alarm on the drive, such as A.71, overload.
Refer to the appropriate drive manual for troubleshooting.

V

ControllerAlarm

BOOL

Indicates a controller side axis alarm.

V

DriveWarningID

UINT

Indicates the drive warning number, such as 95 (overload
warning). Refer to the drive manual for troubleshooting.

V

DriveAlarmID

UINT

Indicates the drive alarm number, such as C9 (encoder
disconnected). Refer to the drive manual for troubleshooting.

V

ControllerAlarmID

UDINT

Indicates the controller alarm ID number, such as 3302
0018. (shown in hex.) Refer to the Controller AlarmID list in
the PLCopenPlus manual for troubleshooting.

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

We recommend viewing the alarm and warning output ID’s in Hex, because all Yaskawa ServoPack
documentation lists the amplifier alarm codes in Hex. This simplifies alarm identification. Use the Debug Dialog
menu in MotionWorks IEC to change the debug value display type. The controller alarm list in the webserver
and in the PLCopenPlus help manual show the controller alarms in hex also.

Error Description

ErrorID

Meaning

0

No error

4378

The function block is not applicable for the external axis specified

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 DataType connected to a function block parameter specified as ANY type does not
match the required data size. Right click on the function block and select “Object
Properties” to determine which parameters are ANY type.

Advertising