-

Y_AX_AxisControl

Image

This function block combines MC_Power , MC_ReadAxisError , and MC_Reset and provides separate outputs for controller and drive alarms and warnings.

Parameters:

The function block will continue to execute every scan while Enable is held high and there are no errors.

*ParameterData TypeDescriptionDefault
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
E EnablePositive BOOL Not Supported FALSE
E EnableNegative BOOL Not Supported FALSE
V AlarmClear BOOL Clears axis related alarms using MC_Reset FALSE
VAR_OUTPUT
B Status BOOL TRUE if the drive is enabled. This output is derived from the Status output of MC_Power.
V AxisAlarm BOOL Indicates if there is an axis specific alarm on either the controller or drive.
V DriveWarning BOOL Indicates a warning on the drive, such as any A.9x display on a ServoPack.
B Error #44684 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 #44684 If Error is true, this output provides the Error ID. This output is reset when 'Execute' or 'Enable' goes low.
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 Controller AlarmID list in the PLCopenPlus manual for troubleshooting.
V
AlarmShortDesc
BOOL A short description of the current alarm related to the axis.

Notes:

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.