Replace By Putting File Registers Forward - Mitsubishi Electric Artisan MELSEC-Q Series Manual

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

Advertisement

8.2.2 When file registers are used with consecutive numbers regardless of block numbers
Solution and Benefit
File registers can be replaced only by replacing the devices (R -> ZR) and using the existing data.
(1) Procedures for using data of ACPU
The procedures are the same as in 8.2.1(1).
(Some project files are necessary for each block.)
ACPU
Operation to retrieve data in block No.0
Operation to retrieve data in block No.1
Operation to retrieve data in block No.2
Operation to retrieve data in block No.3
Operation to retrieve data in block No.n
(2) Example of program for retrieving the contents of R8200 to R8209 (R8 to R17 in block No.1) to
D100 to D109
• Program of existing ACPU
• Program of QCPU/LCPU
Tip
1. Number of points in one file register block
ACPU and QCPU/LCPU vary in the number of points in one file register block.
• ACPU: 8K points (8192 points) per block
• QCPU/LCPU: 32K points (32768 points)per block
When copying the data in the ACPU file registers into QCPU/LCPU, display the QCPU/LCPU file
registers in the ZR mode on the device memory screen of GX Developer. Calculate the ZR number of the
destination QCPU/LCPU based on the number of points per block of ACPU, and copy the data.
• R0 to R8191 in ACPU block No.0 → Positions of ZR0 to ZR8191 in QCPU/LCPU
Examples)
• R0 to R8191 in ACPU block No.1 • Positions of ZR8192 to ZR16383 in QCPU/LCPU
• R0 to R8191 in ACPU block No.0 • Positions of ZR16384 to ZR24575 in QCPU/LCPU
2. The number of file register blocks which can be handled by QCPU/LCPU depends on the memory
capacities of the standard RAM and memory card.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
8.2 Procedures for replacing when file registers are used in blocks
* ACPU project file *
ACPU
Copy
project file(1)
ACPU
Copy
project file(2)
ACPU
Copy
project file(3)
ACPU
Copy
project file(4)
ACPU
Copy
project file (n)
* Q/LCPU project file *
(1 project file)
ZR0
ZR0 to ZR8191
ZR8192 to ZR16383
to
* Block No.0 *
ZR16384 to ZR24575
ZR32767
ZR24576 to ZR32767
ZR32768
ZR32768 to ZR40959
 ・  
* Block No.1 *
to
 ・  
 ・  
ZR65535
 ・  
ZR65536
 ・  
to
 ・  
 ・  
ZRm  to ZRm+8191
ZR98303
 ・  
  ・
* Block No.n *
 ・  
  ・
 ・  
  ・
165
Designating head device number of extension file
registers
Designating extension file registers device number
Reading
Storing read data to data register
Setting device number which is to be processed
following the data register and extension file
register

Advertisement

Table of Contents
loading

Table of Contents