FB_HVACOverwriteDigital
Application
This function block overrides the state of the input bIn if eCtrlMode = eHVACCtrlMode_Manual and forwards it to the output bOut.
VAR_INPUT
bIn :BOOL;
eCtrlMode :E_HVACCtrlMode;
bManualIn :BOOL;
bIn: digital input variable whose state is forwarded to output bOut if eCtlrMode = eHVACCtrlMode_Auto.
eCtrlMode: the operation mode is selected via this enum. Manual or automatic operation mode.
bManualIn: digital input variable whose state is forwarded to the output bOut if eCtrlMode = eHVACCtrlMode_Manual.
VAR_OUTPUT
bOut :BOOL;
bOut: digital output variable.