Returning The Selected Data Of The Index Register And Long Index Register - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Returning the selected data of the index register and long 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 and long index register.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
( is replaced by ZPOP_2 or ZPOPP_2.)
■Execution condition
Instruction
ZPOP
ZPOPP
Setting data
■Description, range, data type
Operand
Description
(s)
Dummy
(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
(s)
(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 or long index register.
• When the data saved to the index register and long index register is read, the number of saves (d) is decremented by 1.
• The date data in the device specified by (s) is regarded as dummy data and ignored.
• Refer to the following for the configuration of the areas used after (d).
Page 852 ZPUSH(P)
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_2(EN,s,d);
ENO:=ZPOPP_2(EN,s,d);
Range
Data type
16-bit unsigned binary
16-bit signed binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANY16
*1
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.11 Index Register Instructions
7
855

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents