Hitachi HIDIC MICRO-EH Applications Manual page 89

Table of Contents

Advertisement

Item number
Basic instructions-30
Ladder format
(See Function column)
Instruction format
LD
(s1 <> s2)
AND
(s1 <> s2)
OR
(s1 <> s2)
Usable I/O
s1
Relational number 1
s2
Relational number 2
Function
[Ladder format]
Compares s1 and s2 as unsigned numbers, and
if s1 is equals to s2, it enters the noncontinuity status (off) and
if s1 is not equal to s2, enters the continuity status (on).
When s1 and s2 are words:
When s1 and s2 are double words:
Notes
[Number of steps]
Word
LD
(s1 <> s2)
AND
(s1 <> s2)
OR
(s1 <> s2)
Program example
WR0000
R003
< >
WR0002
Program description
When WR0000 ≠ WR0002, R003 turns on.
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
Word
Double word
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
s1
<>
s2
0 to 65535 (decimal) or H0000 to HFFFF (hexadecimal)
0 to 4294967295 (decimal) or H00000000 to HFFFFFFFF (hexadecimal)
Double word
5 steps
I/O
5 steps
I/O
6 steps
Constant
Constant
LD
(WR0000 < > WR0002)
OUT R003
5-39
Chapter 5 Instruction Specifications
<> Relational box (<> RELATIONAL BOX)
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
26.8
Steps
(See Notes)
34.5
(See Notes)
Word
Double word
WR,
WM TC DX DY
s1
<>
s2
LD, AND (s1<>s2)
I/O
5 steps
Constant
6 steps
I/O
6 steps
Constant
7 steps
Remark
Upper case: W
40
Lower case: DW
50
DR,
Other
DM
s1
<>
s2
OR (s1<>s2)
6 steps
7 steps
7 steps
8 steps

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents