Mitsubishi Electric FX3G SERIES Programming Manual page 204

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Program examples
1)
Program example 1: One stack
Only one stack is used in this example.
Circuit program
X000
MPS
X003
MPP
MPS
X006
MRD
MRD
MPP
2)
Program example 2: One stack with ANB and ORB instructions
Circuit program
MPS
X000
MRD
MPP
202
MPS
X001
X002
Y000
Y001
MPP
X004
Y002
X005
Y003
X007
Y004
X010
Y005
X011
Y006
X012
Y007
X001
Y000
X002
X003
X004
Y001
X005
X006
X007
Y002
X010
Y003
X011
List program
0000 LD
X000
0001 AND X001
0002
MPS
0003 AND X002
0004 OUT Y000
0005
MPP
0006 OUT Y001
0007 LD
X003
0008
MPS
0009 AND X004
0010 OUT Y002
0011
MPP
0012 AND X005
0013 OUT Y003
0014 LD
X006
0015
MPS
0016 AND X007
0017 OUT Y004
0018
MRD
0019 AND X010
0020 OUT Y005
MRD
0021
0022 AND X011
0023 OUT Y006
MPP
0024
0025 AND X012
0026 OUT Y007
List program
0000 LD
X000
0001
MPS
0002 LD
X001
0003 OR
X002
0004 ANB
0005 OUT Y000
0006
MRD
0007 LD
X003
0008 AND X004
0009 LD
X005
0010 AND X006
0011 ORB
0012 ANB
0013 OUT Y001
0014
MPP
0015 AND X007
0016 OUT Y002
0017 LD
X010
0018 OR
X011
0019 ANB
0020 OUT Y003
7 Basic Instruction
7.8 MPS, MRD, MPP

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents