Hitachi HIDIC MICRO-EH Applications Manual page 110

Table of Contents

Advertisement

Item number
Arithmetic instructions-15
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 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
M0000 = WX0000 = = WX0001
Program description
When WX0000 = WX0001, M0000 is set to "1." Otherwise, M0000 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-60
Chapter 5 Instruction Specifications
= Relational expression
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
60
Steps
4
48
6
Word
Double word
WR,
DR,
WM TC DX DY
DM
[
M0000 = WX0000 = = WX0001
]
Remark
Other

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents