Download Print this page

Returning All Data Of The Index Register - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Returning all data of the index register

ZPOP(P)
These instructions read the data saved in the devices specified by (d) and later to index registers and long index registers.
Ladder diagram
(d)
FBD/LD
EN
ENO
d
Setting data
■Descriptions, ranges, and data types
Operand
Description
(d)
Head device number for returning the data of index registers
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(d)
Processing details
• These instructions read the data saved in the devices specified by (d) and later to index registers and long index registers.
• When the saved contents of the index registers and long index registers are read, "1" is subtracted from (d).
• The ZPUSH(P) instructions are used to temporarily save the data. The ZPUSH(P) and ZPOP(P) instructions are used in
pairs.
Operation error
Error code
Description
(SD0/SD8067)
2820H
The range of points used in (d) or later exceeds the range of the target device/label area.
3405H
(d) is 0 or negative.
8 APPLICATION INSTRUCTION
548
8.11 Index Register Operation Instruction
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=ZPOP(EN,d);
ENO:=ZPOPP(EN,d);
Range
Data type
16-bit signed binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANY16
BOOL
BOOL
Constant
Others
K, H
E
$

Hide quick links:

Advertisement

loading