FB_BA_FdbAnalogExt

FB_BA_FdbAnalogExt 1:

The template is used to monitor analog values with dynamic switch values, e.g. for differential pressure monitoring of a fan.

FB_BA_FdbAnalogExt 2:

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

Block diagram

FB_BA_FdbAnalogExt 3:

Syntax

FUNCTION_BLOCK FB_BA_FdbAnalog EXTENDS FB_BA_View
VAR_INPUT
  bEn                  : BOOL;
  bCommand             : BOOL;
  fIn                  : REAL;
  fOn                  : REAL := 10.0;
  fOff                 : REAL := 2.0;
END_VAR
VAR_OUTPUT
  bDst                 : BOOL;
END_VAR
VAR_INPUT CONSTANT
  SwitchOnValue        : FB_BA_AV_Op;
  SwitchOffValue       : FB_BA_AV_Op;
  DelayFeedback        : FB_BA_AV_Op;
  DelayInterruption    : FB_BA_AV_Op;
  Dst                  : FB_BA_BV;
END_VAR
VAR
  FixedLimit           : FB_BA_Swi2P;
  FdbCtrl              : FB_BA_FdbCtrlBinary;
END_VAR

FB_BA_FdbAnalogExt 4: Inputs

Name

Type

Description

bEn

BOOL

General enable of the template.

bCommand

BOOL

The switching actuator output of the aggregate to be monitored is connected to the input.

fIn

REAL

The analog value to be monitored is connected to the input, e.g. a differential pressure sensor.

fOn

REAL

The switch-on value for FixedLimit is connected to the input.

In the case of differential pressure monitoring, a pressure value must be selected here which must not be undershot during the running process.

fOff

REAL

The switch-off value for FixedLimit is connected to the input.

This value must be just below the switch-on value fOn.

FB_BA_FdbAnalogExt 5: Outputs

Name

Type

Description

bDst

BOOL

Binary object for displaying the fault.

FB_BA_FdbAnalogExt 6: Inputs CONSTANT

Name

Type

Description

SwitchOnValue

FB_BA_AV_Op

Analog value object for entering the switch-on value for fOn.

SwitchOffValue

FB_BA_AV_Op

Analog value object for entering the switch-off value for fOff.

DelayFeedback

FB_BA_AV_Op

Analog value object for entering the time delay of the "Aggregate ready for operation" information.

In the case of differential pressure monitoring, a time delay must be specified here after which it can be assumed that the system has built up the required differential pressure.

DelayInterruption

FB_BA_AV_Op

Analog value object for entering the delay time to trigger a fault message.

The message from the differential pressure sensor can be delayed, in order to buffer pressure fluctuations.

Dst

FB_BA_BV

Binary object for displaying the fault.

Variables

Name

Type

Description

FixedLimit

FB_BA_Swi2P

Conversion of the analog value fIn into a binary switching signal for FdbCtrl.

FdbCtrl

FB_BA_FdbCtrlBinary

Monitoring of the binary feedback.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0