BAC_Uni_Pu1st_01_xx

Functional description

The template BAC_Uni_Pu1st_01_xx is used for controlling a single-stage pump with binary inputs and outputs. It basically consists of a BO object for pump control and an MV object for manual control.

The template BAC_Uni_Pu1st_01_xx is available in different versions. Within these variants there are two basic variants. One version has an input for position reporting of the corresponding control valve, the other does not.

The input rValve is used for switching on the pump via a hysteresis module, depending on the valve position. This is required for air heaters in air-conditioning plants, for example.

Options

Valve position



(Valve)

Reserve

Maintenance
switch


(Rep)

Blocking
protection


(Block)

Mechanical
priority operation
feedback
hand switch
(A-0-H)

Mechanical
priority operation
feedback
relay output
(Rm-output)

Operating
feedback


(Oper)

Fault
message


(fault)

Instance name

rValve

-

MntnSwi

AblkFnct

LocSwi

FdbOut

Fdb

Dst

Data point type

-

BI


BI

-

BI

BI

BI

BI

 

128

64

32

16

8

4

2

1

BAC_Uni_Pu1St_01_017

0

0

0

1

0

0

0

1

BAC_Uni_Pu1St_01_019

0

0

0

1

0

0

1

1

BAC_Uni_Pu1St_01_027

0

0

0

1

1

0

1

1

BAC_Uni_Pu1St_01_029

0

0

0

1

1

1

0

1

BAC_Uni_Pu1St_01_059

0

0

1

1

1

0

1

1

BAC_Uni_Pu1St_01_061

0

0

1

1

1

1

0

1

BAC_Uni_Pu1St_01_145

1

0

0

1

0

0

0

1

BAC_Uni_Pu1St_01_147

1

0

0

1

0

0

1

1

BAC_Uni_Pu1St_01_155

1

0

0

1

1

0

1

1

BAC_Uni_Pu1St_01_157

1

0

0

1

1

1

0

1

BAC_Uni_Pu1St_01_187

1

0

1

1

1

0

1

1

BAC_Uni_Pu1St_01_189

1

0

1

1

1

1

0

1

Interface1

Without input rValve

BAC_Uni_Pu1st_01_xx 1:

With input rValve

BAC_Uni_Pu1st_01_xx 2:

Block diagram version BAC_Uni_Pu1st_01_189

BAC_Uni_Pu1st_01_xx 3:

VAR_INPUT

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

bValPgm: binary value program priority

bEnfty: safety priority enable

bValSfty: binary value safety priority

bEnDst: disturbance priority enable. This input can be used to connect process feedback, for example.

bValDst: binary value disturbance priority. This input can be used to connect process feedback, for example.

rValve: input at which the valve position is connected.

VAR_OUTPUT

bQ     : BOOL; 

bQ: Pump switched on

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

Dst

FB_BACnetBI1203

x

BI object pump fault

Fdb

FB_BACnetBI1203

X

BI object operating feedback pump

FdbOut

FB_BACnetBI1203

X

BI object feedback mechanical priority operation feedback relay output

LocSwi

FB_BACnetBI1203

X

BI object feedback mechanical priority operation feedback hand switch

MntnSwi

FB_BACnetBI1203

X

BI object maintenance switch

HysVlvEnPu

FB_BACnetAVSetpoint

x

AV object for input of the hysteresis value for the two-point switch HysSwiEnPu, in order to switch the pump via the valve position rValve. If the value 0 is entered, the pump is not switched on via the valve position.

DlyOff

FB_BACnetAVSetpoint

 

AV object for input of the overrun time value.

IdlePrd

FB_BACnetAVSetpoint

 

AV object for input of the maximum pump standstill duration until a blocking protection pulse is issued.

OpMod

FB_BACnetMVSetpoint

 

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

AlmDst

FB_BA_Alarm

 

The AlmDst function block records the pump fault event.
Actions that are to take place after the pump fault notification is received can be parameterized in the template at the AlmDst function block.

AlmMntnSwi

FB_BA_Alarm

X

The function block AlmMntnSwi records the event repair switch triggered.
Actions to be taken after the input Repair switch triggered can be parameterized in the template at function block AlmMntnSwi.

BO

FB_BACnetBO1203

 

BO object for controlling the pump

Priority:

Enable

Value

PRIO_SAFETY (1)

Input bEnSfty

Input bValSfty

PRIO_DISTURBANCE (3)

The OR module pools events which enable writing to the disturbance priority of the downstream BO object.
Events:
1. Motor fault from the function block AlmDst
2. Input template bEnDst
3. Repair switch of function block AlmMntnSwi

At the input of the templates bEnDst the pump can be forced to switch on or off, e.g. when there is risk of frost at the air heater. However, if a pump fault is pending or the repair switch was triggered, forced switch-on is blocked at the AND module.

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_MAN_OFF (manual off)
2. The MV object has the value OPMOD_MAN_STP01(manual on)

TRUE, if OpMod_udiPrVal = OPMOD_MAN_STP01

PRIO_PROGRAM (15)

TRUE

The OR module pools events which enable writing to the priority Pgm (program) of the downstream BO object.
Events:
1. External request of the pump from the inputs bValPgm or rValve. The pump delay time PuDlyOff may still be active.
2. Blocking protection function of function block AblkFnct is active

HysSwiEnPu

FB_BA_Swi2P

x

Two-point switch, which switches the pump on or off by means of a hysteresis HysVlvEnPu, depending on the valve position rValve. If the valve position is < 0.5, the pump is switched off.

PuDlyOff

TOF

 

Timing element for pump overrun

AblkFnct

FB_BA_AntBlkg

 

Function block for output of a blocking protection pulse

IO linking

Variables for linking with the terminals

Parameter

Type

optional

Process image

 

BI_Pump_Disturbance

BOOL

 

Input

Pump - display - fault

BI_Feedback_Binary_Output

BOOL

X

Input

Pump switch H-0-A - message - operation

BI_Pump_Feeback

BOOL

X

Input

Pump - message - operation

BI_Pump_LocalSwitch

BOOL

X

Output

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

BI_Maintenance_Switch

BOOL

X

Input

Pump - display - maintenance switch

BO_Pump

BOOL

 

Output

Pump - switching command - on

Version history

Version number

Comments

1.0.1

First release