Hitachi HIDIC MICRO-EH Applications Manual page 93

Table of Contents

Advertisement

Item number
Basic instructions-34
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 less than or equal to s2, it enters the continuity status (on) and
if s1 is greater than s2, it enters the noncontinuity status (off).
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
R007
< =
WR0002
Program description
When WR0000 ≤ WR0002, R007 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 R007
5-43
Chapter 5 Instruction Specifications
≤ Relational box (≤ RELATIONAL BOX)
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
26.8
Steps
(See Notes)
42
(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
52
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