BAC_AC_SteamGenerator_01_xx
Functional description
The template BAC_AC_SteamGenerator_01_xx is used for controlling a steam generator with binary and analog inputs and outputs. It essentially consists of an AO object and a BO object for controlling the steam generator, an MV object for manual control, and the corresponding AV object for entering the control value. The template is complemented through optional BACnet objects, see table with version overview.
The variables, which are linked with the process image of the input and output level in the PLC, can be found under IO linking.
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_AC_SteamGenerator_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 | Mechanical priority operation enable steam humidifier feedback hand switch | Mechanical priority operation enable steam humidifier feedback relay | Mechanical priority operation set value steam humidifier feedback hand switch | Mechanical priority operation control value steam humidifier feedback position potentiometer | Operating feedback | Fault message steam humidifier |
---|---|---|---|---|---|---|
Instance | LocSwiBO | FdbOutBO | LocSwiAO | FdbOutAO | FdbSteam | DstSteam |
Data point type | BI | BI | BI | AI | BI | BI |
| 32 | 16 | 8 | 4 | 2 | 1 |
BAC_AC_SteamGenerator_01_03 | 0 | 0 | 0 | 0 | 1 | 1 |
BAC_AC_SteamGenerator_01_47 | 1 | 0 | 1 | 1 | 1 | 1 |
Interface
Block diagram version BAC_AC_SteamGenerator_01_47
VAR_INPUT
bEn : BOOL;
rY : REAL;
bDst : BOOL;
bEn: Steam generator enable; program priority
rY: Control value of the steam generator
bDst: Input external fault steam generator.
VAR_OUTPUT
bPrVal : BOOL;
rPrVal : REAL;
bSync : BOOL;
bPrVal: operating feedback steam generator
rPrVal : current control value of the steam generator
bSync: output of a pulse to synchronize the controller associated with the steam generator to the current manipulated control value of the steam generator when resetting from manual to automatic mode.
The synchronization pulse bSync should only be used if the mechanical priority operation FdbOutAO is available in the template used.
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 | ||||||
---|---|---|---|---|---|---|---|---|---|
DstSteam | X | BI object fault steam generator | |||||||
LocSwiBO | X | BI object mechanical priority operation feedback hand switch binary | |||||||
LocSwiAO | X | BI object mechanical priority operation feedback hand switch analog | |||||||
FdbSteam | X | BI object operating feedback steam generator | |||||||
FdbOutAO | X | Return value mechanical priority operation control value steam generator | |||||||
OpMod |
| MV object for manual control of the steam generator via the MCL or a local operator display | |||||||
ManVal |
| AV object for entering the control values of the steam generator with manual override | |||||||
AlmSteam | x | Logging and further processing of a steam generator fault | |||||||
AO |
| AO object for specifying the set speed value for the steam generator | |||||||
Priority: | Enable | Value | Comment | ||||||
PRIO_SAFETY (1) | FALSE | 0 |
| ||||||
PRIO_DISTURBANCE (3) | Input bDst | 0 |
| ||||||
PRIO_LOCAL (8) | OpMod_udiPrVal = OPMOD_MAN_OFFOROPMOD_MAN_OFF | Selector 0 ORManVal_rPrVal | In manual mode, value of AV object ManVal | ||||||
PRIO_PROGRAM (15) | TRUE | rY | Value of input rY (e.g. control value of the controller) | ||||||
BO |
| BO object for specifying the frequency converter enable | |||||||
Priority: | Enable | Value | Comment | ||||||
PRIO_SAFETY (1) | FALSE | FALSE |
| ||||||
PRIO_DISTURBANCE (3) | Input bDst | FALSE |
| ||||||
PRIO_LOCAL (8) | OpMod_udiPrVal = OPMOD_MAN_OFFOROPMOD_MAN_STP01 | TRUE, if OpMod_udiPrVal = OPMOD_MAN_STP01 | In manual mode, value of AV object ManVal | ||||||
PRIO_PROGRAM (15) | TRUE | bEn | Value of input bEn | ||||||
| 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 |
| Trend logging of the AO object for specifying the control value for the steam generator |
IO linking
In the XML description associated with the template, variables with the ID Input or Output are declared in the Parameter section. These parameters can be linked with the process image of the input and output level in the PLC in the Project Builder or via the Excel import interface.
Parameter | Type | Optional | Process image |
|
---|---|---|---|---|
BI_SteamGenerator_Disturbance | BOOL |
| Input | Digital input - steam generator fault - message - triggered |
BI_SteamGenerator_Enable_LocalSwitch | BOOL | x | Input | Digital input - switch manual enable steam generator - message - manual/auto |
BI_Setpoint_LocalSwitch | BOOL | x | Input | Digital input - switch control value - message - manual/auto |
BI_SteamGenerator_Feedback | BOOL |
| Input | Digital input - steam generator - message - operation |
AI_Feeback_ControlOutput_Poti | INT | x | Input | Analog input - manual potentiometer – feedback - control output |
AO_SteamGenerator_ControlCommand | INT |
| Output | Analog output - steam generator control command |
BO_SteamGenerator_Enable | BOOL |
| Output | Digital output - steam generator control command - enable on/off |
Version history
Version number | Comments |
---|---|
1.0.1 | First release |