177
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.8 MPS, MRD, MPP
1
In
troduct
io
n
2
Ov
e
rv
ie
w
3
In
st
ru
ct
ion
Li
st
4
D
evi
ce
s
in
De
ta
il
5
Speci
fied t
h
e
D
evi
ce &
C
onst
a
nt
6
Bef
o
re
Pr
ogr
a
m
m
ing
7
Bas
ic
In
st
ru
cti
o
n
8
FNC0
0
-FNC0
9
P
ro
g
ra
m F
lo
w
9
FNC1
0
-FNC1
9
M
ov
e
&
C
om
par
e
10
FNC
20-
FNC
2
9
Ar
ith.
&
Logi
c
O
per
at
io
n
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