Batch Save Or Recovery Of Index Register (Zpush(P),Zpop(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.18.8
Batch save or recovery of index register
(ZPUSH(P),ZPOP(P))
ZPUSH(P),ZPOP(P)
ZPUSH, ZPOP
ZPUSHP, ZPOPP
Setting
Data
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,
increased by 1.)
• 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
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
Command
Command
: Head number of the devices to/from which contents of an index register are saved/recovered (BIN 16 bits)
D
Internal Devices
R, ZR
Bit
Word
––
will be added to, so a field large enough to accommodate the number of times
D
+0
D
Number of saves
+1
Z0
+2
Z1
+10
Z9
+11
Reserved by the
system (5 words)
+15
+16
Z0
Z1
+17
High
Basic
performance
indicates an instruction symbol of ZPUSH/ZPOP.
J
\
U
\G
Bit
Word
––
+ 0 (the number of saves made) is
D
is as shown below:
D
1st nesting
(15 words for the 1st nesting)
2nd nesting
ZPUSH(P),ZPOP(P)
Process
Redundant Universal
LCPU
D
P
D
Zn
Constants
Other
.
D
7-399
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents