3 - 6
3.1 Sequence Program
3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(3) Sequence program classification
Sequence programs are classified into the following three types.
• Sequence programs are classified into the following three types.
• Main routine program Section 3.1.1
• Subroutine program Section 3.1.2
• Interrupt program Section 3.1.3
Note1
Figure 3.6 Sequence program classification
Note1
Basic
Note3.1
FEND
RET
IRET
END
P0
I0
File A
Main routine
program
Subroutine
program
Interrupt
program
Note3.1
Since the Basic model QCPU cannot execute
multiple programs, the file name is fixed to
"MAIN".
Basic
Note3.1
MAIN
P8
RET
FEND
RET
Y10
RET
END
Y11
Y12
P0
P1
Main routine
program
File name is fixed to "MAIN".