Chapter 5 Instruction Specifications
5-40
Item number
Basic instructions-31
Name
Signed <> Relational box (SIGNED <> 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
z
z
z
z
z
Command format
Number of steps
34.5
50
LD
(s1 S<> s2)
Condition
Steps
AND
(s1 S<> s2)
Double word
(See Cautionary notes)
OR
(s1 S<> s2)
Bit
Word
Double word
Usable I/O
X
Y
R,
L,
M
TD, SS,
CU, CT
WX WY
WR,
WM
TC DX DY
DR,
DM
Co
n
sta
n
t
Other
s1 Relational number 1
{
{
{
{
s2 Relational number 2
{
{
{
{
Function
[Ladder format]
s1
S<>
s2
s1
s2
s1
s2
S<>
S<>
z
Compares s1 and s2 as signed double-word 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).
z
s1, s2
– 2147483648 to + 2147483647 (decimal)
H80000000 to H7FFFFFFF (hexadecimal)
b31
b0
Sign bit: 0 - Positive; 1 - Negative
Cautionary notes
[Number of steps]
Double word
LD, AND (s1S<>s2)
OR (s1S<>s2)
I/O
I/O
5 steps
6 steps
I/O
Constant
6 steps
7 steps
Constant
I/O
6 steps
7 steps
Constant
Constant
7 steps
8 steps
Program example
R004
DR0000
S < >
DR0002
LD (DR0000 S < > DR0002)
OUT R004
Program description
z
When DR0000
≠
DR0002, R004 turns on (signed).
LD
(s
1 S
<> s
2)
A
N
D
(s
1 S
<>
s2
)
OR
(s1
S <
>
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 ...