7.17 Other Instructions
7.17.8 Batch save and recovery of index registers
7-365
7
APPLI
C
A
T
IO
N
INSTRUCTIONS
ZPUSH, ZPOP
ZPUSH, ZPOP
7.17.8
Batch save and recovery of index registers
ZPUSH, ZPOP
Function
ZPUSH(P)
(1) Saves the contents of the following index registers to
and the following devices.
(When contents of an index register are saved,
+ 0 (the number of saves made) is
increased by 1.)
• High Performance model QCPU: Z0 to Z15
• Universal model QCPU: Z0 to Z19
(2) The ZPOP(P) instruction is used for data recovery. The ZPUSH(P) and ZPOP(P)
instructions are used as a pair and can be nested.
(3) If nesting has been done, each time the ZPUSH(P) instruction is executed, the field used
following
will be added, so a field large enough to accommodate the number of times the
instruction will be used should be reserved from the beginning.
ZPUSH(P)
ZPOP(P)
P: Executing condition
:
indicates any of the following
instructions.
ZPUSH
ZPUSHP
ZPOP
ZPOPP
Input argument,
EN:
Executing condition
:Bit
Output argument,
ENO:
Execution result
:Bit
d:
Start number of the device whose index registers are saved or
recovered
:ANY16
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
−
−
Universal
UD
High
Performance
Structured ladder
ST
ZPU
SH
EN
ENO
d
ZPU
SH
(EN, d);
ENO:=
d
d
d
d
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......