Mitsubishi Electronics QnUCPU Home Theater Server User Manual


 
1 - 4
(2) Structuring by dividing into multiple files
A program is stored in a file.
Changing the file name allows the CPU module to store multiple programs.
Dividing into multiple files according to the processes or functions enables simultaneous programming by two or
more designers. Managing the files separately eases reuse and utilization to other programs.
Structured programming is efficient in this way because only the corresponding file needs to be modified or
debugged in case of change in the specifications.
(a) Dividing into multiple files according to the processes
*1
*1: The processing contents divided according to the processes can further be divided and managed according to the
functions.
*2: The execution order can be set in the Program tab of the PLC parameter dialog box. ( Section 2.3(2)).
Figure 1.5 Structuring by dividing into multiple files
Figure 1.6 Dividing into multiple files according to the processes
GX Developer
CPU module
Multiple programs can be stored
by changing the file name.
File name: PARAM
Parameter Program Program
Device
comment
File name: ABC File name: ABC File name: DEF
Program memory/memory card
Program ACarrying in
Processing contents
are divided according
to the processes.
Program A to D will
be executed in the
specified order. *2
Manufacturing
Assembly
Carrying out
Program B
Program C
Program D