550
8 APPLICATION INSTRUCTION
8.11 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
2820H
The range of points used in (d) or later exceeds the range of the target device/label area.
3405H
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)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......