Versions Compared

Key

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

...

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 Off
3Manual On


Coded Solution:

Variable Declerations:

Image AddedImage Added

Code:

Image Added

Function Block Visual:

Image AddedImage Added