EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Batch Save of Index Register, Batch Recovery of Index Register

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
766
7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
Batch save of index register, batch recovery of index register
ZPUSH(P), ZPOP(P)
Processing details
ZPUSH
Saves the contents of the following index registers to after the device specified by (D). (When contents of an index register
are saved, (D)+0 (the number of saves made) is increased by 1.)
The ZPOP instruction is used for data recovery. Nesting is possible within the ZPUSH to ZPOP cycle.
If nesting has been done, each time the ZPUSH instruction is executed, the field used following (D) will be added to, so a
field large enough to accommodate the number of times the instruction will be used should be maintained from the
beginning.
The composition of the field used following (D) is as shown below:
(D): Head number of the devices to/from which contents of an index register are saved/recovered (BIN 16 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant Others
Bit Word Bit Word
(D) 
Basic model QCPU: Z0 to Z9
High Performance model QCPU/Process CPU/Redundant CPU: Z0 to Z15
Universal model QCPU/LCPU: Z0 to Z19
When Basic model QCPU is used
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
P
D
D
ZPUSHP, ZPOPP
ZPUSH, ZPOP
indicates an instruction symbol of ZPUSH/ZPOP.
Z0
Z1
Z9
Z0
+1
+2
+10
+11
+15
+16
+17 Z1
(D)+0
·
·
Number of saves
Reserved by the
system (5 words)
1st nesting
(15 words for the 1st nesting)
2nd nesting

Table of Contents

Related product manuals