Mitsubishi MELSEC-Q/L Programming Manual page 618

Table of Contents

Advertisement

ZPUSH, ZPUSHP, ZPOP, ZPOPP
7.18.8
ZPUSH, ZPUSHP
Batch save of index register
7.18.8
ZPOP, ZPOPP
Batch recovery of index register
ZPUSH, ZPUSHP, ZPOP, ZPOPP
ZPUSH, ZPOP
ZPUSHP, ZPOPP
: Head number of the devices to/from which contents of an index register are saved/recovered (BIN 16 bits)
D
Setting
Internal Devices
Data
Bit
Word
––
D
Function
ZPUSH
(1) Saves the contents of the following index registers to after the device specified by
(When contents of an index register are saved,
• Basic model QCPU: Z0 to Z9
• High Performance model QCPU/Process CPU/Redundant CPU: Z0 to Z15
• Universal model QCPU/LCPU: Z0 to Z19
(2) The ZPOP instruction is used for data recovery. Nesting is possible within the ZPUSH to ZPOP cycle.
(3) If nesting has been done, each time the ZPUSH instruction is executed, the field used following
field large enough to accommodate the number of times the instruction will be used should be maintained from the
beginning.
(4) The composition of the field used following
• When Basic model QCPU is used
• When using a High Performance model QCPU/Process CPU/Redundant CPU
616
Command
Command
J
\
R, ZR
Bit
Word
+ 0 (the number of saves made) is increased by 1.)
D
is as shown below:
D
+0
D
Number of saves
+1
Z0
+2
Z1
1st nesting
(15 words for the 1st nesting)
+10
Z9
+11
Reserved by the
system (5 words)
+15
+16
Z0
Z1
+17
2nd nesting
D
+0
Number of saves
+1
Z0
+2
Z1
1st nesting
(18 words for the 1st nesting)
+16
Z15
+17
Reserved by the
system (2 words)
+18
Z0
+19
Z1
+20
2nd nesting
High
Basic
Process
Redundant Universal
performance
indicates an instruction symbol of ZPUSH/ZPOP.
P
Zn
U
\G
––
.
D
LCPU
D
D
Constants
Other
will be added to, so a
D

Advertisement

Table of Contents
loading

Table of Contents