5
-
49
(2) Calculation example of memory capacity
The following shows an calculation example of memory capacity when the parameters and sequence program
are written to the program memory.
(a) Conditions
1) CPU module to be written: Q25HCPU
2) Writing file
*1: For the file size, refer to Section 5.4.3.
*2: This indicates the program size (file execution program) displayed on the GX Developer screen. (
3) Reserved area for online change: 500 steps/2000 bytes
(b) Memory capacity calculation
The memory capacity is calculated in units of file sizes of the CPU module to be written.
The file size unit of the Q26UDHCPU in this example is 1 step/4 bytes. (
1) Calculation of parameter file size
Since files are stored in units of file sizes to the program memory, the parameter file size is 564 bytes.
However, the file occupies 512 steps/2048 bytes.
Table5.15 File sizes
File name
File size
*1
PARAM.QPA (parameter file)
564 bytes
MAIN.QPG (sequence program)
525 steps/2100 bytes
*2
Figure 5.41 Occupation in units of the file size (parameter file)
<In program memory>
Parameter
file
Parameter
file
The parameter file
occupies 2048 bytes
(512 steps).
564 bytes
Содержание 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: ......