Unitary | Pre-APOGEE | APOGEE | BACnet | PXC.A |
---|---|---|---|---|
● | ● | ● | ● | ● |
Syntax
TOTAL(pt1)
pt1 | A point name for which the current alarm priority is taken. |
Use
Allows you to access the totalized value of a point.
Example 1
800 C
801 C THIS LINE COMPARES THE TOTALIZED VALUE OF FAN1
802 C TO DETERMINE IF IT IS GREATER THAN 500.
803 C IF THE CONDITION IS TRUE, FAN1 WILL BE PLACED
804 C INTO ALARM.
805 C
810 IF(TOTAL(FAN1).GT.500.0)THEN ALARM(FAN1)
Example 2
800 C
801 C THIS LINE ASSIGNS THE TOTALIZED VALUE
802 C OF FAN1 TO THE POINT CALLED FANRUN.
803 C
810 FANRUN = TOTAL(FAN1)
Notes
TOTAL must reside in the same automation station as the point on which the function is being performed.
See also the INITTO topic.