Table of Contents

Alarm Trigger for Boolean Variables (8 Inputs)

Full Name

Lib.Mervis.v1_0.bool8_to_alrtrig

Required Project References

Description

Auxiliary block used for generating alarms for up to eight boolean variables.

Usage in ST

program test
    var
        inp: lib.mervis.v1_0.bool8_to_alrtrig;
    end_var

    inp();
end_program

Inputs

Inputs Name Data Type RetainRequired Connection Meaning
Input1
Input2
Input3
Input4
Input5
Input6
Input7
Input8
bool No Yes Input value
Priority1
Priority2
Priority3
Priority4
Priority5
Priority6
Priority7
Priority8
AlarmPriorityTypeNo No Alarm priority
Delay1
Delay2
Delay3
Delay4
Delay5
Delay6
Delay7
Delay8
time No No Alarm delay (if zero, no delay is applied)

Outputs

Outputs Name Data Type Meaning
Alarm1
Alarm2
Alarm3
Alarm4
Alarm5
Alarm6
Alarm7
Alarm8
AlarmTriggerOutput

Detailed Function Description

The block generates an alarm if any Input… is active for at least the duration of Delay… with the priority defined by Priority….