6F3B0253
Basic Hardware and Function 191
7. Instructions
FUN 109 U>= Unsigned greater than or equal
Expression
Input [ A >= B ] Output
Function
When the input is ON, the data of A and the data of B are compared, and if A is greater than or
equal to B, the output is turned ON.
Execution condition
Input Operation Output
OFF No execution OFF
ON Execution A BON
A < 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 R00C is ON, the data of D0125 is compared with the data of D0020, and if the data of
D0125 is greater than or equal to the data of D0020, R020 is turned ON.
If the data of D0125 is 40000 and that of D0020 is 40000, the comparison result is true.
Consequently, R020 is turned ON.
D0125 40000 D0020 40000 R020 is ON
If the data of D0125 is 15000 and that of D0020 is 20000, the comparison result is false.
Consequently, R020 is turned OFF.
D0125 15000 <D0020 20000 R020 is OFF
Note
This instruction deals with the data as unsigned integer (0 to 65535).