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 | Reserve | Maintenance | Blocking | Mechanical | Mechanical | Operating | Fault |
---|---|---|---|---|---|---|---|---|
Instance name | rValve | - | MntnSwi | AblkFnct | LocSwi | FdbOut | Fdb | Dst |
Data point type | - | 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
With input rValve
Block diagram version BAC_Uni_Pu1st_01_189
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 | x | BI object pump fault | |||
Fdb | X | BI object operating feedback pump | |||
FdbOut | X | BI object feedback mechanical priority operation feedback relay output | |||
LocSwi | X | BI object feedback mechanical priority operation feedback hand switch | |||
MntnSwi | X | BI object maintenance switch | |||
HysVlvEnPu | 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 |
| AV object for input of the overrun time value. | |||
IdlePrd |
| AV object for input of the maximum pump standstill duration until a blocking protection pulse is issued. | |||
OpMod |
| MV object for manual control of the pump via the MCL or a local operator display | |||
AlmDst |
| The AlmDst function block records the pump fault event. | |||
AlmMntnSwi | X | The function block AlmMntnSwi records the event repair switch triggered. | |||
BO |
| 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. | 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. | 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. | |||
HysSwiEnPu | 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 |
| 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 |