132
MPS, MRD, MPP
O
perat
io
n
E
rr
o
r
(1) There is no operation error in the ANB or ORB instruction.
P
r
og
ram
E
xamp
l
e
(1) A program using the ANB and ORB instructions.
[Ladder Mode]
[List Mode]
F
unct
io
n
MPS
(1) Stores the memory of the operation result (ON or OFF) immediately prior to the MPS instruction.
(2) Up to 16 MPS instructions can be used successively.
If the MPP instruction is used during this process, the number of uses calculated for the MPS instruction will be
decremented by one.
MRD
(1) Reads the operation result stored for the MPS instruction, and uses that result to perform the operation in the next step.
MPP
(1) Reads the operation result stored for the MPS instruction, and uses that result to perform the operation in the next step.
(2) Clears the operation results stored by the MPS instruction.
(3) Subtracts 1 from the number of MPS instruction times of use.
MPS
Operation results push
MRD
Operation results read
MPP
Operation results pop
5.2.2
MPS, MRD, MPP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
Other
Bit
Word
Bit
Word
––
––
Step
Instruction
Device
Basic
Process
High
performance
Redundant Universal
LCPU
I
n
the
l
a
dd
er
di
sp
l
ay
, MPS, MRD
an
d MPP
are
n
o
t
di
sp
l
aye
d.
MPS
MRD
MPP
Co
mman
d
Co
mman
d
Co
mman
d
Co
mman
d