FB_BA_BuildingData

This template at system level is used to call up sub-templates that provide building-wide data and operation modes.
Typically, this template is called up in the building calculator.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
VAR_INPUT CONSTANT
BuildingMode : FB_BA_BuildingMode;
BuildingEnergLvl : FB_BA_BuildingEnergyLevel;
BuildingSpRmT : FB_BA_BuildingSpRmT;
BuildingLight : FB_BA_BuildingLighting;
END_VAR
VAR_INPUT CONSTANT
Name | Type | Description |
---|---|---|
BuildingMode | The sub-template BuildingMode defines the building operation mode using a schedule with manual intervention. | |
BuildingEnergLvl | The sub-template BuildingEnergLvl defines the building energy level using a schedule with manual intervention. | |
BuildingSpRmT | The sub-template BuildingSpRmT is used to enter the heating/cooling room temperature setpoints for the various building energy levels. In addition, a summer and a winter compensation value for the room temperature is determined based on the outside temperature. | |
BuildingLight | The sub-template BuildingLight compiles cross-building control telegrams for the light functions. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |