Example: BACnet Examples
Product: CODESYS BACnet2 SL
The BACnet_examples.project
example contains a collection of examples for using the CODESYS BACnet2 SL server functionality and the CODESYS BACnet2 SL client functionality. The following description lists the function blocks for which a sample implementation is available. For more information about a function block, see the comments in its declaration and implementation in the project.
Description
For the server functionality, the following function block instances are displayed as examples (see the ServerExamples
POU):
registerHooks : RegisterHooks;
notificationClass : NotificationClass;
serverPriorityArray: ServerPriorityArray;
serverReadWriteProperty : ServerReadWriteProperty;
calendar : CalendarExample;
scheduler : SchedulerExample;
For the client functionality, the following function block instances are displayed as examples (see the ClientExamples
POU)
registerHooks : RegisterHooks;
clientRegisterToServer : ClientRegisterToServer;
clientReadWriteProperty : ClientReadWriteProperty;
clientReadArrayPropertyIterate : ClientReadArrayPropertyIterate;
clientReadArrayPropertyReadMultiple : ClientReadArrayPropertyReadMultiple;
clientReadWritePropertyMultiple : ClientReadWritePropertyMultiple;
clientCreateDeleteObject : ClientCreateDeleteObject;
clientSubscribeCOVProperty : ClientSubscribeCOVProperty;
eventNotification : EventNotification;
clientUTCTimeSync : ClientUTCTimeSync;
clientReadWriteFile : ClientReadWriteFile;
System requirements and restrictions
Programming system | CODESYS Development System (version 3.5.16.0 or higher) |
Runtime system | CODESYS Control Win (version 3.5.15.0 or higher). See also the product data sheet from CODESYS BACnet2 SL for information about the devices which support the functionality. |
Add-on components | The |
Note
After the installation of CODESYS BACnet2 SL, the project is located in the CODESYS installation directory, in the
CODESYS BACnet2 SL/Examples
subdirectory.