FB_BA_BuildingAutomationServer

Call template trade "Building automation" - server version.
This template at the "trade" level calls up all sub-templates whose data is ideally processed in a building calculator.
In addition, an ADS server template FB_BA_AdsComServer_Basic makes basic data available throughout the building.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_BuildingAutomationServer EXTENDS FB_BA_View
VAR_INPUT CONSTANT
AdsComServerBasic : FB_BA_AdsComServer_Basic;
Weatherstation01 : FB_BA_WeatherStation_Thies;
WeatherData : FB_BA_WeatherData;
END_VAR
VAR_INPUT CONSTANT
Name | Type | Description |
---|---|---|
AdsComServerBasic | The sub-template has the task of transmitting data and parameters within the BA network. | |
Weatherstation01 | The sub-template is used for data exchange with a weather station type WSC11 from Thies. The suffix "01" at the instance name is intended to indicate that it is quite possible that a building may have multiple weather stations, which should be entered here. | |
WeatherData | The sub-template is used to prepare and distribute global data that is required throughout the system or building for the control and regulation of the system automation. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.56 | TF8040 | TwinCAT Building Automation from V5.8.0.0 |