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)
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......