FB_BA_DGWSPServer

Call template trade "Doors, gates, windows, sun protection" - server version.
This template at the "trade" level calls up all sub-templates whose data is ideally processed in a building calculator. On the one hand, these are general data for the sun protection, as well as the data for all facades.
In addition, trade-specific data is made available building-wide via an ADS server template.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_DGWSPServer EXTENDS FB_BA_View
VAR_INPUT CONSTANT
AdsComServerDGWS : FB_BA_AdsComServer_DGWS;
BuildingSunProtection : FB_BA_BuildingSunprotection;
arrFacade : ARRAY[1..BA2_Param.nMaxNumberOfFacades] OF FB_BA_Facade;
END_VAR
VAR_INPUT CONSTANT
Name | Type | Description |
---|---|---|
AdsComServerDGWS | The sub-template has the task of transmitting data and parameters within the BA network. | |
BuildingSunProtection | The sub-template provides building-wide data and operation modes. | |
arrFacade | These templates of type FB_BA_Facade compile the sun protection telegrams that are valid for an entire facade. In the global parameter list BA2_Param, 4 facades are predefined with nMaxNumberOfFacades, which are initialized here in FB_Init to north, east, south and west as examples. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.56 | TF8040 | TwinCAT Building Automation from V5.8.0.0 |