-

Y_AX_AxisStatus

Image
This function block uses MC_ReadAxisError to provide further breakdown of the ErrorClass and AxisErrorID by providing BOOL and UINT outputs for the drive faults, and a DINT value for the controller alarm which is consistent with the 32 bit controller alarm reporting in the web server. This function was created for use inside the Y_AX_AxisControl function block in the Axis Toolbox. This function's outputs are available at the output of the Y_AX_AxisControl function block.

Parameters:

* Parameter Data Type Description Default
VAR_IN_OUT
B Axis AXIS_REF Logical axis reference. This value can be located on the Configuration tab in the Hardware Configuration (logical axis number).
VAR_INPUT
B Enable BOOL The function will continue to execute every scan while Enable is held high and there are no errors. FALSE
VAR_OUTPUT
B Valid BOOL Indicates that the function is operating normally and the outputs of the function are valid.
V DriveWarning BOOL Indicates a warning on the drive, such as any A.9x display on a ServoPack.
V DriveAlarm BOOL Indicates an alarm on the drive, such as A.71, overload. Refer to the appropriate drive manual for troubleshooting.
V ControlAlarm 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 ControlAlarmID UDINT Indicates the controller alarm ID number, such as 3302 0018. (shown in hex.) Refer to the #18338 for troubleshooting.
B Error BOOL Set high if an 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:

Because Yaskawa's Servopack and controller documentation lists alarm and error codes in hex, it is recommended to also view alarm and warning output IDs from this function block in hex.

Error Description:

See the Function Block ErrorID List.

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.