Mitsubishi Electric MELSEC FX3U Programming Manual page 211

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Explanation of function and operation
These instructions are convenient in programming branched multi-output circuits.
1. MPS, MRD, and MPP instructions (stores the current result of the internal PLC operations,
reads the current result of the internal PLC operations, and pops (recalls and removes) the
currently stored result)
MPS
X004
X005
18
X006
MRD
X007
MRD
MPP
• Use MPS instruction to store the intermediate result of operation, and then drive the output Y002.
• Use MRD instruction to read the stored data, and then drive the output Y003.
MRD instruction can be programmed as many times as necessary.
• In the final output circuit, use MPP instruction instead of MRD instruction.
MPP instruction reads the stored data described above, and then resets it.
Error
MPS instruction can be used two or more times.
However, the difference between number of MPS instructions and the number of MPP instructions should be
11 or less, and should be 0 at the end.
0018 LD
X004
Y002
0019
MPS
0020 AND X005
Y003
0021 OUT Y002
0022
MRD
Y004
0023 AND X006
0024 OUT Y003
Y005
0025
MRD
0026 OUT Y004
0027
MPP
0028 AND X007
0029 OUT Y005
0030 END
7 Basic Instruction
7.8 MPS, MRD, MPP
MPP
1
[2]
MRD
2
[1]
3
MPS
MPP
10
11
Stack
1
2
3
4
5
6
7
8
9
10
209

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents