FB_BA_Scale_04_Y2_3
![FB_BA_Scale_04_Y2_3 1:](Images/png/12344689419__Web.png)
The template is a setpoint program for an extract air/supply air cascade with only one room temperature setpoint, including summer and winter compensation.
Setpoint program for supply air temperature control with a supply air temperature setpoint, including summer/winter compensation via a characteristic curve.
The supply air temperature setpoint is determined by the function block Scale depending on the outside temperature.
![FB_BA_Scale_04_Y2_3 2:](Images/gif/12411221643__Web.gif)
![]() | The initialization of the template takes place within the method FB_Init. |
Block diagram
![FB_BA_Scale_04_Y2_3 4:](Images/png/14984355211__Web.png)
Syntax
FUNCTION_BLOCK FB_BA_Scale_04 EXTENDS FB_BA_View
VAR_INPUT
fTWth : REAL;
END_VAR
VAR_OUTPUT
fY : REAL;
END_VAR
VAR_INPUT CONSTANT
X1 : FB_BA_AV_Op;
X2 : FB_BA_AV_Op;
X3 : FB_BA_AV_Op;
X4 : FB_BA_AV_Op;
Y1 : FB_BA_AV_Op;
Y2_3 : FB_BA_AV_Op;
Y4 : FB_BA_AV_Op;
Y : FB_BA_AV_Op;
END_VAR
VAR
Scale : FB_BA_Chrct04;
END_VAR
Inputs CONSTANT
Name | Type | Description |
---|---|---|
X1 | The AV object is used to specify the value for interpolation point X1. | |
X2 | The AV object is used to specify the value for interpolation point X2. | |
X3 | The AV object is used to specify the value for interpolation point X3. | |
X4 | The AV object is used to specify the value for interpolation point X4. | |
Y1 | The AV object is used to specify the value for interpolation point Y1. | |
Y2_3 | The AV object is used to specify the value for the interpolation points Y2/Y3. | |
Y4 | The AV object is used to specify the value for interpolation point Y4. | |
Y | Output of the calculated, simple room temperature setpoint. It is output at output fY. |
Variables
Name | Type | Description |
---|---|---|
Scale | The function block represents a linear interpolation with four interpolation points and can be used to generate a characteristic curve. The function block calculates the setpoint curve for the current room temperature, depending on the outside temperature. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.2.1.0 |