This library facilitates the handling of alarms and warnings and supports you in generating them. It also generates the data records that must be sent to the server in order to subsequently inform users about the problem (e.g. via SMS)
It offers the following features:
Alert library OK Results
Alert library Errors Codes
Checks for the transferred measurement value whether an alarm or warning has to be triggered or reset (fHysteresis interpreted as absolute value).
Clears all active set alarms and warnings (including technical fault warning and technical fault alarm) for a measurement value of a Histdata channel.
Sets a technical fault alarm for a measurement value of a Histdata channel.
Clears a technical fault alarm for a measurement value of a Histdata channel.
Sets a technical fault warning for a measurement value of a Histdata channel.
Clears a technical fault warning for a measurement value of a Histdata channel.
Checks for the transferred measurement value whether an alarm or warning has to be triggered or reset (fHysteresis interpreted as percent value).
Bits indicating changes between the previous state of alert and the current state of alert.
Determines the changes between the previous state of alert and the current state of alert.
Returns which alerts (Alarm, Warning, Technical fault alarm and/or Technical fault warning) are currently active.