Range Block

The Range block tests whether a number is inside or outside a specified numerical range. The output result is True or False.
Choose the Range Mode


Mode Selector
Inputs
Output

Use the Mode Selector to choose whether to test if a number is Inside or Outside a range. The Range block compares the Test Value input to the range specified by the Lower Bound and Upper Bound inputs. The Result will be set to True or False, based on the result of the comparison.
Modes
Inside


The Inside mode sets the Result to True if the Test Value is inside the specified range.
Outside


The Outside mode sets the Result to True if the Test Value is outside of the specified range.
Inputs and Outputs
The inputs of the Range block provide the test value and the numeric range. You can enter the input values directly into the block. Alternatively, the values can be supplied by Data Wires from the outputs of other Programming Blocks.
InputTypeNotes
Test Value NumericNumber to test
Lower Bound NumericLowest number in range
Upper Bound NumericHighest number in range
The output of the Range Block gives the result of the comparison. To use the output, use a Data Wire to connect it to another Programming Block.
OutputTypeNotes
Result LogicResult of the range comparison (True or False)
Range
Quick links