Chapter 5 Instruction Specifications
5-39
Item number
Basic instructions-30
Name
<> Relational box (<> RELATIONAL BOX)
Ladder format
Condition code
Processing time (
µ
s)
Remark
R7F4
R7F3
R7F2
R7F1
R7F0
Average Maximum
(See Function column)
DER
ERR
SD
V
C
Upper case: W
z
z
z
z
z
26.8
40
Lower case: DW
Instruction format
Number of steps
LD
(s1 <> s2)
Condition
Steps
AND
(s1 <> s2)
Word
(See Notes)
34.5
50
OR
(s1 <> s2)
Double word
(See Notes)
Bit
Word
Double word
Usable I/O
X
Y
R,
M
TD, SS,
CU, CT
WX WY
WR,
WM TC DX DY
DR,
DM
C
onstant
Other
s1 Relational number 1
{
{
{
{
{
{
{ {
s2 Relational number 2
{
{
{
{
{
{
{ {
Function
[Ladder format]
s1
<>
s2
s1
<>
s2
s1
<>
s2
•
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:
0 to 65535 (decimal) or H0000 to HFFFF (hexadecimal)
When s1 and s2 are double words:
0 to 4294967295 (decimal) or H00000000 to HFFFFFFFF (hexadecimal)
Notes
[Number of steps]
Word
Double word
LD, AND (s1<>s2)
OR (s1<>s2)
LD
(s1 <> s2)
5 steps
I/O
I/O
5 steps
6 steps
AND
(s1 <> s2)
5 steps
I/O
Constant
6 steps
7 steps
OR
(s1 <> s2)
6 steps
Constant
I/O
6 steps
7 steps
Constant
Constant
7 steps
8 steps
Program example
R003
WR0000
< >
WR0002
LD
(WR0000 < > WR0002)
OUT R003
Program description
•
When WR0000
≠
WR0002, R003 turns on.
LD
(s
1 <> s
2)
A
ND
(s
1 <>
s2
)
O
R
(
s1
<
>
s2
)
Summary of Contents for HIDIC MICRO-EH
Page 1: ...HITACHI PROGRAMMABLE CONTROLLER APPLICATION MANUAL NJI 350B X ...
Page 12: ...MEMO ...
Page 14: ...Chapter 1 Features 1 2 MEMO ...
Page 50: ...Chapter 4 Product lineup and wiring 4 18 MEMO ...
Page 196: ...Chapter 5 Instruction Specifications 5 146 ...
Page 263: ...Chapter 11 Communication Specifications 11 10 MEMO ...