-

Y_ReadAlarm

Image
The Y_ReadAlarm function block reports controller-specific alarms that are not axis related.Y_ClearAlarms clears alarms reported by this block.

Parameters

* Parameter Data Type Description Default
VAR_INPUT
B Enable BOOL The function block will continue to execute every scan while Enable is TRUE and there are no errors. FALSE
VAR_OUTPUT
B Valid BOOL The Valid output indicates that the function block is operating normally and the outputs of the function block are valid.
B Busy BOOL For function blocks with Execute input, the Busy output is set to TRUE upon the rising edge of the Execute, and set to FALSE when Done, CommandAborted or Error outputs becomes TRUE. In the case of a function block with an Enable input, Busy indicates that the function block is operating, but may not be ready to provide valid outputs.
B Error BOOL The Error output is set to TRUE if an error has occurred during the operation of the function block. The output is cleared when the Execute or Enable input becomes FALSE.
E ErrorID UINT The ErrorID output provides the identifier of the error when there is an active error in the function block execution. The output is cleared when the Execute or Enable input becomes FALSE.
B AlarmID UDINT This output provides the Controller Alarm ID. This output is reset when Enable becomes FALSE.

Notes

Refer to the Controller Alarm ID List

Error Description

See the Function Block ErrorID List

Example

Y_ReadAlarm reading a User-posted alarm from the web UI.

The function block returns AlarmID in decimal form (UINT#873316079). This translates to 340DBEEF in Hexadecimal form, which is the error code displayed on the web UI of the controller.

 


This help information is valid for iCube Engineer Online Help 2025.6

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