FB_BA_FdbAnalog

FB_BA_FdbAnalog 1:

The template is used to monitor analog values with fixed switch values, such as differential pressure monitoring of a fan.

FB_BA_FdbAnalog 2:

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

Block diagram

FB_BA_FdbAnalog 3:

Syntax

FUNCTION_BLOCK FB_BA_FdbAnalog EXTENDS FB_BA_View
VAR_INPUT
  bEn                             : BOOL;
  bCommand                        : BOOL;
  fIn                             : REAL;
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_FdbAnalog 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.

FB_BA_FdbAnalog 5: Outputs

Name

Type

Description

bDst

BOOL

Binary object for displaying the fault.

FB_BA_FdbAnalog 6: Inputs CONSTANT

Name

Type

Description

SwitchOnValue

FB_BA_AV_Op

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

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

SwitchOffValue

FB_BA_AV_Op

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

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

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