Hitachi HIDIC MICRO-EH Applications Manual page 112

Table of Contents

Advertisement

Item number
Arithmetic instructions-17
Ladder format
d = s1 <> s2
Instruction format
d = s1 <> s2
Usable I/O
d
Substitution destination
s1
Comparand
s2
Relational number
Function
Substitutes 1 when s1 is not equal to s2 and otherwise 0 into d, assuming s1 and s2 as binary data.
Notes
The combinations of d, s1 and s2 are as follows:
d
Bit
Bit
Double word
Program example
Y00000= WR0000 < > WR0001
Program description
When WR0000 ≠ WR0001, "1" is set in Y00000. Otherwise, Y00000 is reset to "0."
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
s is a word
s is a double Word
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
s1
s2
Word
Word
Double word
5-62
Chapter 5 Instruction Specifications
<> Relational expression
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
60
Steps
4
46
6
Word
Double word
WR,
DR,
WM TC DX DY
DM
[
Y00000= WR0000 < > WR0001
]
Remark
Other

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents