FB_BA_BuildingAutomation
The template is a function block for calling all sub-templates that perform general tasks of the building automation systems.
The initialization of the template takes place within the method FB_Init. |
Block diagram
Syntax
FUNCTION_BLOCK FB_BA_BuildingAutomation EXTENDS FB_BA_View
VAR_INPUT CONSTANT
BuildingGlobal : FB_BA_EventsAndSettings;
Weatherstation : FB_BA_WeatherStation_Draft;
AdsComServer : FB_BA_AdsComServer;
END_VAR
VAR_INPUT CONSTANT
Name | Type | Description |
---|---|---|
BuildingGlobal | The template includes weather station data, weather parameters, building modes, and building-specific safety criteria for a building automation project. | |
Weatherstation | The template is used to collect and display data from a weather station. | |
AdsComServer | The template accesses locally determined data and makes them available to a TwinCAT network. If the automation station to be programmed is not a data server within the GA network but a data client, the template FB_BA_AdsComClient must be instantiated instead of the template FB_BA_AdsComServer. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |