Y_AX_ManageControllerAlarm
This function block monitors the controller for non user generated controller alarms and gives the user the ability to clear them.
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_INPUT | ||||
| B | Enable | BOOL | The function will continue to execute every scan while Enable is held high and there are no errors. | FALSE |
| V | Clear | BOOL | Clears all controller alarms. | FALSE |
| VAR_OUTPUT | ||||
| B | Valid | BOOL | Indicates that the function is operating normally and the outputs of the function are valid. | |
| B | Alarm | BOOL | Set high when a non-user generated alarm is present on the controller. | |
| B | AlarmID | UDINT | The AlarmID present on the controller. | |
| B | AlarmShortDesc | STRING | The short description of the alarm present on the controller. | |
| 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:
- Refer to the Controller Alarm ID List
Error Description
See the Function Block ErrorID List.