FB_BA_AdsComServer_Basic

FB_BA_AdsComServer_Basic 1:

The purpose of the template is to read data and parameters assigned to the "General Building Automation" trade from the global variable list Site and make them available within the BA network via FB_BA_RawPublisher.

The counter-block that receives this data as a client is FB_BA_AdsComClient_Basic.

Block diagram

FB_BA_AdsComServer_Basic 2:

Syntax

FUNCTION_BLOCK FB_BA_AdsComServer
VAR_INPUT CONSTANT
  WeatherStation     : FB_BA_RawPublisher;
  GeneralSettings    : FB_BA_RawPublisher;
  BuildingAlarms     : FB_BA_RawPublisher;
END_VAR

FB_BA_AdsComServer_Basic 3: VAR_INPUT CONSTANT

Name

Type

Description

WeatherStation

FB_BA_RawPublisher

The publisher WeatherStation publishes the structure of the weather station data Site.stWeatherStation.

GeneralSettings

FB_BA_RawPublisher

The publisher GeneralSettings publishes the structure of the weather parameters Site.stSettings, which are created in the template FB_BA_WeatherData.

BuildingAlarms

FB_BA_RawPublisher

The publisher BuildingAlarms publishes the structure of the building-wide alarms Site.stBuildingAlarms, which are created in the templates FB_BA_BurglarAlarmSystem and FB_BA_FireAlarmSystem.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.56

TF8040 | TwinCAT Building Automation from V5.8.0.0