Chapter 5 Instruction Specifications
5-14
Item number
Basic instructions-1, 2
Name
Logical operation start (LD, LDI)
Ladder format
Condition code
Processing time (
µ
s)
Remark
R7F4
R7F3
R7F2
R7F1
R7F0
Average Maximum
DER
ERR
SD
V
C
n
n
z
z
z
z
z
Instruction format
Number of steps
0.9
←
LD
n
Condition
Steps
LDI
n
—
1
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
o
nstant
Other
n
I/O number
{
{
{
{
Function
n
LD n
Starts the a-contact logical operation. Enters the continuity state when input is on.
n
LDI n
Starts the b-contact logical operation. Enters the continuity state when input is off.
Notes
•
Edge detection (DIF, DFN) cannot be used in respect to LDI.
•
Pay close attention if the external output is to be monitored when counter input (coincidence output), PWM output or pulse
output is set with the PI/O function.
Y100
WR0 = WR0 + 1
DIF1
Y100 will not change while monitored. It will remain the same value previously set using functions such as
set/reset.
For example, if Y100 is off, the Y100 status will not change while being monitored and WRO will also remain
unchanged.
Program example
X00000
X00001
Y00100
Y00101
LD
OUT
LDI
OUT
X00000
Y00100
X00001
Y00101
Program description
•
When input X00000 is on, output Y00100 is on; when off, the output is off.
•
When input X00001 is off, output Y00101 is on; when on, the output is off.
LD
n
LD
I
n
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 ...