Lib.Mervis.v1_0.bool4_to_alrtrig
Auxiliary block used for generating alarms for up to four boolean variables.
program test var inp: lib.mervis.v1_0.bool4_to_alrtrig; end_var inp(); end_program
Inputs | Name | Data Type | Retain | Required Connection | Meaning |
Input1 Input2 Input3 Input4 | bool | No | Yes | Input value | |
Priority1 Priority2 Priority3 Priority4 | AlarmPriorityType | No | No | Alarm priority | |
Delay1 Delay2 Delay3 Delay4 | time | No | No | Alarm delay (if zero, no delay is applied) |
Outputs | Name | Data Type | Meaning |
Alarm1 Alarm2 Alarm3 Alarm4 | AlarmTrigger | Output |
The block generates an alarm if any Input… is active for at least the duration of Delay… with the priority defined by Priority….