XBA_BACnetParam
The list contains globally valid parameters with which basic settings relating to BACnet can be made in TF8040:
VAR_GLOBAL CONSTANT
{region 'Objects'}
{region 'Local'}
{region 'Event Config'}
sEventMessageTextFormat : STRING := '{Descr} - {EvtTrans}';
{endregion}
{endregion}
{region 'Remote'}
{region 'Analog Output'}
fRM_AO_WriteIncrement : REAL := 0.0;
{endregion}
{region 'Structured View'}
eView_SubordinateAnnotationMode : E_BACnet_AnnotationTitle := E_BACnet_AnnotationTitle.eSymbolName;
{endregion}
{endregion}
{endregion}
{region 'Priorities'}
aPriority : ARRAY[E_BA_Priority.First .. E_BA_Priority.Last] OF E_BACnet_Priority := [
(* eProgram *) E_BACnet_Priority.eP15,
(* eManualRemote *) E_BACnet_Priority.eP8,
(* eManualLocal *) E_BACnet_Priority.eP7,
(* eCritical *) E_BACnet_Priority.eP3,
(* eLifeSafety *) E_BACnet_Priority.eP1
];
{endregion}
{region 'Translation'}
aNodeType : ARRAY[E_BA_NodeType.First .. E_BA_NodeType.Last] OF E_BACnet_NodeType := [
(* eUnknown *) E_BACnet_NodeType.eUnknown,
(* eOther *) E_BACnet_NodeType.eOther,
(* eGeneral *) E_BACnet_NodeType.eOrganizational,
(* eLocation *) E_BACnet_NodeType.eOrganizational,
(* eBuilding *) E_BACnet_NodeType.eOrganizational,
(* eBuildingElement *) E_BACnet_NodeType.eOrganizational,
(* eInformationFocus *) E_BACnet_NodeType.eOrganizational,
(* eControlCabinet *) E_BACnet_NodeType.eOrganizational,
(* eTrade *) E_BACnet_NodeType.eOrganizational,
(* eFloor *) E_BACnet_NodeType.eOrganizational,
(* eRoom *) E_BACnet_NodeType.eOrganizational,
(* ePlant *) E_BACnet_NodeType.eOrganizational,
(* eAggregate *) E_BACnet_NodeType.eEquipment,
(* eFunction *) E_BACnet_NodeType.eFunctional
];
aNotifyType : ARRAY[E_BA_EventType.First .. E_BA_EventType.Last] OF E_BACnet_NotifyType := [
(* eAlarm *) E_BACnet_NotifyType.eAlarm,
(* eDisturb *) E_BACnet_NotifyType.eAlarm,
(* eMaintenance *) E_BACnet_NotifyType.eNotifyEvent,
(* eNotification *) E_BACnet_NotifyType.eNotifyEvent,
(* eOther *) E_BACnet_NotifyType.eNotifyEvent
];
aEventState : ARRAY[E_BA_EventState.First .. E_BA_EventState.Last] OF E_BACnet_EventState := [
(* eNormal *) E_BACnet_EventState.eNormal,
(* eFault *) E_BACnet_EventState.eFault,
(* eOffnormal *) E_BACnet_EventState.eOffnormal,
(* eLowLimit *) E_BACnet_EventState.eLowLimit,
(* eHighLimit *) E_BACnet_EventState.eHighLimit
];
{endregion}
END_VARName | Type | Description |
|---|---|---|
sEventMessageTextFormat | STRING | A message text for the TwinCAT HMI BA as well as for a BACnet client is made up of different strings. The sEventMessageTextFormat string can be used to determine the format or composition of the EventMessageText. Placeholder: {ObjName} = Objectname {Descr} = Description {InstID} = InstanceID {EvtTrans} = EventTaransition In the following sample, the Objectdescription is placed in front of the EventTransitionText. The hyphen is used to place a separator between the two placeholders. sEventMessageTextFormat :='{Descr} - {EvtTrans}; |
fRM_AO_WriteIncrement | REAL | Threshold value that must be exceeded to output a value change at the analog output. |
eView_SubordinateAnnotationMode | E_BACnet_AnnotationTitle | Property which is used to display a Child object in the SubordinateList of the corresponding parent view object. |
aPriority | ARRAY[E_BA_Priority.First .. E_BA_Priority.Last] OF E_BACnet_Priority | Defines the assignment of BACnet priorities from the Tc3_BACnetRev14 library in the priority array. |
aNodeType | ARRAY[E_BA_NodeType.First .. E_BA_NodeType.Last] OF E_BACnet_NodeType | Conversion table for the NodeType property between the Tc2_XBA library and the Tc3_BACnetRev14 library. |
aNotifyType | ARRAY[E_BA_EventType.First .. E_BA_EventType.Last] OF E_BACnet_NotifyType | Conversion table for the NotifyType property between the Tc3_XBA library and the Tc3_BACnetRev14. |
aEventState | ARRAY[E_BA_EventState.First .. E_BA_EventState.Last] OF E_BACnet_EventState | Conversion table for the EventState property between the Tc3_XBA library and the Tc3_BACnetRev14. |