beautypg.com

Hitachi NJI-350B User Manual

Page 54

background image

Chapter 5 Instruction Specifications

5-4

3.

Basic instructions (relational box)

R7F

4

R7F

3

R7F

2

R7F

1

R7F

0

Process

time

(

µ s)

C

la

ssi

fica

tio

n

It

em

num

ber

Ladder symbol

In

str

ucti

on

sy

m

bol Instruction

name

Process descriptions

I/O types used

DER ERR SD

V

C

MICRO-EH

S

teps Remarks

R

ela

tio

na

l b

ox 28

LD
(s1==
s2)

= Relational
box

When s1 = s2: Continuity
When s1

≠ s2:

Noncontinuity

z z z z z

27

5
6
7
8

*1
*2
Upper
case: W

AND
(s1==
s2)

[Word]
WX, WY, WR,
WM,
Timer Counter
[Double word]
DX, DY, DR,
DM

Constant

35

Lower
case: DW

OR
(s1==
s2)

29

LD
(s1
S==
s2)

Signed =
Relational
box

When s1 = s2: Continuity
When s1

≠ s2:

Noncontinuity
s1 and s2 are compared as
signed 32-bit binary.

DX, DY, DR,
DM

Constant

z z z z z

35

5
6
7
8

*2

AND
(s1
S==
s2)

OR
(s1
S==
s2)

30

LD
(s1<
>s2)

<>
Relational
box

When s1 = s2:
Noncontinuity
When s1

≠ s2: Continuity

z z z z z

26.8

5
6
7
8

*1
*2
Upper
case: W

AND
(s1<
>s2)

[Word]
WX, WY, WR,
WM,
Timer Counter
[Double word]
DX, DY, DR,
DM

Constant

34.5

Lower
case: DW

OR
(s1<
>s2)

31

LD
(s1
S<>
s2)

Signed <>
Relational
box

When s1 = s2:
Noncontinuity
When s1

≠ s2: Continuity

s1 and s2 are compared as
signed 32-bit binary.

DX, DY, DR,
DM

Constant

z z z z z

34.5

5
6
7
8

*2

AND
(s1
S<>
s2)

OR
(s1
S<>
s2)

*1:

In the case of word, it requires five steps for LD (s1†s2) and AND (s1†s2), and six steps for OR (s1†s2).

*2:

In the case of double word, for LD (s1†s2) and AND (s1†s2), it requires five steps when the combination of s1 and s2 is I/O
and I/O, six steps when the combination is either I/O and constant or constant and I/O, and seven steps when the combination
is constant and constant. For OR (s1†s2), one step is added respectively.

s1

<>

s2

s1

<>

s2

s1

<>

s2

s1

==

s2

s1

==

s2

s1

==

s2

s1

S==

s2

s1

S==

s2

s1

S==

s2

s1

S<>

s2

s1

S<>

s2

s1

S<>

s2