FB_BA_BuildingAlarms
This template summarizes building-specific safety criteria and makes them available in a globally declared structure stBuildingAlarms (see global variable list Site).
The criteria in detail are:
- Fire alarm (FireAlert): this alarm is read in directly via a binary input object.
- Burglar alarm (Bgly/Burglary): this alarm is read in directly via a binary input object.
- Central switch-off (CentSwiOff), actually no alarm. This input object makes it possible, for example, to reset manual flags building-wide or to switch off lights at this central point.
- Forced ventilation (ForcedVenilation): in this template on reserve, to trigger forced ventilation.
- Smoke extraction (SmokeExtraction): in this template on reserve, to trigger a smoke extraction operation.
The initialization of the template takes place within the method FB_Init. |
Illustration
FUNCTION_BLOCK FB_BA_BuildingAlarms EXTENDS FB_BA_View
VAR_INPUT CONSTANT
FireAlert : FB_BA_BI_IO;
Bgly : FB_BA_BI_IO;
CentSwiOff : FB_BA_BV_Op;
END_VAR
Inputs CONSTANT
Name | Type | Description |
---|---|---|
FireAlert | Binary input object "Fire alert". | |
Bgly | Binary input object "Burglary". | |
CentSwiOff | Binary input object "Central switch off". |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |