
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
62/
316
TITLE
DRAW.NO.
3.4.3 RANGE_(type)
Function
When EN is set to ON and is receiving the power flow, RANGE
compares input parameter IN with the range of L1 and L2. When L1 ≤≤
IN ≤≤ L2, or L2 ≤≤ IN ≤≤ L1, power is allowed to flow and Q is set to ON.
L1, L2 and IN must all be of the same data type.
RANGE_(type) instructions
Name Explanation
RANGE_INT Range compare of INT data
RANGE_UINT Range compare of UINT data
RANGE_DINT Range compare of DINT data
Format
RANGE
(type)
Q
L2
IN
(EN)
??????? ???????
???????
???????
L1
Parameters
Parameter Data type Meaning
EN BOOL Execution of comparison
L1 ANY_INT Threshold 1
L2 ANY_INT Threshold 2
IN ANY_INT Comparison data
Q BOOL
Set to ON when L1 ≤ IN ≤ L2, or L2 ≤ IN ≤ L1