EasyManua.ls Logo

Mitsubishi MELSEC iQ-F FX5 series - Page 472

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
470
7 APPLICATION INSTRUCTION
7.9 Index register operation instruction
The following shows the areas of (d) and later used for the instructions (when Z0 to 13 and LZ0 to 4 are used).
Precautions
When a nesting structure is not adopted, clear (d) before executing the ZPUSH(P) instructions.
When a nesting structure is adopted, clear (d) before executing the first ZPUSH(P) instructions.
When the ZPOP(P) instructions are used to return the data of index registers, use the ZPOP(P) instructions corresponding
to the ZPUSH(P) instructions that were used for saving the data.
Do not change the values of (d)+1 and (d)+2 because they are used by the system. Do not change the values of the Z and
LZ save types stored in the devices specified by (d) and later because they are used by the system.
Secure the areas so that the save destination specified by (d) does not exceed the device range.
Operation error
ZPUSH(P) (One setting data) ZPOP(P) (One setting data)
ZPUSH(P) (Two setting data) ZPOP(P) (Two setting data)
Error code
(SD0/SD8067)
Description
2820 The range of points used in (d) or later exceeds the range of the target device/label area.
3405 A value other than 0 to 2 is specified in (s).
When the number of index registers is 0, "1" is specified in (s).
When the number of long index registers is 0, "2" is specified in (s).
Z0
Z1
Z13
LZ0
LZ1
LZ4
LZ0
LZ4
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+16
(d)+17
(d)+18
(d)+19
(d)+20
(d)+25
(d)+26
(d)+27
(d)+28
(d)+29
(d)+36
(d)+37
(d)+38
ZPUSH K0 D0
ZPUSH K2 D0
Number of times of batch-storage
Reserved by the system
(2 words)
1st nesting
(25 words for one nesting)
Z, LZ save type = 0
Z, LZ save type = 2
2nd nesting
(11 words for two nesting)
3rd nesting
(Save the whole range
of Z and LZ)
(Save the whole range
of LZ)

Table of Contents

Related product manuals