Returning All Data Of The Index Register - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Returning all data of the index register

ZPOP(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions read the data, which has been saved to the specified area, into the index register.
Ladder
(d)
FBD/LD
EN
ENO
d
■Execution condition
Instruction
ZPOP
ZPOPP
Setting data
■Description, range, data type
Operand
Description
(d)
Start device to which the index register will be restored
EN
Execution condition
ENO
Execution result
*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
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(d)
Processing details
• These instructions read the data, which has been saved to the device specified by (d) or the array label element and later,
into the index register.
• When the content of the index register is read, the number of saves (d) is decremented by 1.
• Refer to the following for the configuration of the areas used after (d).
Page 849 ZPUSH(P)
Operation error
Error code
Description
(SD0)
3405H
The number of saves in (d)+0 is 0.
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
ENO:=ZPOP(EN,d);
ENO:=ZPOPP(EN,d);
Range
Data type
16-bit signed binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
*1
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.11 Index Register Instructions
7
851

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents