FB_BA_SmokeDetector_01

The template is used to display faults and warnings of a duct smoke detector.
The binary output object RstHw can be used to reset these messages by remote release.
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram

Syntax
FUNCTION_BLOCK FB_BA_SmokeDetector_01 EXTENDS FB_BA_View
VAR_OUTPUT
bSmokeAlarm : BOOL;
bSystemFailure : BOOL;
bContamination : BOOL;
bAirFlow : BOOL;
END_VAR
VAR_INPUT CONSTANT
SmokeAlarm : FB_BA_BI_Raw;
SystemFailure : FB_BA_BI_Raw;
Contamination : FB_BA_BI_Raw;
AirFlow : FB_BA_BI_Raw;
RstHw : FB_BA_BO_Raw;
RstRm : FB_BA_BV_Op;
END_VAR
VAR
tpResetHw : TP;
END_VAR
Outputs
Name | Type | Description |
|---|---|---|
bSmokeAlarm | BOOL | Current value of the binary input object SmokeAlarm. |
bSystemFailure | BOOL | Current value of the binary input object SystemFailure. |
bContamination | BOOL | Current value of the binary input object Contamination. |
bAirFlow | BOOL | Current value of the binary input object AirFlow. |
Inputs CONSTANT
Name | Type | Description |
|---|---|---|
SmokeAlarm | Binary input object is used to process a smoke alarm. | |
SystemFailure | Binary input object is used to process a system fault of the duct smoke detector. | |
Contamination | Binary input object is used to process a pollution of the duct smoke detector. | |
AirFlow | Binary input object is used to process insufficient air flow. | |
RstHw | Binary output object which triggers a remote release on the smoke detector. | |
RstRm | The binary value object RstRm triggers a remote release on the smoke detector from the management level. The RstRm object is initialized as a button object by the additional parameter eToggleMode. |
