132
MPS, MRD, MPP
Operation Error
(1) There is no operation error in the ANB or ORB instruction.
Program Example
(1) A program using the ANB and ORB instructions.
[Ladder Mode] [List Mode]
Function
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.
5.2.2 MPS Operation results push
MRD Operation results read
MPP Operatio n 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
In the ladder display, MPS, MRD and MPP are not displayed.
MPS
MRD
MPP
CommandCommand
Command
Command