12 - 5 12 - 5
MELSEC-Q
12 PROCEDURE FOR WRITING PROGRAMS TO HIGH PERFORMANCE
MODEL QCPU
12.2 Procedure for Multiple Programs
This section describes the procedure for writing multiple programs split up according to
function, process, designer to the High Performance model QCPU and executing
them.
12.2.1 Items to consider when creating multiple programs
To create multiple programs, it is necessary to set in advance the size of each
program, the device used, and the program file name, etc.
(1) Program size considerations
Set the program capacity within the range of the High Performance model QCPU
program capacity.
The program capacities of the High Performance model QCPU's are shown
below:
• Q02CPU : 28 k steps
• Q02HCPU : 28 k steps
• Q06HCPU : 60 k steps
• Q12HCPU : 124 k steps
• Q25HCPU : 252 k steps
Decide whether the parameters are to be stored in the program memory, the
standard ROM, or the memory card.
If they are to be stored in the program memory/the standard ROM, the area
available for the program will be the capacity shown above, minus the parameter
data size.
(2) Designating a program file name
Designate the file name of the program to be stored in the High Performance
model QCPU.
This file name is used when writing the program and parameters from GX
Developer to the High Performance model QCPU, and when designating the
program to be executed in the High Performance model QCPU.
See Chapter 6 for details regarding file names.
(3) Designating the program execution conditions
In order to execute multiple programs in the High Performance model QCPU,
execution conditions must be designated for each program.
Execution is impossible for programs without file name and execution condition
settings.
See Section 4.2 for details regarding execution conditions.
(4) Designating devices
(a) Designate the number of device points used in each program, and the
number of device points which are shared by all programs.
See Chapter 10 for details regarding devices which can be used in the High
Performance model QCPU.
(b) Designate whether or not the internal relays, edge relays, timers, counters,
and data registers of each program are to be designated as local devices.
See Section 10.13.1 for details regarding local devices.
(c) When creating sub-routine programs, designate whether or not common
pointers are to be used.
See Section 10.9.2 for details regarding common pointers.
(5) Device initial value setting
Designate whether or not the device initial value settings are to be used for the
High Performance model QCPU devices and intelligent function modules.
See Section 10.13.2 for details regarding device initial values.
Содержание QCPU (Q Mode)
Страница 111: ...5 19 5 19 MELSEC Q 5 ASSIGNMENT OF I O NUMBERS MEMO ...
Страница 450: ...App 59 App 59 MELSEC Q APPENDICES MEMO ...