Priority
The global variable list uses XBA_BACnetParam from the Tc3_XBA library to determine the BACnet plant priorities.
The chapter Commanding contains further information on the subject of priorities.
Syntax
VAR_GLOBAL
nProgram : UDINT := TO_UDINT(LIMIT(1,XBA_BACnetParam.aPriority[2],16));
nManualRemote : UDINT := TO_UDINT(LIMIT(1,XBA_BACnetParam.aPriority[3],16));
nManualLocal : UDINT := TO_UDINT(LIMIT(1,XBA_BACnetParam.aPriority[4],16));
nCritical : UDINT := TO_UDINT(LIMIT(1,XBA_BACnetParam.aPriority[5],16));
nLifeSafety : UDINT := TO_UDINT(LIMIT(1,XBA_BACnetParam.aPriority[6],16));
END_VAR
Name | Type | Description |
---|---|---|
nProgram | UDINT | Priority "Program", program control. |
nManualRemote | UDINT | Priority "Manual Remote", remote manual override (MBE). |
nManualLocal | UDINT | Priority "Manual Local", local manual override (LVB). |
nCritical | UDINT | Priority "Critical", plant safety. |
nLifeSafety | UDINT | Priority "Life Safety", personal safety. |