Mitsubishi Electronics FX3G User Manual

Page of 964
195
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.5 LDP, LDF, ANDP, ANDF, ORP, ORF
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction 
Li
st
4
D
evices 
in Det
ai
l
5
Specifi
ed the
De
vice
 &
 
C
onst
ant
6
Bef
ore
 
Pr
og
ra
mmi
ng
7
Bas
ic 
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
Operati
on
Explanation of function and operation
1. LDP, ANDP, and ORP instructions (initial logical operation of rising edge pulse, serial 
connection of rising edge pulse, and parallel connection of rising edge pulse)
In the example shown above, M0 or M1 is ON during only one operation cycle when X000 to X002 turn from OFF to
ON.
ON
ON
ON
ON
X000
X001
M0
0000  LDP   X000
0002  ORP   X001
0004  OUT   M0
0005  LD
  M8000
0006  ANDP X002
0008  OUT   M1
M8000
X002
M1
RUN monitor
Timing chart
ORP instruction
LDP instruction
X000
M0
X001
Circuit program
List program
ON
ON during one
operation cycle
M8000
ANDP instruction
M1
X002
ON
ON
ON
ON during
one opera-
tion cycle
ORP instruction
LDP instruction
ANDP instruction