Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
18
1 Outline
1.1 Outline of Structured Programs and Programming languages
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1. Outline
This manual explains setting of sequence instructions for structured programs provided by GX Works2.
Refer to another manuals for device, parameter, and application functions for structured programs.
Refer to the following manual for label, data types and programming languages for structured programs.
Q/L/F Structured Programming Manual (Fundamentals)
1.1 Outline of Structured Programs and Programming languages
1.1.1 Outline of Structured Programs
You can construct two or more programs (program blocks) into one program.
Because you can divide the entire machine processing into small sub processes and create a program for
each sub process, you can create a program for a large system efficiently.
1. Structured program
Program structuring is a technique to divide the contents of control executed by the PLC CPU into
hierarchical small units (blocks) of processing, and then construct a program. By using this technique, you
can design a program while recognizing structuring of a sequence program.
Advantages of hierarchical program
You can examine the outline of a program at first, and then design its details gradually.
Program blocks located at the lowest level in the hierarchy are extremely simple and highly dependent.
Advantages of program consisting of program blocks
Because the processing of each block is clear, the entire program is easy to understand.
The entire program can be divided into several blocks that are created by several people.
The program reusability is improved, and the development efficiency is improved accordingly.
2. Improved reusability of programs
You can save program blocks in a library. Program resources in the library can be shared, and often used
again.