FB_BA_H_HtgCir_Sp

FB_BA_H_HtgCir_Sp 1:

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

FB_BA_H_HtgCir_Sp 2:
FB_BA_H_HtgCir_Sp 3:

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

FB_BA_H_HtgCir_Sp 4: Inputs

Name

Type

Description

eOpMode

E_BA_EnergyLvl

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.

FB_BA_H_HtgCir_Sp 5: Outputs

Name

Type

Description

fSpFlWT

REAL

Output of the setpoint for the heating circuit.

FB_BA_H_HtgCir_Sp 6: Inputs CONSTANT

Name

Type

Description

NgtOffs

FB_BA_AV_Op

AV object for inputting the value for the night setback.

SpFlWT

FB_BA_AV_Op

AV object for displaying the setpoint for the heating circuit.

HtgCrv

FB_BA_Scale_04

Calculation of the heating curve for the heating circuit depending on the damped outside temperature.

Variables

Name

Type

Description

PrioSwi

FB_BA_MMUX_R04

The multiplexer function block outputs the corresponding setpoint depending on the current operation mode eOpMod.