Mitsubishi Electric melsec q00ujcpu User Manual page 392

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

(b) When using the index register for a 32-bit instruction
The processing target is Zn and Zn+1.
The lower 16 bits correspond to the specified index register number (Zn), and the higher 16 bits correspond to
the specified index register number + 1.
When Z2 is specified in the DMOV instruction, Z2 represents the lower 16 bits and Z3 represents
Example
the higher 16 bits. (The most significant bit in a 32-bit structure is a sign bit.)
(3) When using 32-bit index modification
For the file register (ZR), extended data register (D), extended link register (W) using the serial number access
method, 32-bit index modification using two points of the index register is available.
The following two kinds of methods can be used to specify the index register.
• Specify the range used for 32-bit index modification.
• Specify the 32-bit index modification using "ZZ".
Remark
For details of index modification, refer to the following.
QCPU Programming Manual (Common Instructions)
注 1
Note9.3
Universal
When specifying the 32-bit index modification using "ZZ" for the Q02UCPU, Q03UDCPU, Q04UDHCPU,
Q06UDHCPU, Q13UDHCPU, or Q26UDHCPU, check the versions of the CPU module and GX Developer.
(
Appendix 2)
DMOV
Figure 9.60 Data transfer with a 32-bit instruction and storage location
D0 Z2
Processing target:
Z3
Z2
Upper 16 bits Lower 16 bits
íç1
Note9.3
CHAPTER9 DEVICES
9
2
3
4
5
6
7
8
9 - 47

Advertisement

Table of Contents
loading

Table of Contents