FB_BA_BuildingAlarms

FB_BA_BuildingAlarms 1:

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:

  1. Fire alarm (FireAlert): this alarm is read in directly via a binary input object.
  2. Burglar alarm (Bgly/Burglary): this alarm is read in directly via a binary input object.
  3. 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.
  4. Forced ventilation (ForcedVenilation): in this template on reserve, to trigger forced ventilation.
  5. Smoke extraction (SmokeExtraction): in this template on reserve, to trigger a smoke extraction operation.
FB_BA_BuildingAlarms 2:

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

FB_BA_BuildingAlarms 3: Inputs CONSTANT

Name

Type

Description

FireAlert

FB_BA_BI_IO

Binary input object "Fire alert".

Bgly

FB_BA_BI_IO

Binary input object "Burglary".

CentSwiOff

FB_BA_BV_Op

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