FB_BA_BuildingSpRmT

FB_BA_BuildingSpRmT 1:

In this template the basic setpoints Protection Cooling ... Comfort Cooling and Protection Heating ... Comfort Heating are applied with correction values and made available as building-wide setpoints in a globally declared structure variable stBuildingSpRmT (see global variable list Site).

The correction affects the Precomfort and Comfort values respectively, see FB_BA_SpRmT. These are:

FB_BA_BuildingSpRmT 2:
FB_BA_BuildingSpRmT 3:

The initialization of the template takes place within the method FB_Init.

Illustration

FUNCTION_BLOCK FB_BA_BuildingSpRmT EXTENDS FB_BA_View
VAR_INPUT CONSTANT
  SumCpsn      : FB_BA_Scale_02;
  WinCpsn      : FB_BA_Scale_02;
  PrtcHtg      : FB_BA_AV_Op;
  EcoHtg       : FB_BA_AV_Op;
  PreCmfHtg    : FB_BA_AV_Op;
  CmfHtg       : FB_BA_AV_Op;
  PrtcCol      : FB_BA_AV_Op;
  EcoCol       : FB_BA_AV_Op;
  PreCmfCol    : FB_BA_AV_Op;
  CmfCol       : FB_BA_AV_Op;
  ShiftHtg     : FB_BA_AV_Op;
  ShiftCol     : FB_BA_AV_Op;
END_VAR

VAR
  SpRmT        : FB_BA_SpRmT;
END_VAR

FB_BA_BuildingSpRmT 4: Inputs CONSTANT

Name

Type

Description

SumCpsn

FB_BA_Scale_02

Value Summer compensation [K]

WinCpsn

FB_BA_Scale_02

Value Winter compensation [K]

PrtcHtg

FB_BA_AV_Op

Basic setpoint Protection Heating [°C]

EcoHtg

FB_BA_AV_Op

Basic setpoint Economy Heating [°C]

PreCmfHtg

FB_BA_AV_Op

Basic setpoint Precomfort Heating [°C]

CmfHtg

FB_BA_AV_Op

Basic setpoint Comfort Heating [°C]

PrtcCol

FB_BA_AV_Op

Basic setpoint Protection Cooling [°C]

EcoCol

FB_BA_AV_Op

Basic setpoint Economy Cooling [°C]

PreCmfCol

FB_BA_AV_Op

Basic setpoint Precomfort Cooling [°C]

CmfCol

FB_BA_AV_Op

Basic setpoint Comfort Cooling [°C]

ShiftHtg

FB_BA_AV_Op

Setpoint value shift Heating [K]

ShitfCol

FB_BA_AV_Op

Setpoint value shift Cooling [K]

Variables

Name

Type

Description

SpRmT

FB_BA_SpRmT

Function block for calculating the applied temperature setpoints.

Requirements

Development environment

Necessary function

TwinCAT from v3.1.4024.35

TF8040 | TwinCAT Building Automation from V5.0.0.0