FB_HVACOutsideTempDamped

FB_HVACOutsideTempDamped 1:

This function block serves to determine the average or damped outside temperature. In automatic mode the mean outside temperature is calculated from the outside temperature values at 7 am, 2 pm and 9 pm. The measurement taken at 9 pm receives double the weighting.

VAR_INPUT

bEnable                : BOOL;
rOutsideTemp           : REAL;
dtSystemTime           : DT;
bResetInternalValues   : BOOL;
eCtrlMode              : E_HVACCtrlMode;
rManualValue           : REAL;

bEnable: The function block is enabled by the PLC program with the input variable bEnable. If bEnable = FALSE, the last valid value of the damped outside temperature is output.

rOutsideTemp: This input variable transfers the current outside temperature to the function block.

dtSystemTime: This input variable transfers the date and time to the function block.

bResetInternalValues: Using this input variable, the internally stored outside temperatures are reset and the current outside temperature is then adopted.

eCtrlMode: The operation mode is selected via this Enum. Manual or automatic mode (see E_HVACCtrlMode).

rManualValue: Manual value that is set at the output rOutsideTempDamped if eCtrlMode = eHVACCtrlMode_Manual.

VAR_OUTPUT

rOutsideTempDamped      : REAL;

rOutsideTempDamped: Damped outside temperature.

Requirements

Development environment

required library

required function

TwinCAT 3.1 build 4022.16 or higher

Tc2_HVAC V3.3.1.0

TF8000 | TC3 HVAC V1.0.0.0