Examples¶
The CODESYS Building Automation library comes with extensive examples.
First see the sample project Building Automation Examples.project. It contains a ready-to-use application and visualization for all function blocks provided by the CODESYS Building Automation library to learn, simulate, and test.
Building Automation Examples.project also includes tutorial-style examples which demonstrate how to use the CODESYS Building Automation library in HVAC (see ExampleAirConditioning1 and ExampleAirConditioning2).
There are more examples demonstrating other aspects of building automation:
room automation example (see ExampleRoomAutomation)
heating circuit example (see ExampleHeating)
hot water boiler control example (see ExampleHotWater)
Building Automation Examples.project also provides examples of aggregate variants using the function blocks |ExampleVariantsRoomControlFCUSimple| or ExampleFancoil3StageAggregate, which does have some variant aspects. Please see also the “aggregate variants” part of the documentation for this specific topic.
Building Automation Examples Persistence.project demonstrates how to use the CODESYS Application Composer module Persistencemanager to provide persistence for certain aspects.
Building Automation Examples BACnet.project demonstrates how to use the CODESYS BACnet in an application context, especially how to integrate BACnet server objects in your application.