FB_BA_AC_ColTSuACtrl
The template represents the supply air temperature control of a cooler with the sequence controller Ctrl.
The sequence controller is enabled via the input variable bEn.
The sequence controllers are enabled for sequence control using the stSeqLink data and command structure. This is indicated by the variable bSeqActv.
The initialization of the template takes place within the method FB_Init. |
Block diagram
Syntax
FUNCTION_BLOCK FB_BA_AC_ColTSuACtrl EXTENDS FB_BA_View
VAR_INPUT
bEn : BOOL;
fSpTSuA : REAL;
fTSuA : REAL;
bSync : BOOL;
fSync : REAL;
END_VAR
VAR_OUTPUT
fY : REAL;
bIsActive : BOOL;
bSeqActv : BOOL;
END_VAR
VAR_IN_OUT
stSeqLink : ST_BA_SeqLink;
END_VAR
VAR_INPUT CONSTANT
Ctrl : FB_BA_SeqCtrl;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
bEn | BOOL | Enable for the frequency controller Ctrl. |
fSpTSuA | REAL | Setpoint of the supply air temperature. |
fTSuA | REAL | Measured value of the supply air temperature. |
bSync | BOOL | Pulse for synchronization of the sequence controller Ctrl. |
fSync | REAL | Value for the synchronization of the sequence controller Ctrl. |
Outputs
Name | Type | Description |
---|---|---|
fY | REAL | Control value output |
bIsActive | BOOL | The sequence controller is the active one in the sequence control. |
bSeqActv | BOOL | The sequence controller is implemented in the control sequence. |
Inputs/outputs
Name | Type | Description |
---|---|---|
stSeqLink |
The data and command structure is the link between the supply air temperature sequence controller Ctrl and the supply air temperature sequence controller TSeqLink of an air conditioning system. |
Inputs CONSTANT
Name | Type | Description |
---|---|---|
Ctrl |
The supply air temperature sequence controller Ctrl is the core of this template. It is responsible for the supply air temperature control of the cooler. The sequence controller is also part of the supply air temperature sequence control of an air conditioning system, see sample FB_BA_AC_SeqT. The data exchange within this sequence control takes place via the data and command structure stSeqLink. The global variable E_BA_AC_SeqNumber_T.eCooler gives the sequence controller its sequence number within the temperature sequence control. |
Requirements
Development environment | Necessary function |
---|---|
TwinCAT from v3.1.4024.35 | TF8040 | TwinCAT Building Automation from V5.0.0.0 |