CHAPTER 2
This chapter describes applications of programming.
2.1
Memory and Files
2.1.1
Memory configuration
The following table lists the memory configuration of the CPU module.
L02SCPU, L02SCPU-P
L02CPU, L02CPU-P, L06CPU, L06CPU-P, L26CPU, L26CPU-P,
L26CPU-BT, L26CPU-PBT
(1) Program memory
This memory stores programs and parameters required in processing of the CPU module.
(a) Processing a program
When a program is executed, data in the program memory are transferred to the program cache memory
the following timings.
• Initial processing at power-on
• Initial processing at reset
*1
The program cache memory is used for program operations.
(b) Writing to the program memory
When a program is written to the program memory, it is temporarily written to the program cache memory, and
then automatically transferred back to the program memory.
1) Data are written to the program
cache memory first.
Programming tool
While the CPU module is in the RUN status, automatic data transfer to the program memory can be disabled by setting.
( Page 153, Section 3.22.3)
APPLICATION OF PROGRAMMING
CPU module
Inside CPU module
Program
cache
memory
(SRAM)
<Drive 3>
<Drive 4>
Standard RAM
Standard ROM
(SRAM)
(flash ROM)
CHAPTER 2 APPLICATION OF PROGRAMMING
Memory configuration
Program memory, standard RAM, standard ROM
Program memory, standard RAM, standard ROM, SD memory card
<Drive 0>
Program
memory
(flash ROM)
2) After writing to the program
cache memory, the data are
automatically transferred to
the program memory.
2
*1
at
31