5
-
50
CHAPTER5 MEMORIES AND FILES USED FOR CPU MODULE
1
2
3
4
5
6
7
8
5.4 F
ile Operations by GX
D
eveloper
and Handling Precautions
5.4.4 U
nits of file size
s
2) Calculation of program size
The program size is found by the formula: sequence program size + reserved area for online change.
Since files are stored in units of file sizes to the program memory, the parameter file size is 525 steps + 500
steps = 1025 steps. However, the file occupies 1536 steps/6144 bytes.
3) Result
The calculation results of the memory capacities are as shown below.
Figure 5.42 Occupation in units of the file size (program file)
Table5.16 Calculation results of memory capacities
File name
File size
Memory capacity
PARAM.QPA
564 bytes
512 steps (2048 bytes)
MAIN.QPG
Sequence program size
525 steps
1536 steps (6144 bytes)
Reserved area for online
change
500 steps
Total
1025 steps
Total memory capacity
2048 steps (8192 bytes)
<In program memory>
Sequence
program
Sequence
program
Reserved
area for online
change
Reserved
area for online
change
The parameter file
occupies1536 steps
(6144 bytes).
525 steps
500 steps
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......