BAC_Uni_Dmp2P_01_xx

Functional description

The template BAC_Uni_Dmp2P_01_xx  is used for control and monitoring of a two-point damper, e.g. a damper with a spring return actuator. It basically consists of a BO object for damper control and an MV object for manual override. The template is complemented by optional BACnet objects, see table with version overview.
The variables that are linked to the process image of the input and output level in the PLC can be found at IO linking.

BAC_Uni_Dmp2P_01_xx 1:

The two output variables bSwiOpn / bSwiCls only output the actual state of the damper, if the template used includes feedback from the limit switches SwiOpn/SwiCls. If no end position monitoring is available, it is emulated internally. If the damper is controlled, output bSwiOpn becomes TRUE. If the damper is not controlled, the output bSwiCls becomes TRUE. This may mean that delay time for opening the damper has to be specified in the start program for a ventilation system.

Versions

The template BAC_Uni_Dmp2P_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

mechanical
priority operation
Feedback
hand switch
(A-0-H)

mechanical
priority operation
Feedback
Relay output
(Rm-output)

Final position
Open


(switch open)

Final position
Close


(switch close)

Instance

LocSwi

FdbOut

SwiOpn

SwiCls

Data point type

BI

BI

BI

BI

 

8

4

2

1

BAC_Uni_Dmp2P_01_00

0

0

0

0

BAC_Uni_Dmp2P_01_02

0

0

1

0

BAC_Uni_Dmp2P_01_03

0

0

1

1

BAC_Uni_Dmp2P_01_08

1

0

0

0

BAC_Uni_Dmp2P_01_10

1

0

1

0

BAC_Uni_Dmp2P_01_11

1

0

1

1

BAC_Uni_Dmp2P_01_12

1

1

0

0

BAC_Uni_Dmp2P_01_14

1

1

1

0

BAC_Uni_Dmp2P_01_15

1

1

1

1

Interface

BAC_Uni_Dmp2P_01_xx 2:

Block diagram version BAC_Uni_Dmp2P_01_15

BAC_Uni_Dmp2P_01_xx 3:

VAR_INPUT

bValPgm    : BOOL; 
bEnSfty    : BOOL; 
bValSfty   : BOOL; 
bEnDst     : BOOL;
bValDst    : BOOL; 

bValPgm: Binary value program priority

bEnfty: Safety priority enable

bValSfty: Binary value safety priority

bEnDst: Enable fault priority

bValDst: Binary value fault priority

VAR_OUTPUT

bQ        : BOOL; 
bSwiOpn   : BOOL; 
bSwiCls   : BOOL; 

bQ: Damper control output status

bSwiOpn: End position 'open' of the damper has been reached. If no end position monitoring is available, it is emulated internally. If the damper is controlled, output bSwiOpn becomes TRUE. If the damper is not controlled, the output bSwiCls becomes TRUE.

bSwiCls: End position 'closed' of the damper has been reached. If no end position monitoring is available, it is emulated internally. If the damper is controlled, output bSwiOpn becomes TRUE. If the damper is not controlled, the output bSwiCls becomes TRUE.

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

SwiOpn

FB_BACnetBI1203

X

BI object for connecting the limit switch 'open'

SwiCls

FB_BACnetBI1203

X

BI object for connecting the limit switch 'closed'

OpMod

FB_BACnetMVSetpoint

 

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

LocSwi

FB_BACnetBI1203

X

BI object for feedback from mechanical priority operation. (manual/emergency operating level)

FdbOut

FB_BACnetBI1203

X

BI object for logging the mechanical priority operation position feedback relay

TiOpn

FB_BACnetAVSetpoint

X

AV object for entering the opening time value

TiCls

FB_BACnetAVSetpoint

X

AV object for entering the closing time value

MoveCtrlOpn

FB_BA_SwiMonit

X

Function block, which monitors the 'open' end position of the damper

MoveCtrlCls

FB_BA_SwiMonit

X

Function block, which monitors the 'closed' end position of the damper

BO

FB_BACnetBO1203

 

BO object for controlling the damper

Priority:

Enable

Value

PRIO_SAFETY (1)

Input bEnSfty

Input bValSfty

PRIO_DISTURBANCE (3)

Input bEnDst

Input bValDst

PRIO_LOCAL (8)

The OR module pools events which enable writing to the priority manual override (local) of the downstream BO object.
Events:
1. The MV object has the value OPMOD_2P_CLOSE (close damper)
2. The MV object has the value OPMOD_2P_OPEN (open damper)

TRUE, if OpMod_udiPrVal = OPMOD_2P_OPEN

PRIO_PROGRAM (15)

TRUE

Input bValPgm

AlmFnct

FB_BA_Alarm

x

The AlmFnct function block records the event of the limit position switch monitoring.
Actions that are to take place after the limit switch fault is received can be parameterized in the template on the AlmFnct function block.

Alm

FB_BACnetBV1204

x

BV object for displaying the damper fault in the MCL

IO linking

Variables for linking with the terminals

Parameter

Type

optional

Process image

 

BI_Damper_LimitSwitch_Open

BOOL

X

Input

Damper limit switch - message - open

BI_Damper_LimitSwitch_Close

BOOL

X

Input

Damper limit switch - message - closed

BI_Damper_LocalSwitch

BOOL

X

Input

Damper switch H-0-A - message - operation mode

BI_Feedback_Binary_Output

BOOL

X

Input

Damper switch H-0-A - message - operation

BO_Damper

BOOL

 

Output

Damper - switching command - open

Version history

Version number

Comments

1.0.1

First release