FB_BA_AdsComServer_Room

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.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_AdsComServer
VAR_INPUT CONSTANT
BuildingEnergyLevel : FB_BA_RawPublisher;
BuildingSpRmT : FB_BA_RawPublisher;
BuildingLighting : FB_BA_RawPublisher;
END_VAR
VAR_INPUT CONSTANT
Name | Type | Description |
---|---|---|
BuildingEnergyLevel | The publisher publishes the current building energy level Site.eBuildingEnergyLevel, which is created in the template FB_BA_BuildingEnergyLevel. | |
BuildingSpRmT | The publisher publishes the structure of the building-wide room temperature data Site.stBuildingSpRmT, which is created in the template FB_BA_BuildingSpRmT. | |
BuildingLighting | 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 |