6F3B0250
Basic Hardware and Function 199
7. Instructions

FUN 099 <> Not 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 not equal t o
B
, the
output is tur ned 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 const ant data 0, and if t he data of
D0125 is not 0, R020 is tur ned ON.
If t he data of D0125 is 10, t he com parison result is true. Consequently, R020 is tur ned O N.
D0125 10 ¹Constant 0 R020 is ON
If t he data of D0125 is 0, t he com parison result is f alse. Consequently, R020 is turned O FF.
D0125 0 =Constant 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