Combination Of Index Modification; Precautions - Mitsubishi Electric MELSEC iQ-R Series User Manual

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

Advertisement

Combination of index modification

This section describes the combination of index modification.
Modification order for the device specification and index modification
According to the priority order shown below, the device specification (digit specification, bit specification, indirect specification)
and index modification can be applied. However, some word devices may not follow the priority order shown below.
Order of priority
When the device targeted for the device specification
and index modification is the bit device
High
1: Index modification
2: Digit specification
Low
Specification method combined with device specification
The device targeted for specification is modified in order of: 1st modification, 2nd modification and then 3rd modification.
Besides, the following contents can be used only for the device for which the 1st modification can be applied. (For example,
index modification + digit specification is impossible for the function input (FX).)
Device targeted for
specification
Bit device
Word device

Precautions

This section describes the precautions on using index modification.
Index modification between the FOR and NEXT instructions
Between the FOR instruction and the NEXT instruction, pulse output is provided through the edge relay (V). However, pulse
output by the PLS, PLF, or pulse conversion (P) instruction is not available ( Page 456 Edge relay (V))
Index modification by the CALL instruction
In the CALL instruction, pulse output is provided through the edge relay (V). However, pulse output by the PLS, PLF, or pulse
conversion (P) instruction is not available ( Page 456 Edge relay (V))
Device range check for index modification
For details on the device range check when index modification is performed, refer to the following.
 MELSEC iQ-R Programming Manual (CPU Module Instructions, Standard Functions/Function Blocks)
27 DEVICES
478
27.8 Index Register (Z/LZ)
1st modification
2nd modification
Index modification
Digit specification
Index modification
Bit specification
Index modification
Indirect Specification
Bit specification
Index modification
Indirect Specification
Bit specification
Index modification
Indirect Specification
Indirect Specification
Bit specification
When the device targeted for the device specification
and index modification is the word device
1: Index modification
2: Indirect specification
3: Bit specification
3rd modification
Example
K4M100Z2
D10Z2.0
@D10Z2
D10.8Z2
@D10.8
Bit specification
@D10Z2.8
Index modification
@D10.8Z2

Advertisement

Table of Contents
loading

Table of Contents