FB_BA_AdsComServer_Room

FB_BA_AdsComServer_Room 1:

The template has the task of reading data and parameters that are assigned to the "Room automation" trade from the global variable list Site and making them available within the BA network via FB_BA_RawPublisher.

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

FB_BA_AdsComServer_Room 2:

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

Block diagram

FB_BA_AdsComServer_Room 3:

Syntax

FUNCTION_BLOCK FB_BA_AdsComServer
VAR_INPUT CONSTANT
  BuildingEnergyLevel    : FB_BA_RawPublisher;
  BuildingSpRmT          : FB_BA_RawPublisher;
  BuildingLighting       : FB_BA_RawPublisher;
END_VAR

FB_BA_AdsComServer_Room 4: VAR_INPUT CONSTANT

Name

Type

Description

BuildingEnergyLevel

FB_BA_RawPublisher

The publisher publishes the current building energy level Site.eBuildingEnergyLevel, which is created in the template FB_BA_BuildingEnergyLevel.

BuildingSpRmT

FB_BA_RawPublisher

The publisher publishes the structure of the building-wide room temperature data Site.stBuildingSpRmT, which is created in the template FB_BA_BuildingSpRmT.

BuildingLighting

FB_BA_RawPublisher

The publisher publishes the structure of the building-wide lighting data Site.stBuildingLighting, which is created in the template FB_BA_BuildingLighting.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.56

TF8040 | TwinCAT Building Automation from V5.8.0.0