852
7 APPLICATION INSTRUCTIONS
7.11 Index Register Instructions
Saving the selected data of the index register and long index
register
ZPUSH(P)
These instruction save the contents of the index register and long index register to the specified area.
■Execution condition
■Descriptions, ranges, and data types
*1 When specifying data with a label, define the array so that an area required for operation can be secured, and specify the array label
element.
■Applicable devices
Ladder ST
ENO:=ZPUSH_2(EN,s,d);
ENO:=ZPUSHP_2(EN,s,d);
FBD/LD
( is replaced by ZPUSH_2 or ZPUSHP_2.)
Instruction Execution condition
ZPUSH
ZPUSHP
Operand Description Range Data type Data type (label)
(s) Type of the index register and long index register to be
saved
1 to 3 16-bit unsigned binary ANY16
(d) Start device to which the index register and long index
register will be saved
16-bit signed binary ANY16
*1
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s)
(d)
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)