BAC_Uni_Dmp_01_xx

Functional description

The template BAC_Uni_Dmp_01_xx is used for controlling an analog damper drive. It basically consists of an AO object including a trend object, an MV object for manual control, and the associated AV object for entering the position. The template is complemented through optional BACnet objects, see table with version overview.

BAC_Uni_Dmp_01_xx 1:

The two output variables rPrVal / bSync are only used for synchronization of controllers if the template used contains feedback of the damper position Fdb.

Versions

The template BAC_Uni_Dmp_01_xx is available in different versions.
The damper versions are identified by means of a key. The identification key is derived from the table below.

Options

Feedback
Damper position
with monitoring

(Rm)

Mechanical priority operation position feedback
Potentiometer
(Rm-output)

mechanical priority operation position feedback hand switch
(A-0-H)

Instance

Fdb

FdbOut

LocSwi

Data point type

AI

AI

BI

 

4

2

1

BAC_Uni_Dmp_01_00

0

0

0

BAC_Uni_Dmp_01_01

0

0

1

BAC_Uni_Dmp_01_03

0

1

1

BAC_Uni_Dmp_01_04

1

0

0

BAC_Uni_Dmp_01_05

1

0

1

BAC_Uni_Dmp_01_07

1

1

1

Interface

BAC_Uni_Dmp_01_xx 2:

Block diagram version BAC_Uni_Dmp_01_05

BAC_Uni_Dmp_01_xx 3:

VAR_INPUT

rValPgm  : REAL; 
bEnSfty  : BOOL; 
bValSfty : BOOL; 
bEnDst   : BOOL;
bValDst  : BOOL; 

rValPgm: Analog value program priority

bEnSfty: Safety priority enable

rValSfty: Analog value safety priority

bEnDst: Enable fault priority

rValDst: Analog value fault priority

VAR_OUTPUT

rPrVal   : REAL;
bSync    : BOOL; 

rPrVal : Current position of the damper drive.
The output variable rPrVal is only active if the template used contains feedback of the damper position Fdb .

bSync: Output of a pulse to synchronise the controller associated with the damper during reset from manual to automatic operation to the current damper position.
The output variable bSync is only active if the template used contains feedback of the damper position Fdb .

VAR CONSTANT

PLT_NUM    : BYTE := 1;

PLT_NUM: all alarms and events of all plant components within a controller are included in a global alarm and event list. The assignment of events and alarms to a plant is defined by the assignment of a PLT_NUM plant number.
The recording and processing of an alarm from an aggregate or a device takes place within the templates by means of the alarm function block FB_BA_Alarm.
The evaluation of the alarms of a plant, e.g. for the generation of a collective message or for plant shutdown in case of relevant faults, takes place within the template BAC_PltAlm_01 by means of the function block FB_BA_AlarmPlt.
The evaluation of different plant events within the templates of a plant, takes place within the template BAC_PltComnMsg_01 by means of the function block FB_BA_ComnMsg.

Important! The assignment and evaluation of the alarms and events of a plant can only be done correctly if all templates of a plant have the same plant number!

The plant number can be assigned in the Project Builder in the parameter menu for the templates or via a column in the Excel import.

Program description

Instance

Type

optional

Task

OpMod

FB_BACnetMVSetpoint

 

MV object for manual control of the damper drive via the MCL or a local operator display 

ManPos

FB_BACnetAVSetpoint

 

AV object for entering the damper position with manual override

FdbMonitHys

FB_BACnetAVSetpoint

X

AV object for entering the hysteresis for the function monitoring of the control valve via the position feedback

FdbOut

FB_BACnetAI1203

X

AI object for logging the mechanical priority operation position feedback potentiometer

Fdb

FB_BACnetAI1203

X

AI object for logging the position feedback from the damper position

FdbMonitTiDly

FB_BACnetAVSetpoint

X

AV object for entering the response delay of the function monitoring via position feedback.

LocSwi

FB_BACnetBI1203

X

BI object signals mechanical priority operation position feedback hand switch

AO

FB_BACnetAO1203

 

AO object for controlling the control valve.

Priority:

Enable

Value

Comment

PRIO_SAFETY (1)

Input bEnSfty

Input rValSfty

 

PRIO_DISTURBANCE (3)

Input bEnDst

Input rValDst

 

PRIO_LOCAL (8)

OpMod_udiPrVal = OPMOD_MAN

ManPos_rPrVal

In manual mode, value of AV object ManPos

PRIO_PROGRAM (15)

TRUE

AblkFnct_bQ or rValPgm

Value of input rValPgm or 100% of blocking protection

 

EQ

 

TRUE if the active priority is PRIO_PROGRAM (15). Can be used for synchronizing the controller on return to automatic mode

FdbMonitFnct

FB_BA_SldgLmtMonit

X

Function monitoring of the damper drive through comparison of the control output and the position feedback.

AlmFdbMonit

FB_BA_Alarm

X

Logging and further processing of an error from the position feedback monitoring

FdbMonit

FB_BACnetBV1204

X

Reports position feedback error to the MCL

TLogAO

FB_BACnetTLog1201

 

Logs the present value of the AO object

IO linking

Variables for linking with the terminals

Parameter

Type

optional

Process image

 

AI_Damper_Feedback

INT

X

Input

Damper - measured value - return value position

AI_Feeback_Position_Poti

INT

X

Input

Damper potentiometer H-A - measured value

BI_Damper_LocalSwitch

BOOL

X

Input

Damper switch H-A - message - operation mode

AO_Damper_Position_Value

INT

 

Output

Analog output - damper - control value position

Version history

Version number

Comments

1.0.1

First release