FB_BA_BuildingAutomationServer

FB_BA_BuildingAutomationServer 1:

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.

FB_BA_BuildingAutomationServer 2:

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

Block diagram

FB_BA_BuildingAutomationServer 3:

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

FB_BA_BuildingAutomationServer 4: VAR_INPUT CONSTANT

Name

Type

Description

AdsComServerBasic

FB_BA_AdsComServer_Basic

The sub-template has the task of transmitting data and parameters within the BA network.

Weatherstation01

FB_BA_WeatherStation_Thies

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

FB_BA_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.