203
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.8 MPS, MRD, MPP
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
Program examples
1) Program example 1: One stack
Only one stack is used in this example.
2) Program example 2: One stack with ANB and ORB instructions
X000 X001 X002
Y000
Y001
X003 X004
Y002
Y003
X005
MPS
MPP
MPP
X006 X007
Y004
Y005
X010
MPS
MRD
Y006
X011
MRD
Y007
X012
MPP
0000 LD X000
0001 AND X001
0002
0003 AND X002
0004 OUT Y000
0005
0006 OUT Y001
0007 LD X003
0008
0009 AND X004
0010 OUT Y002
0011
0012 AND X005
0013 OUT Y003
0014 LD X006
0015
0016 AND X007
0017 OUT Y004
0018
0019 AND X010
0020 OUT Y005
0021
0022 AND X011
0023 OUT Y006
0024
0025 AND X012
0026 OUT Y007
MPS
MPP
MPS
MPP
MPS
MRD
MRD
MPP
MPS
Circuit program List program
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