6F3B0250
Basic Hardware and Function 197
7. Instructions

FUN 097 >= 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
³
B
ON
A
<
B
OFF
Operand
Name Device Re
g
ister Constant Index
X Y R S T. C. XW YW RW SW T C D I J K
A
Compared
data ÖÖÖÖÖÖÖÖÖÖ Ö Ö
B
Reference data ÖÖÖÖÖÖÖÖÖÖ Ö Ö
Example
When R00C is ON, t he data of D0125 is compar ed with the dat a of D0020, and if the data of
D0125 is great er t han or equal to the dat a of D0020, R020 is tur ned ON.
If t he data of D0125 is 3000 and that of D0020 is 3000, the com par ison r esult is true.
Consequently, R020 is t ur ned O N.
D0125 3000 ³D0020 3000 R020 is ON
If the data of D0125 is -1500 and that of D0020 is 0, the comparison result is false. Consequently,
R020 is turned OFF.
D0125 -1500 <D0020 0 R020 is OFF
Note
· This instr uct ion deals with the dat a as signed integer (-32768 to 32767).
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net