Unitary

Pre-APOGEE

APOGEE

BACnet

PXC.A

 

Syntax

ALMPRI(pt1)

pt1

A point name for which the current alarm priority is taken.

Use

Accesses the alarm priority level of a point defined in an enhanced alarming control strategy. The value of ALMPRI can range from 1 through 6. Besides testing ALMPRI for a specific value, you can also assign the value of ALMPRI to another point.

Example 1

230  C

232  C THIS LINE TESTS IF THE POINT CALLED

234  C RMTEMP IS AT ALARM PRIORITY LEVEL 1.

236  C

240  IF (ALMPRI(RMTEMP).EQ.1) THEN ON (OPBELL)

Example 2

330  C

332  C THIS LINE ASSIGNS THE ALARM PRIORITY LEVEL

334  C OF RMTEMP TO THE POINT CALLED TMPPRI.

336  C

340  TMPPRI = ALMPRI(RMTEMP)

Notes

ALMPRI must reside in the same automation station as the point on which the function is being performed.

For BACnet firmware, the ALMPRI value corresponds to a priority in the Notification class for the point’s current alarm state. Table 1-4 outlines the BACnet Notification classes and shows how they relate to the APOGEE ALMPRI values.

Table 1-4.  APOGEE to BACnet Notification Class Reference.

ALMPRI Value

BACnet Notification Class

1

0-31

2

32-63

3

64-95

4

96-127

5

128-191

6

192-255