FB_BA_H_HtgCir_Sp

Template for providing the setpoint for a heating circuit control.
The heating curve HtgCrv calculates the flow temperature setpoint SpTFl according to the outside temperature fWthDamp and the specified setpoints.
Block diagram

![]() | The initialization of the template takes place within the method FB_Init. |
Syntax
FUNCTION_BLOCK FB_BA_H_HtgCir_Sp EXTENDS FB_BA_View
VAR_INPUT
eOpMod : E_BA_EnergyLvl;
fSpFrstProtec : REAL;
fTWthDamp : REAL;
END_VAR
VAR_OUTPUT
fSpFlWT : REAL;
END_VAR
VAR_INPUT CONSTANT
NgtOffs : FB_BA_AV_Op;
SpFlWT : FB_BA_AV_Op;
HtgCrv : FB_BA_Scale_04;
END_VAR
VAR
PrioSwi : FB_BA_MMUX_R04;
END_VAR
Inputs
Name | Type | Description |
|---|---|---|
eOpMode | Input of the current operation mode. | |
fSpFrstProtec | REAL | Frost protection setpoint input for the "Protection" operation mode. |
fTWthDamp | REAL | Input of the damped outside temperature. |
Inputs CONSTANT
Name | Type | Description |
|---|---|---|
NgtOffs | AV object for inputting the value for the night setback. | |
SpFlWT | AV object for displaying the setpoint for the heating circuit. | |
HtgCrv | Calculation of the heating curve for the heating circuit depending on the damped outside temperature. |
Variables
Name | Type | Description |
|---|---|---|
PrioSwi | The multiplexer function block outputs the corresponding setpoint depending on the current operation mode eOpMod. |

Outputs