FB_HVACOverwriteAnalog

FB_HVACOverwriteAnalog 1:

Application

This function block overrides the input rValueIn if eCtrlMode = eHVACCtrlMode_Manual and forwards rManualValueIn to the output rValueOut.

VAR_INPUT

rValueIn       :REAL;
eCtrlMode      :E_HVACCtrlMode;
rManualValueIn :REAL;

rValueIn: analog input value forwarded to output rValueOut if eCtlrMode = eHVACCtrlMode_Auto.

eCtrlMode: the operation mode is selected via this enum. Manual or automatic operation mode.

rManualValueIn: analog manual input value forwarded to output rValueOut if eCtrlMode = eHVACCtrlMode_Manual.

VAR_OUTPUT

rValueOut       :REAL;

rValueOut: analog output value.