Y_GetAlarmHistory
The
Y_GetAlarmHistory
function block is used to obtain a list of all FMK related controller alarms, warnings and reboot events in the controller SRAM memory.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| V | History | Yt_Alarm_History | Structure that stores alarms, warnings and reboot events | |
| VAR_INPUT | ||||
| V | Execute | BOOL | Upon the rising edge of the Execute input, all other inputs are read and the function block becomes operational. If an input needs to be modified, the value will have to be changed and the Execute input will have to be re-triggered. | FALSE |
| V | IncludeReboots | BOOL | Choice that decides if Reboot events need to be added to the history: Not Supported on iC922x controller | FALSE |
| V | ExcludeAxisAlarms | BOOL |
Choice that decides if axis alarms need to be excluded from the history |
FALSE |
| V | ExcludeControllerAlarms | BOOL |
Choice that decides if controller alarms need to be excluded from the history |
FALSE |
| V | ExcludeWarnings | BOOL |
Choice that decides if warnings need to be excluded from the history |
FALSE |
| VAR_OUTPUT | ||||
| V | Done | BOOL | The Done output is set to TRUE when the commanded action has completed successfully. If another function block takes control before the action is completed, the Done output will never become TRUE. This output is reset when Execute becomes FALSE. | |
| V | 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. |
|
| V | 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. |
|
| V | ErrorID | BOOL |
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. |
|
Notes
- This function block displays all the FMK related controller alarms and warnings
- Input 'IncludeReboots' is not supported.
- List of different Alarm Types and corresponding Int value
1: System failue
2: Servonet failure
3: Alarm
4: Warning
Error Description
Refer to Function Block ErrorID List .