6 - 25 6 - 25
MELSEC-Q
6 HIGH PERFORMANCE MODEL QCPU FILES
An example for calculating the amount of memory capacity required when writing the
parameters and sequence programs in the program memory is shown below.
(1) Writing file
File name Program capacity
2
PARAM.QPA (parameter) —
MAIN.QPG (sequence program) 5000 steps (20000 bytes)
SUB.QPG (sequence program) 11500 steps (46000 bytes)
2: Indicates the program capacity displayed with GX Developer (total number of file
headers and created program steps.) (See Section 6.8.)
(2) Writing conditions
(a) Parameter: Default setting (564 bytes)
(b) Secured writing steps during RUN: Default setting (500 steps (2000 bytes))
(3) File memory capacity calculations
File name File capacity (units: bytes) Memory capacity
3
PARAM.QPA 564 4,096 bytes / 1 k steps
Sequence program capacity 20,000
Secured writing steps during RUN 2,000MAIN.QPG
Total 22,000
24,576 bytes / 6 k steps
Sequence program capacity 46,000
Secured writing steps during RUN 2,000SUB.QPG
Total 48,000
49,152 bytes / 12 k steps
File memory capacity total 77,824 bytes / 19 k steps
3: A program memory capacity in 4096 byte (1 k step) units is secured.