2 - 4
2.2.1 Main routine program
(1) Definition
Main routine program is an entire program from the step 0 to the END or FEND instruction.
(2) Program operation
A main routine program executes its operations from the step 0 to the END or FEND instruction and
then performs END processing.
After the END processing, the program restarts its operations from the step 0.
When multiple programs are executed, the main routine program operation after execution of the END or
FEND instruction varies depending on the preset execution conditions. ( Section 2.3.1)
Remark
For details of the END and FEND instructions, refer to the following.
QCPU Programming Manual (Common Instructions)
Figure 2.5 Main routine program
END/FEND
END/FEND
Main routine
program
Step 0
END
processing
Indicates execution of
the program.
The program operation
returns to the step 0.