Chapter 5 Instruction Specifications
5-37
Item number
Basic instructions-28
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
27
40
Lower case: DW
Instruction format
Number of steps
LD
(s1 == s2)
Condition
Steps
AND
(s1 == s2)
Word
(See Notes)
35
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 continuity status (on) and
if s1 is not equal to s2, enters the noncontinuity status (off).
•
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
R001
WR0000
= =
WR0002
LD
(WR0000 == WR0002)
OUT R001
Program description
•
When WR0000 = WR0002, R001 turns on.
LD
(s
1 == s
2)
A
N
D
(s
1 ==
s2
)
O
R
(
s1
=
=
s2
)
Содержание HIDIC MICRO-EH
Страница 1: ...HITACHI PROGRAMMABLE CONTROLLER APPLICATION MANUAL NJI 350B X ...
Страница 12: ...MEMO ...
Страница 14: ...Chapter 1 Features 1 2 MEMO ...
Страница 50: ...Chapter 4 Product lineup and wiring 4 18 MEMO ...
Страница 196: ...Chapter 5 Instruction Specifications 5 146 ...
Страница 263: ...Chapter 11 Communication Specifications 11 10 MEMO ...