FB_BA_FireAlarmSystem

This template receives the fire alarm as an input via an FB_BA_SensorBinary function block and transfers it as Site.stBuildingAlarms.bFireAlert to the local variable list Site.
The alarms are made available to other controllers in the FB_BA_AdsComServer_Basic template.
The FireDetector01 sub-template represents a fire detector or a fire alarm system (aggregate level). If there are several fire detectors/fire alarm systems, the FB_BA_FireAlarmSystem template must be extended.
The recording of the signal is defined in FB_Init as a quiescent current principle (FireDetector01.Input.ePolarity := E_BA_Polarity.eReverse).
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_FireAlarmSystem EXTENDS FB_BA_View
VAR_INPUT CONSTANT
FireDetector01 : FB_BA_SensorBinary;
END_VAR
VAR_INPUT CONSTANT
Name | Type | Description |
|---|---|---|
FireDetector01 | Sub-template for recording the fire alarm signal. |
