
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
171/
316
TITLE
DRAW.NO.
4.4.7 Range
4.4.7.1 RANGE_INT(l1, l2, in)
If l1 < in < l2, boolean accumulator 1
Otherwise, boolean accumulator 0
Test if a value is within a range limited by two other values.
l1: INT variable or constant; the lower limit of the range.
l2: INT variable or constant; the upper limit of the range.
in: INT variable or constant; the value under test
4.4.7.2 RANGE_UINT(l1, l2, in)
If l1 < in < l2, boolean accumulator 1
Otherwise, boolean accumulator 0
Test if a value is within a range limited by two other values.
l1: UINT variable or constant; the lower limit of the range.
l2: UINT variable or constant; the upper limit of the range.
in: UINT variable or constant; the value under test.
4.4.7.3 RANGE_DINT(l1, l2, in)
If l1 < in < l2, boolean accumulator 1
Otherwise, boolean accumulator 0
Test if a value is within a range limited by two other values.
l1: DINT variable or constant; the lower limit of the range.
l2: DINT variable or constant; the upper limit of the range.
in: DINT variable or constant; the value under test.
For more details, see LD Functions.
Note: IL and LD functions are generally the same, with some differences in data types for operands.