FB_BA_SmokeDetector_01

FB_BA_SmokeDetector_01 1:

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.

FB_BA_SmokeDetector_01 2:

The initialization of the template takes place within the method FB_Init.

Block diagram

FB_BA_SmokeDetector_01 3:

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

FB_BA_SmokeDetector_01 4: 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.

FB_BA_SmokeDetector_01 5: Inputs CONSTANT

Name

Type

Description

SmokeAlarm

FB_BA_BI_Raw

Binary input object is used to process a smoke alarm.

SystemFailure

FB_BA_BI_Raw

Binary input object is used to process a system fault of the duct smoke detector.

Contamination

FB_BA_BI_Raw

Binary input object is used to process a pollution of the duct smoke detector.

AirFlow

FB_BA_BI_Raw

Binary input object is used to process insufficient air flow.

RstHw

FB_BA_BO_Raw

Binary output object which triggers a remote release on the smoke detector.

RstRm

FB_BA_BV_Op

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.

Variables

Name

Type

Description

tpResetHw

TP

The timing element extends the acknowledgement pulse for interfacing relay circuits (e.g. frost protection relay).

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0