Versions Compared

Key

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

...

And the outputs needs to be,

  • bar_read:REAL;

This Function block could have been a Function. However, to make it easy to expand on the function block in the future, it was created as a Function Block.


The coded implementation looks like this,

Image Added


Visually the new function block looks as following,