5.2 Bond Instructions
5.2.2 Operation result push/read/pop
5-9
5
SE
Q
U
EN
C
E
INSTRUCTION
S
M
P
S, MRD, MP
P
MPS, MRD, MPP
1. The following shows the ladders using and without using the MPS, MRD, and
MPP instructions.
2. The MPS and MPP instructions must be used the same number of times.
If the number of times these instructions are used differs from each other, the
ladder is not displayed correctly in the ladder mode on the peripheral.
O
p
erat
i
on
E
rror
No operation error occurs in the execution of the MPS, MRD and MPP instruction.
Program
E
xam
pl
e
(1) The program using the MPS, MRD, and MPP instructions.
[Structured ladder]
[ST]
OUT(MPS(MPS(X1D) AND M9) AND M68,Y32);
OUT(MPP(TRUE) AND TSO,Y33);
OUT(MPP(TRUE),Y34);
Ladder using the MPS, MRD, and MPP instructions
Ladder without using the MPS, MRD, and MPP
instructions
MPS
EN
ENO
X
0
X1
X2
Y
1
0
MRD
EN
ENO
X
3
X
4
Y
11
MPP
EN
ENO
X5
Y
12
X0
X1
X2
X4
X0
X1
X3
X0
X1
X5
Y10
Y11
Y12
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......