6F3B0253
Basic Hardware and Function 187
7. Instructions
FUN 105 D<> Double-word not equal
Expression
Input [ A+1A D<> B+1B ] Output
Function
When the input is ON, the double-word data of A+1A and B+1B are compared, and if A+1A is not
equal to B+1B, the output is turned ON.
Execution condition
Input Operation Output
OFF No execution OFF
ON Execution A+1A B+1BON
A+1A = B+1BOFF
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 double-word data of D0101D0100 is compared with the double-word
data of D0251D0250, and if the data of D0101D0100 is not equal to the data of
D0251D0250, R014 is turned ON.
If the data of D0101D0100 is 250000 and D0251D0250 is 200000, R014 is turned ON.
D0101D0100 250000 D0251D0250 250000 R014 is ON
If the data of D0101D0100 is -100 and D0251D0250 is -100, R014 is turned OFF.
D0101D0100 -100 =D0251D0250 -100 R014 is OFF
Note
This instruction deals with the data as double-word integer (-2147483648 to 2147483647).