Chapter
4
Reference Manual
IVC-2D
138
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
Calculation
In Range
This tool checks whether or not a value is within a defined range. Usually the value is the
result from a previously performed program step. To set the range use
Min value allowed
for the lower bound and
Max value allowed
for the upper bound. If the value has to be
exact the value, lower and upper bound values should be identical.
If you want to continue your step program on a certain step depending on the comparison
result (conditional jump) you could use the ‘If in range goto’ tool from the Program cate-
gory.
Input Parameters
01 = Value
Value to be compared if it’s within the range or not.
02 = Min value allowed
Lower bound of the range
02 = Max value allowed
Upper bound of the range
Returned Values
01 = Comparison result
Return value = 1 if the Reference value is within the
range
Return value = 0 if the Reference value is out of the
range