Priority
The global variable list uses XBA_BACnetParam from the Tc3_XBA library to determine the BACnet plant 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