App. - 51
Appendix 5 Memory and File to be Handled by CPU Module
Data to be stored in memories
The following table lists the data and drive numbers which can be stored in
the program memory, standard RAM, standard ROM, and memory card.
CPU module built-in memory
Memory
card (RAM)
Memory card (ROM)
Program
memory
Standard
RAM
Standard
ROM
SRAM card Flash card ATA card
Item
Drive 0
*1
Drive 3
*1
Drive 4
*1
Drive 1
*1
Drive 2
*1
File name and
extension
Remarks
Parameter
PARAM.QPA 1 data/drive
Intelligent function
module
parameter
*2
IPARAM.QPA 1 data/drive
Program
*3
*4
*4
*4
***.QPG
-
Device comment
*5
*6
*6
*6
*6
***.QCD
-
Device initial value
***.QDI
-
Device data
***.QST
-
File register
*7*8
*9
***.QDR
-
Local device
*7
***.QDL
1 data/CPU
module
Sampling trace file
*7
***.QTD
-
Error history data
***.QFD
-
Device data
storage file
DEVSTORE.
QST
-
Module error
collection file
IERRLOG.
QIE
-
Backup data file
MEMBKUP0.
QBP
-
Programmable
controller user
data
*10
***.*** -
User setting
system area
*11
- -
: Required, : Storable, : Not storable
*1: A drive number is used to specify a memory to be written/read by the external device using a sequence program or MC protocol.
Since the memory name is used to specify the target memory in GX Works2, the drive number needs not to be considered.
*2: Store the intelligent function module parameters in the same drive with the parameters.
When they are stored in different drives, the intelligent function module parameters do not become valid.
*3: A program stored in the standard ROM cannot be executed.
Store the program to the program memory before execution.
*4: To execute a program stored in the memory card, make the setting in the Boot File tab of the Q Parameter Setting window.
*5: The device comments cannot be read by instructions in a sequence program.
*6: Reading from a sequence program requires several scans.
*7: Only each one of file register, one local device, and sampling trace file can be stored in the standard RAM.
*8: For the number of storable file registers, refer to QnUCPU User's Manual Function Explanation, Program Fundamentals.
*9: A sequence program allows reading only. No data can be written from the sequence program.
*10: Data can be written or read with the following instructions.
• SP.FREAD (batch-reads data from the specified file in the memory card.)
• SP.FWRITE (batch-writes data to the specified file in the memory card.)
*11: Set an area used by the system.