5
- 50
5.3 Program File Structure
5
MEMORIES AND FILES HANDLED BY CPU MODULE
5.3 Program File Structure
A program file consists of a file header, execution program and allocate memory for online
program change.
(1) Structure details
The capacity of the program stored in the program memory of the CPU module is the
total of the above three areas.
(a) File header
This area stores the file name, size, creation date, etc.
The file header size ranges from 25 to 35 steps (100 to 140 bytes) depending on
the device setting of the PLC parameter dialog box.
(Default: 34 steps)
(b) Execution program
This area stores the created program.
(c) Allocate memory for online program change
This area is used when online program change that increases the number of
steps is performed by GX Developer.
When such an online program change is performed by GX Developer, the number
of remaining allocate memory for online program change is displayed.
1) Default number of allocate memory for online program change
The default setting is 500 steps (2000 bytes).
2) Changing the number of allocate memory for online program change
The number of allocate memory for online program change can be changed
by GX Developer (by choosing [Online] [Write to PLC] <Program>‚ tab).
When the number of steps is insufficient for online program change, it can be
set again. ( Section 6.12.1)
Diagram 5.38 Program file structure
Program file structure
File header
Execution program
34 steps
500 steps
(By dafult)
Allocate memory
for online program
change
Area is secured in file size units.
( Section 5.4.4)