![Mitsubishi Electric MELSEC FX3G Programming Manual Download Page 213](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083213.webp)
211
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.8 MPS, MRD, MPP
1
Int
roduct
ion
2
O
ver
view
3
In
str
uc
tion
Li
st
4
D
evices
in D
etail
5
Spec
ified t
he
D
evice &
C
onst
ant
6
Bef
ore
Pr
ogr
am
m
ing
7
B
asic
In
st
ru
ct
io
n
8
FN
C
00-FN
C
09
P
rogr
am
F
low
9
FN
C
10
-FN
C
19
Mo
ve
&
Co
mp
are
10
FNC2
0-F
NC2
9
Ar
ith.
&
Logic
O
per
ation
2) Program example 2: One stack with ANB and ORB instructions
3) Program example 3: Two stacks
X000
X001
Y000
X002
MPS
X003
Y001
X004
X005
X006
X007
Y002
Y003
X010
X011
MRD
MPP
0000 LD X000
0001
0002 LD X001
0003 OR X002
0004 ANB
0005 OUT Y000
0006
0007 LD X003
0008 AND X004
0009 LD X005
0010 AND X006
0011 ORB
0012 ANB
0013 OUT Y001
0014
0015 AND X007
0016 OUT Y002
0017 LD X010
0018 OR X011
0019 ANB
0020 OUT Y003
MPS
MRD
MPP
Circuit program
List program
X000
X001
X002
Y000
Y001
MPP
X003
X004
X005
Y002
Y003
MPS
MPP
X006
MPS
MPS
MPP
0000 LD X000
0001
0002 AND X001
0003
0004 AND X002
0005 OUT Y000
0006
0007 AND X003
0008 OUT Y001
0009
0010 AND X004
0011
0012 AND X005
0013 OUT Y002
0014
0015 AND X006
0016 OUT Y003
MPS
MPS
MPP
MPP
MPS
MPP
Circuit program
List program