FB_BA_BuildingData

FB_BA_BuildingData 1:

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.

FB_BA_BuildingData 2:

The initialization of the template takes place within the method FB_Init.

Block diagram

FB_BA_BuildingData 3:

Syntax

VAR_INPUT CONSTANT
  BuildingMode        : FB_BA_BuildingMode;
  BuildingEnergLvl    : FB_BA_BuildingEnergyLevel;
  BuildingSpRmT       : FB_BA_BuildingSpRmT;
  BuildingLight       : FB_BA_BuildingLighting;
END_VAR

FB_BA_BuildingData 4: VAR_INPUT CONSTANT

Name

Type

Description

BuildingMode

FB_BA_BuildingMode

The sub-template BuildingMode defines the building operation mode using a schedule with manual intervention.

BuildingEnergLvl

FB_BA_BuildingEnergyLevel

The sub-template BuildingEnergLvl defines the building energy level using a schedule with manual intervention.

BuildingSpRmT

FB_BA_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

FB_BA_BuildingLighting

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