Unitary | Pre-APOGEE | APOGEE | BACnet | PXC.A |
---|---|---|---|---|
● | ● | ● | ● | ● |
Syntax
ALMCNT
Use
The value of ALMCNT represents the number of points within an automation station or unitary controller that are currently in the ALARM state.
When a point enters the ALARM state, the computer adds one (1) to the value of ALMCNT. When a point returns to the NORMAL state, the computer subtracts one (1) from the value of ALMCNT.
Example
340 IF (ALMCNT.GT.0) THEN ON(ALARM7)
Notes
- A point must be defined as alarmable in order to be counted when that point enters the ALARM state.
- In all revisions of automation station firmware, the ALMCNT counter works the same with enhanced alarms as it does with regular alarms.
- The level of alarm does not affect ALMCNT. In other words, the counter does not increment again when an enhanced alarm point changes from one alarm level to another.
- If a point is disabled (*PDSB*) or operator disabled (*ODSB*), ALMCNT will still increment and decrement accordingly.
See also the ENALM and DISALM topics.