FB_AlarmHandler
The class implements a handling of pending alarms to influence the process sequence. This means, for example, that an alarm with the severity "Error" can be responded to by stopping the machine directly.
Syntax:
FUNCTION_BLOCK FB_AlarmHandler EXTENDS FB_ListenerBase2
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
AlarmCritical | BOOL | Get | FALSE | A critical alarm is present. |
AlarmError | BOOL | Get | FALSE | There is an error alarm. |
AlarmWarning | BOOL | Get | FALSE | There is a warning alarm. |
AlarmInfo | BOOL | Get | FALSE | There is an information alarm pending. |
Error | BOOL | Get | FALSE | The handler is in an error state. |
Methods
Name | Description |
---|---|
ClearAlarms() | Confirms and clears all pending alarms. |
Interfaces
Type | Description |
---|---|
I_AlarmHandler | Standard interface on FB_AlarmHandler |
I_OneTaskInterface | Runtime interface for a PLC task |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.42 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.6.0) |