ADS communication within the templates
TwinCAT Building Automation offers a simple concept for data distribution within a building automation network.
Within this concept, the Building Controller serves as a central data distributor.
It should consist of a powerful IPC.

The following data is recorded, calculated and provided within the Building Controller.
Weather data
- Outside temperature
- Precipitation report
- Dew point temperature
- Air pressure
- Air humidity
- Brightness
- Global radiation
- Wind speed
- Wind direction
global events
- Burglary
- Fire
global setting parameters
- Frost setpoint
- Frost protection limit value
- damped value of the outside temperature
- heating enable of the unattenuated outside temperature
- heating enable of the attenuated outside temperature
global time schedule with the active energy levels
- Protection or Economy or PreComfort or Comfort
Setpoints of the energy levels
- Protection Heating
- Economy Heating
- PreComfort Heating
- Comfort Heating
- Protection Cooling
- Economy Cooling
- PreComfort Cooling
- Comfort Cooling
Operation modes
- Default (standard)
- Night watchman tour
- Cleaning mode
Sun protection for the entire building
- Positioning telegram resulting from the user functions: fire, burglary, icing,
- Position
- Angle
- Priority
- Enabling the thermal automatic (global radiation-dependent)
- Enabling the twilight automatic (depending on outside light)
- Central reset of manual operation of all blind actuators
Sun protection selective per facade
- Positioning telegram resulting from the user functions:
- Position
- Storm protection (depending on wind direction)
- Maintenance
- Thermal automatic (global)
- Position or slat angle with active sun protection
- Enabling the sun protection dependent on outside light and sun position
In the building controller, all data-providing templates write their data to the Site GVL.
The data is transferred from this data pool of the Site GVL to the clients via ADS.
The data is distributed according to technical system.
Building automation in general:
Weather data, global events and global setting parameters for HVAC systems are generated in the function block FB_BA_BuildingAutomationServer and written to the Site GVL.
The function block FB_BA_AdsComServer publishes this data via ADS.
In a client, this data is in turn received via a Subscriber and written into the local Site GVL of the automation station.
Doors,Gates,Windows,Sun protection
Facade data and global sun protection data are generated in the function block FB_BA_DGWSPServer and written to the Site GVL.
The function block FB_BA_AdsComServer_DGWS publishes this data via ADS.
In a client, this data is in turn received via a Subscriber and written into the local Site GVL of the automation station.
Room automation
Room automation data, e.g. global room temperature setpoints and energy levels, are generated in the function block FB_BA_RoomAutomationServer and written to the Site GVL.
The function block FB_BA_RoomAutomationClient receives this data and writes it to the local Site GVL of the automation station.
