FB_BA_FdbBinary

FB_BA_FdbBinary 1:

The template is used to monitor binary feedback signals such as the end positions of dampers or valves. However, it can also be used for differential pressure monitoring by means of a differential pressure monitor.

FB_BA_FdbBinary 2:

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

Block diagram

FB_BA_FdbBinary 3:

Syntax

FUNCTION_BLOCK FB_BA_FdbBinary EXTENDS FB_BA_View
VAR_INPUT
  bEn                   : BOOL;
  bCommand              : BOOL;
  bFeedback             : BOOL;
END_VAR
VAR_OUTPUT
  bDst                  : BOOL;
END_VAR
VAR_INPUT CONSTANT
  DelayFeedback         : FB_BA_AV_Op;
  Dst                   : FB_BA_BV;
END_VAR
VAR_INPUT CONSTANT PERSISTENT
  {attribute 'parameterUnit':= 's'}
  nInterruptionDelay    : UDINT := 1;
END_VAR
VAR
  FdbCtrl               : FB_BA_FdbCtrlBinary;
END_VAR

FB_BA_FdbBinary 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.

bFeedback

BOOL

The feedback signal of the aggregate to be monitored is connected to the input, e.g. a differential pressure monitor, flow monitor or limit switch.

FB_BA_FdbBinary 5: Outputs

Name

Type

Description

bDst

BOOL

Binary object for displaying the fault.

FB_BA_FdbBinary 6: Inputs CONSTANT

Name

Type

Description

DelayFeedback

FB_BA_AV_Op

Analog value object for entering the time delay of the feedback.

The travel time of the actuator can be used.

In the case of differential pressure monitoring, a time delay must be specified here until the system has to built up the required differential pressure.

Dst

FB_BA_BV

Binary object for displaying the fault.

FB_BA_FdbBinary 7: Inputs CONSTANT PERSISTENT

Name

Type

Description

nInterruptionDelay

IUDINT

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.

Variables

Name

Type

Description

FdbCtrl

FB_BA_FdbCtrlBinary

Monitoring the binary feedback of the actuators.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0