FB_BACnet_NotificationClass

The following function block is used for linking a BACnet object of the local BACnet server. The function block for the corresponding BACnet object is linked with the aid of process data.

The process data can be created manually in the BACnet object, linked manually, or they can be generated automatically via PLC automapping. The comments required for PLC automapping ( (* ~ (BACnet... | ??? | ??? ) *) ) are already included in the declaration of the function block.

FB_BACnet_NotificationClass 1:

Use

The function block "FB_BACnet_NotificationClass" serves as placeholder for future functions.

VAR_OUTPUT

bReady       : BOOL;
bError       : BOOL;
nErrorId     : UINT;

bReady: Notification of general readiness. If the output is FALSE, the associated function block "FB_BACnet_Device" reports "not operational".

bError: An error is pending.

nErrorId: Error number
0 = no error
3 = the corresponding BACnet server is not ready (bOperational = FALSE at instance of the FB_BACnet_Device)
The error numbers can be queried as block constants via the FB instance (FB_BACnet_???.nERR_xxx).

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.