While the point state and the alarm condition are closely related in a point scheme, the terms are not interchangeable.
You can override the point state and alarm condition colors defined for a scheme in many CygNet Studio and Canvas screens. See Customizing Point State Colors for more information.
Point state is the highest precedented state for a point record as defined in the CvsMetadata file for each CygNet point scheme. Every point state definition available for a point scheme has the following attributes: ID, name, description, display order, token, associated state colors (single color, foreground color, background color), and an alarm condition.
The point state for a point record is based on 48 System, Configuration, and User status bits, which are associated with the four point types (Analog, Digital, String, Enumeration). A point record may contain up to 48 status bits, which are used to provide point status information about the point record in a Current Value Service (CVS) and the Alarm Event Logging Service (ELSALM). A point can be in multiple states at the same time, for example, in High Warning and High Alarm; however, the state defined to be the most severe is the one that is used for the point state (i.e., High Alarm, in this case).
The following table lists the common point state definitions for the standard point scheme. These definitions do not allow alarm condition configuration.
| Analog | Digital | Enumeration | String |
|---|---|---|---|
| Normal | Normal | Normal | Normal |
| Unreliable | Unreliable | Unreliable | Unreliable |
| Uninitialized | Uninitialized | Uninitialized | Uninitialized |
In the CygNet Enhanced Point Scheme or other customized point schemes (Point Scheme 1 - 15), the point state and other desired attributes (description, display order, associated state colors, etc.) can be configured in the CvsMetadata file as needed. See Understanding the CVS Metadata File for more information about configuring point scheme properties.
Alarm condition is the same as point state, in that it is the highest precedented state for a point record as defined in the CvsMetadata file for the current point scheme, except that in the point state definition for each point state, the alarm condition attribute must be set to "true" for the alarm condition to be considered. When alarm condition is set to true, the defined point state is considered a valid alarm condition.
For a system running the default CygNet Standard Point Scheme (Point Scheme 0), point state and alarm condition closely follow each other. For example, when a point is in a High Alarm condition, the point state and alarm condition will both be High Alarm.
For the CygNet standard point scheme, three point state definitions do not allow alarm condition configuration: the Normal, Unreliable, and Uninitialized point states. For these three point state definitions, the alarm condition attribute is always "false," meaning that these point states will never be considered an alarm condition. So when a point is in a Normal, Unreliable, or Uninitialized state, the alarm condition will be blank.
For all other point state definitions, alarm condition is the highest precedented point state when alarm condition is set to true.
The following table lists the point state definitions that allow an alarm condition for the standard point scheme:
| Analog | Digital | Enumeration | String |
|---|---|---|---|
| High Alarm | Chattering | Alarm 6 | Alarm 6 |
| High Warning | Alarm | Alarm 5 | Alarm 5 |
| Low Alarm | Warning | Alarm 4 | Alarm 4 |
| Low Warning | Alarm 3 | Alarm 3 | |
| High Out of Range | Alarm 2 | Alarm 2 | |
| Low Out of Range | Alarm 1 | Alarm 1 | |
| High Deviation | |||
| EAC Prevented* |
*If enabled for CVS calculation, the "EAC Prevented" configurable bit will be set only if Enhanced Alarm Configuration conditions have been defined for this point, and the evaluation of those conditions has prevented one or more of the other enabled configurable bits from being set that otherwise would have been set.
In the CygNet Enhanced Point Scheme or other customized point schemes (Point Scheme 1 - 15), the alarm condition and other desired attributes (description, display order, associated state colors, etc.) can be configured in the CvsMetadata file as needed. See Understanding the CVS Metadata File for more information about configuring point scheme properties.