6F3B0253
Basic Hardware and Function 189
7. Instructions
FUN 107 D<= Double-word less than or equalExpression
Input −[ A+1⋅A D<= B+1⋅B ]− Output
Function
When the input is ON, the double-word data of A+1⋅A and B+1⋅B are compared, and if A+1⋅A is
less than or equal to B+1⋅B, the output is turned ON.
Execution condition
Input Operation Output
OFF No execution OFF
ON Execution A+1⋅A ≤ B+1⋅BON
A+1⋅A > B+1⋅BOFF
Operand
Name Device Register Constant Index
X Y R S T. C. XWYWRWSW T C D I J K
ACompared
data √√√√√√√ √
BReference
data √√√√√√√ √
Example
When R010 is ON, the data of D0101⋅D0100 is compared with the constant data 0, and if the
data of D0101⋅D0100 is less than or equal to 0, R014 is turned ON.
If the data of D0101⋅D0100 is -1, R014 is turned ON.
D0101⋅D0100 -1 ≤Constant 0 R014 is ON
If the data of D0101⋅D0100 is 10000, R014 is turned OFF.
D0101⋅D0100 10000 >Constant 0 R014 is OFF
Note
• This instruction deals with the data as double-word integer (-2147483648 to 2147483647).