FB_BACnet_EventEnrollment_EX

FB_BACnet_EventEnrollment_EX 1:

Application

The function block FB_BACnet_EventEnrollment can be used for reading access to a BACnet object of type EventEnrollment (EE).

VAR_OUPUT

bReady                    : BOOL;
eEventState               : E_BACNETEVENTSTATE;
bEventEnable_ToOffNormal  : BOOL;  (*siehe Anmerkung*)
bEventEnable_ToFault      : BOOL;  (*siehe Anmerkung *)
bEventEnable_ToNormal     : BOOL;  (*siehe Anmerkung *)
bAckedTrans_ToOffNormal   : BOOL;
bAckedTrans_ToFault       : BOOL;
bAckedTrans_ToNormal      : BOOL;
tObjectID                 : T_BACnet_ObjectIdentifier:=16#FFFFFFFF;
bError                    : BOOL;
nErrorId                  : UINT;

bReady: notification of general readiness. If this output is set, the other status outputs are valid (PresentValue, Overridden ...). If the output is FALSE, the corresponding function block FB_BACnet_Device does not report "Operational", or the function block instance was not linked correctly in the TwinCAT System Manager.

eEventState: see BACnet specification DIN EN ISO 16484-5 for BACnet object BinaryValue and property Event_State.

bEventEnable_ToOffNormal, bEventEnable_ToFault, bEventEnable_ToNormal: Flags of the property Event_Enable (see also BACnet specification DIN EN ISO 16484-5 for the BACnet object BinaryValue and property Event_Enable).

bAckedTrans_ToOffNormal, bAckedTrans_ToFault, bAckedTrans_ToNormal: Flags of the property Acked_Transitions (see also BACnet specification DIN EN ISO 16484-5 for the BACnet object BinaryValue and property Acked_Transitions).

tObjectID: object ID of the BACnet object (object type and object instance).

bError: an error is pending.

nErrorId: see global constants (BACnet_Globals).

VAR_IN_OUT

Device            : FB_BACnet_Device;

Device: Specification of the instance of the local corresponding BACnet server block. For each BACnet adapter one BACnet server is possible. See FB_BACnet_Adapter and FB_BACnet_Device for further information.