Table of Contents

Alarm Class Status Detection

Full Name

Lib.Mervis.v1_0.AlarmsClassStatus

Description

.

Required Project References

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 RetainRequired Connection Meaning
Status AlarmsStatusNo Yes Extending input for additional alarms
ClassMaskuint No No Binary mask of classes to be evaluated.

WeightClass
1 0
2 1
4 2
8 3
OutputsName 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.