Bit(s) Set From List Alarm Calculations
The Bits Set From List alarm calculation types uses one of the three calculation types listed below to monitor a list of user provided status bits by name in the reference bits for the calculation type. These alarm calculation types can only be implemented with the CygNet Enhanced Point Scheme. See Understanding the CVS Metadata File for more information about the elements and attributes that define a CygNet Point Scheme.
- All Bits Set From List (ALL_BITS) — If all of the provided status bits are set in the Base Status or Extended Status bits, the alarm bit is set, otherwise it is cleared.
- Any Bit Set From List (ANY_BIT) — If any of the provided status bits are set in the Base Status or Extended Status bits, the alarm bit is set, otherwise it is cleared.
- Not All Bits Set From List (NOT_ALL_BITS) — If not all of the provided status bits are set in the Base Status or Extended Status bits, the alarm bit is set, otherwise it is cleared.
For more information, see Alarm Calculation Types.
Bits Set From List
There are no calculation parameters for these calculation types. Instead, the user lists the status bits to be used for the calculation in the Reference element of the StatusBitDefinition element in the CvsMetadata file.
The number of entries stored for this calculation is specified by the histvaluecount attribute in the CvsMetadata file for a CygNet Enhanced Point Scheme.
The following image shows the area of an Analog Alarm Settings page of a PNT Editor with an enabled Calculation Error Alarm using the Any Bit Set From List calculation type:
|
Alarm Calculation Configuration — Any Bit Set From List |
The following excerpt from a sample CvsMetadata file for an Enhanced Point Scheme shows a previously "Unused" configurable status bit now assigned to the "Calculation Error Alarm" as CONFIG12 and "ANY_BIT" as the calctype.
<StatusBitDefinition bitid="CONFIG12" desc="Calculation Error Alarm" displayorder="611" calcorder="14" calctype="ANY_BIT">
<Reference id="USER2"/>
<Reference id="USER3"/>
</StatusBitDefinition>
Example
In this example, the Calculation Error Alarm bit (CONFIG12) is set when any of the status bits listed in the Reference element ("USER2" and "USER3") have been set. If instead, calculation type All Bits Set From List (ALL_BITS) had been used, both "USER2" and "USER3" Status Bits would have to be set for the Calculation Error Alarm bit to be set. And if calculation type Not All Bits Set From List (NOT_ALL_BITS) had been used, not all of the bits would have to be set for the Calculation Error Alarm bit to be set.
The following image shows the Status Bit Details pane below from the CvsMetadata sample above. The Calculation Error Alarm (CONFIG12) bit is set because USER2 bit (one of the status bits listed in the Reference element) is set, which fulfills the requirement for the calctype Any Bit Set From List (ANY_BIT).
|
Status Bit Details — Any Bit Set From List |


