Use Index Register As A 32-Bit (2-Word) Device - Mitsubishi Electric Artisan MELSEC-Q Series Manual

General-purpose programmable controllers, large/small
Table of Contents

Advertisement

7.3 Use index register as a 32-bit (2-word) device

7.3 Use index register as a 32-bit (2-word) device
After replacing ACPU instructions that use index registers, review and modify the programs because the A
Series and Q Series index registers differ in specifications (Z and V are for ACPU, and Z0 to Z15 are for QCPU).
The following are precautions for converting ACPU instructions that use index registers.
Frequently asked questions regarding the conversion of ACPU to QCPU program
(Inquiry example)
1. Device modification using index registers resulted in different Z and V device numbers.
Which QCPU devices are the Z and V devices in ACPU replaced with?
2. Index registers were used as 32-bit devices (2 words) in ACPU. However, when
upgrading to QCPU, the values of the index registers used for other purposes were
overwritten.
Can index registers be used as 32-bit devices (2 words) in QCPU?
(Answer)
The ACPU index registers, Z, Z1 to Z6, V, and V1 to V6, are replaced with Z0 to Z15.
If the index registers were used as 16-bit devices (1 word) in ACPU, the device numbers
will change once upgraded to QCPU. However, modification of the program is unnecessary.
If the index registers were used as 32-bit devices (2 words) in ACPU, the combination of Z
and V converts to Zn and Zn+1 in QCPU.
The index register numbers are different after replacement and modification of the program
is necessary.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
142

Advertisement

Table of Contents
loading

Table of Contents