ST_BACnet_NSinkEvent

PLC mapping of the data of an event entry of the BACnet Notification Sink.

TYPE ST_BACnet_NSinkEvent :
STRUCT
  nProcessID   : UDINT;
  nDeviceID    : UDINT;
  tObjectID    : T_BACnet_ObjectIdentifier;
  stDateTime   : ST_BACnet_DateTime;
  nNC          : UDINT;
  nPriotity    : UDINT;
  eEventType   : E_BACNETEVENTTYPE;
  eNotifyType  : E_BACNETNOTIFYTYPE;
  eFromState   : E_BACNETEVENTSTATE;
  eToState     : E_BACNETEVENTSTATE;
  sMessage     : T_MaxString;
  bAcknReq     : BOOL;
END_STRUCT
END_TYPE

nProcessID: Identification number of the recipient process of the event.

nDeviceID: BACnet ID of the BACnet server that has sent the event.

tObjectID: Oject ID of the object that generated the event.

stDateTime: Time of the event.

nNC: BACnet instance of the corresponding BACnet Notification Class object.

nPriotity: Event priority.

eEventType: Event type.

eNotifyType: Message type.

eFromState: Object state prior to the event.

eToState: Oject state after the event.

sMessage: Message text (Windows-1252 coded).

bAcknReq: TRUE → message must be acknowledged.