FB_BA_EventsAndSettings

FB_BA_EventsAndSettings 1:

The template represents the plant level.

It is used for the preparation and distribution of global data, which is required system- or building-wide for the control and regulation of the system and room automation.

The function block FB_BA_BuildingAlarms is used to record global events that are required in a building or property at all automation stations of the system.

The function block FB_BA_WeatherParameter is used for the global provision of weather-specific parameters and setpoints.

The function block FB_BA_BuildingMode is used for the global provision of building operating modes.

The global building data is stored in the GVL site.

FB_BA_EventsAndSettings 2:

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

Block diagram

FB_BA_EventsAndSettings 3:

Illustration

FUNCTION_BLOCK FB_BA_BuildingGlobal EXTENDS FB_BA_View
VAR_INPUT
  fTWth        : REAL;
END_VAR
VAR_INPUT CONSTANT
  BuildAlm     : FB_BA_BuildingAlarms;
  BuildMode    : FB_BA_BuildingMode;
  WthParam     : FB_BA_WeatherParameter;
END_VAR

FB_BA_EventsAndSettings 4: Inputs

Name

Type

Description

fTWth

REAL

Current value of the outside temperature.

FB_BA_EventsAndSettings 5: Inputs CONSTANT

Name

Type

Description

BuildAlm

FB_BA_BuildingAlarms

Template for the building alarms.

BuildMode

FB_BA_BuildingMode

Template for the building operation modes.

WthParam

FB_BA_WeatherParameter

Template for the evaluation of the outside temperature.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0