Main Routine Program - Mitsubishi Electric melsec q00ujcpu User Manual

Programmable controller
Hide thumbs Also See for melsec q00ujcpu:
Table of Contents

Advertisement

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.
Main routine
program
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. (
Remark
For details of the END and FEND instructions, refer to the following.
QCPU Programming Manual (Common Instructions)
2 - 4
Step 0
END/FEND
END/FEND
END
processing
Figure 2.5 Main routine program
Indicates execution of
the program.
The program operation
returns to the step 0.
Section 2.3.1)

Advertisement

Table of Contents
loading

Table of Contents