The range block isn’t too difficult a concept to grasp, yet it is one of the most essential parts of programming, given that it accommodates the margin of error found in most sensors. There are two modes (Inside/Outside) which generally refer to the position of the input value in accordance to the lower and upper boundaries. The output is a true/false value.
A sample use for the block is displayed below:
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Comments