Alarm Class Status Detection
Full Name
Lib.Mervis.v1_0.AlarmsClassStatus
Description
.
Required Project References
- Lib.Mervis
Usage in ST
program test var alr: lib.mervis.v1_0.AlarmsClassStatus; end_var alr(); end_program
Description of Inputs and Outputs
Inputs | Name | Data Type | Retain | Required Connection | Meaning | |||||||||||||||
Status | AlarmsStatus | No | Yes | Extending input for additional alarms | ||||||||||||||||
ClassMask | uint | No | No | Binary mask of classes to be evaluated. | Weight | Class | 1 | 0 | 2 | 1 | 4 | 2 | 8 | 3 |
Outputs | Name | Data Type | Meaning |
State | bool | Indicates the existence of an alarm in any of the allowed classes |
Detailed Function Description
This block is suitable for detecting whether an alarm of a given class is active on subordinate (= connected to Status) alarm blocks.