BAC_H_HtgCirSp_01

Application

The template is an atmospheric temperature controlled heating circuit control. It is comprised of a heating curve, a heating limit switch and the operating modes Frost / Night / Day / Auto with the associated setpoint.

Interface

BAC_H_HtgCirSp_01 1:

Block diagram

BAC_H_HtgCirSp_01 2:

VAR_INPUT

bSched  : BOOL;

bSched: Timer input for switching between day and night mode

VAR_OUTPUT

bDmd      : BOOL;
rSpDmd    : REAL;  

bDmd: Output of the heating operation request, depending on the operating mode OpModMan.

rSpDmd: Output of the setpoint for the heating circuit

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

Task

OpMod

FB_BACnetMVSetpoint

MV object for manual control of the heating circuit from the MCL or a local operating display. The following operating modes can be preset: OPMOD_H_HTGCIR_FROST / OPMOD_H_HTGCIR_NIGHT / OPMOD_H_HTGCIR_DAY / OPMOD_H_HTGCIR_AUTO

DmdPrioSwi

FB_BA_PrioSwi_UDI08

The priority switch prioritises the operating modes of the heating circuit.

HtgLmt

FB_BACnetAVSetpoint

AV object for inputting the heating limit value.

HtgLmtFnct

FB_BA_Swi2P

Depending on the damped outside temperature g_WthTDamp_rPrVal and the heating limit value, the two-point switch enables the heating operation in the operating mode OPMOD_H_HTGCIR_AUTO.

SpX1

FB_BACnetAVSetpoint

AV object for inputting the value for interpolation point X1

SpX2

FB_BACnetAVSetpoint

AV object for inputting the value for interpolation point X2

SpX3

FB_BACnetAVSetpoint

AV object for inputting the value for interpolation point X3

SpX4

FB_BACnetAVSetpoint

AV object for inputting the value for interpolation point X4

SpY1

FB_BACnetAVSetpoint

AV object for inputting the value for interpolation point Y1

SpY2

FB_BACnetAVSetpoint

AV object for inputting the value for interpolation point Y2

SpY3

FB_BACnetAVSetpoint

AV object for inputting the value for interpolation point Y3

SpY4

FB_BACnetAVSetpoint

AV object for inputting the value for interpolation point Y4

Scale

FB_BA_Chrct04

This function block calculates the set characteristic curve for the heating circuit, depending on the outside temperature.

SpPrioSwi

FB_BA_MMUX_R04

The multiplexer function block outputs the associated setpoint, depending on the present operating mode OpModMan.

SpNgtOffs

FB_BACnetAVSetpoint

AV object for inputting the value for the night setback

Sp

FB_BACnetAVDisplay

Display of the setpoint for the heating circuit. It is output at output rSpDmd.

Version history

Version number

Comments

1.0.0.1

First release