FB_BA_EventsAndSettings
The template represents the plant level.
It is used for the preparation and distribution of global data, which is required system- or building-wide for the control and regulation of the system and room automation.
The function block FB_BA_BuildingAlarms is used to record global events that are required in a building or property at all automation stations of the system.
The function block FB_BA_WeatherParameter is used for the global provision of weather-specific parameters and setpoints.
The function block FB_BA_BuildingMode is used for the global provision of building operating modes.
The global building data is stored in the GVL site.
The initialization of the template takes place within the method FB_Init. |
Block diagram
Illustration
FUNCTION_BLOCK FB_BA_BuildingGlobal EXTENDS FB_BA_View
VAR_INPUT
fTWth : REAL;
END_VAR
VAR_INPUT CONSTANT
BuildAlm : FB_BA_BuildingAlarms;
BuildMode : FB_BA_BuildingMode;
WthParam : FB_BA_WeatherParameter;
END_VAR
Inputs CONSTANT
Name | Type | Description |
---|---|---|
BuildAlm | Template for the building alarms. | |
BuildMode | Template for the building operation modes. | |
WthParam | FB_BA_WeatherParameter | Template for the evaluation of the outside temperature. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |