BAC_Uni_FC_01_xx

Functional description

The template BAC_Uni_FC_01_xx is used for controlling a frequency converter with binary and analog inputs and outputs.

BAC_Uni_FC_01_xx 1:

The two output variables rPrVal / bSync are only active, if the mechanical priority operation FdbOutAO exists in the template that is used. If this is not the case, the two variables return the value zero.

Versions

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

Repair switch



(Rep)

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

Mechanical priority operation enable FC feedback relay
(Rm-output)

Mechanical priority operation set value FC feedback hand switch
(Rotary A-H)

Mechanical priority operation control value FC feedback status potentiometer
(Rm-ContrVal)

Operating feedback
FC



(Oper-FC)

Fault message FC



(Fault-FC)

Fault message motor protection switch


(Therm)

Instance

MntnSwi

LocSwiBO

FdbOutBO

LocSwiAO

FdbOutAO

FdbFC

DstFC

ThOvrld

Data point type


BI

BI

BI

BI

AI

BI

BI

BI

 

128

64

32

16

8

4

2

1

BAC_Uni_FC_01_002

0

0

0

0

0

0

1

0

BAC_Uni_FC_01_006

0

0

0

0

0

1

1

0

BAC_Uni_FC_01_007

0

0

0

0

0

1

1

1

BAC_Uni_FC_01_086

0

1

0

1

0

1

1

0

BAC_Uni_FC_01_087

0

1

0

1

0

1

1

1

BAC_Uni_FC_01_094

0

1

0

1

1

1

1

0

BAC_Uni_FC_01_130

1

0

0

0

0

0

1

0

BAC_Uni_FC_01_134

1

0

0

0

0

1

1

0

BAC_Uni_FC_01_135

1

0

0

0

0

1

1

1

BAC_Uni_FC_01_214

1

1

0

1

0

1

1

0

BAC_Uni_FC_01_215

1

1

0

1

0

1

1

1

BAC_Uni_FC_01_222

1

1

0

1

1

1

1

0

BAC_Uni_FC_01_223

1

1

0

1

1

1

1

1

Interface

BAC_Uni_FC_01_xx 2:

Block diagram version BAC_Uni_FC_01_223

BAC_Uni_FC_01_xx 3:

VAR_INPUT

bValPgm    : BOOL;
rValPgm    : REAL;
bEnSfty    : BOOL;
bValSfty   : BOOL;
rValSfty   : REAL;
bEnDst     : BOOL;
bValDst    : BOOL;
rValDst    : REAL;

bValPgm: binary value program priority

rValPgm: analog value program priority

bEnSfty: safety priority enable

bValSfty: binary value safety priority

rValSfty: analog 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.

rValDst: analog value disturbance priority

VAR_OUTPUT

bPrVal   : BOOL;
rPrVal   : REAL;
bSync    : BOOL; 

bPrVal: Operating feedback FC

rPrVal : Current speed of the FC.

bSync: Output of a pulse to synchronise the controller associated with the FC during reset from manual to automatic operation to the current FC speed.

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

ThOvrld

FB_BACnetBI1203

X

BI object thermal motor protection (PTC thermistor tripping unit, motor protection switch etc.)

DstFC

FB_BACnetBI1203

X

BI object frequency converter fault

LocSwiBO

FB_BACnetBI1203

X

BI object mechanical priority operation feedback hand switch binary

LocSwiAO

FB_BACnetBI1203

X

BI object mechanical priority operation feedback hand switch analog

FdbFC

FB_BACnetBI1203

X

BI object operating feedback FU

MntnSwi

FB_BACnetBI1203

X

BI object maintenance switch

FdbOutAO

FB_BACnetAI1203

X

Return value mechanical priority operation control value FU

OpMod

FB_BACnetMVSetpoint

 

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

ManSpd

FB_BACnetAVSetpoint

 

AV object for entering the motor speed with manual override

AlmThOvrld

FB_BA_Alarm

x

Logging and further processing of an error for thermal protection of the motor (PTC thermistor tripping unit, motor protection switch etc.)

AlmDstFC

FB_BA_Alarm

x

Logging and further processing of a frequency converter fault

AlmMntnSwi

FB_BA_Alarm

x

Logging and processing of the repair switch triggered event.

AO

FB_BACnetAO1203

 

AO object for specifying the set speed value for the frequency converter

Priority:

Enable

Value

Comment

PRIO_SAFETY (1)

Input bEnSfty

Input rValSfty

 

PRIO_DISTURBANCE (3)

Input bEnDst
OR
ThOvrld
OR
DstFC
OR
MntnSwi

no fault from bEnDst, ThOvrld, DstFC or MntnSwi -> value of input rValDst

fault from bEnDst, ThOvrld, DstFC or MntnSwi = 0

 

PRIO_LOCAL (8)

OpMod_udiPrVal =
OPMOD_MAN_OFF

OR
OPMOD_MAN_STP01


Selector
0
OR
ManSpd_rPrVal

In manual mode, value of AV object ManSpd

PRIO_PROGRAM (15)

TRUE

rValPgm

Value of input rValPgm (e.g. controller speed specification)

BO

FB_BACnetBO1203

 

BO object for specifying the frequency converter enable

Priority:

Enable

Value

Comment

PRIO_SAFETY (1)

Input bEnSfty

Input bValSfty

 

PRIO_DISTURBANCE (3)

Input bEnDst
OR
ThOvrld
OR
DstFC
OR
MntnSwi

Value of the operator AND with the inputs bValDst, ThOvrld_bPrVal, MntnSwi_bPrVal, DstFC_bPrVal

 

PRIO_LOCAL (8)

OpMod_udiPrVal =
OPMOD_MAN_OFF

OR
OPMOD_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

 

EQ, EQ, AND

 

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

TLogAO

FB_BACnetTLog1201

 

Trend logging of the AO object for specifying the set speed value for the frequency converter

IO linking

Variables for linking with the terminals

Parameter

Type

optional

Process image

 

BI_Thermal_Overlaod

BOOL

X

Input

Digital input - thermal motor overload - message - triggered

BI_FC_Disturbance

BOOL

X

Input

Digital input - FC fault - message - triggered

BI_FC_Feedback

BOOL

X

Input

Digital input - FC - message - operation

BI_Maintenance_Switch

BOOL

X

Input

Digital input – maintenance switch - message - triggered

BI_FC_Enable_LocalSwitch

BOOL

X

Input

Digital input - switch manual enable FC - message - manual/auto

BI_Speed_LocalSwitch

BOOL

X

Input

Digital input - switch speed - message - manual/auto

BI_Feedback_Binary_Output

BOOL

X

Input

Digital input - feedback control command- message - on/off

AI_Feeback_Speed_Poti

INT

X

Input

Analog input - manual potentiometer – feedback - control value

BO_FC_Enable

BOOL

 

Output

Digital output - FC switching command - enable on/off

AO_FC_Speed_Value

INT

 

Output

Analog output - FC control value - speed

Version number

Comments

1.0.1

First release