Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The override input is utilized for external control of the valves . Here the override function can take in three values. These values are 0, 1 and 2 which are mapped to the following,

Override ValueFunction
0Automatic
Mode
1Manual Off
2Manual On

While the valveState gives information about the current state of the valves, ie which mode is it inn. The output is mapped to four values as shown below,

ValveState ValueDescription
0Automatic Off
1Automatic On
2Manual
ON
Off
3Manual On


Coded Solution:

Variable Declerations:

Image AddedImage Added

Code:

Image Added

Function Block Visual:

Image AddedImage Added