BAC_Uni_Mot1st_01_xx

Functional description

The template BAC_Uni_Mot1st_01_xx is used for controlling a single-stage motor, e.g. a fan with binary inputs and outputs. It basically consists of a BO object for the motor control and an MV object for manual override. The template is complemented through optional BACnet objects, see table with version overview.

Versions

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

Options

Maintenance switch



(Rep)

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

mechanical
priority operation
Feedback
Relay output
(Rm-output)

Operating feedback


(Oper)

Fault



(Fault)

Instance

MntnSwi

LocSwi

FdbOut

Fdb

Dst

Data point type

BI

BI

BI

BI

BI

 

16

8

4

2

1

BAC_Uni_Mot1st_01_01

0

0

0

0

1

BAC_Uni_Mot1st_01_03

0

0

0

1

1

BAC_Uni_Mot1st_01_11

0

1

0

1

1

BAC_Uni_Mot1st_01_13

0

1

1

0

1

BAC_Uni_Mot1st_01_17

1

0

0

0

1

BAC_Uni_Mot1st_01_19

1

0

0

1

1

BAC_Uni_Mot1st_01_27

1

1

0

1

1

BAC_Uni_Mot1st_01_29

1

1

1

0

1

Interface

BAC_Uni_Mot1st_01_xx 1:

Block diagram version BAC_Uni_Mot1st_01_29

BAC_Uni_Mot1st_01_xx 2:

VAR_INPUT

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

bValPgm: binary value program priority

bEnSfty: 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.

VAR_OUTPUT

bQ     : BOOL; 

bQ: Operating feedback

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

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

OpMod

FB_BACnetMVSetpoint

 

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

AlmDst

FB_BA_Alarm

 

The function block AlmDst logs the fault event.
Actions, which should take place after arrival of the fault, can be parameterised in the template at function block AlmDst.

AlmMntnSwi

FB_BA_Alarm

X

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

BO

FB_BACnetBO1203

 

BO object for specifying control of single-stage motor

 

 

 

Priority:

Enable

Value

Comment

PRIO_SAFETY (1)

Input bEnSfty

Input bValSfty

 

PRIO_DISTURBANCE (3)

Input bEnDst
OR
Dst
OR
MntnSwi

Value of the operator AND with the inputs bValDst, MntnSwi_bPrVal, Dst_bPrVal

 

PRIO_LOCAL (8)

OpMod_udiPrVal = OPMOD_MAN_OFFOROPMOD_MAN_STP01

TRUE if OpMod_udiPrVal = OPMOD_MAN_STP01

In manual mode value of AV object ManSpd

PRIO_PROGRAM (15)

TRUE

bValPgm

Value of input bValPgm

IO linking

Variables for linking with the terminals

Parameter

Type

optional

Process image

 

BI_Motor_Disturbance

BOOL

 

Input

Digital input - motor fault - message - triggered

BI_Feedback_Binary_Output

BOOL

X

Input

Digital input - motor switching command - feedback - on/off

BI_Pump_Feeback

BOOL

X

Input

Digital input - motor operation - message - on/off

BI_Motor_LocalSwitch

BOOL

X

Input

Digital input - switch manual motor - message - manual/auto

BI_Maintenance_Switch

BOOL

X

Input

Digital input – maintenance switch - message - triggered

BO_Motor

BOOL

 

Output

Digital output - motor - switching command - on/off

Version history

Version number

Comments

1.0.1

First release