3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(2) IInterrupt program management
Basic
Note9
Note3.9
Note9
Basic
Note3.9
3
- 14
3.1 Sequence Program
3.1.3 Interrupt programs
Interrupt programs are created after the main routine program (after the FEND
instruction).
The interrupt programs can also be managed as a single program.
(a) Creating interrupt programs after main routine program
1) Location of creating interrupt programs
Create interrupt programs between the FEND and END instructions of the
main routine program.
Interrupt
program
2) Restrictions on creation order
When creating multiple interrupt programs, it is not necessary to set the
interrupt pointer numbers in ascending order.
Since the Basic model QCPU cannot execute
multiple programs, the file name is fixed to
"MAIN".
Note3.9
Program A
Main routine
program
FEND
I0
Y10
IRET
I32
Y11
IRET
I28
Y12
IRET
END
Interrupt pointer
Figure 3.11 Interrupt programs
Write
File of
program A
File name is fixed to "MAIN".
MAIN
Main routine
program
FEND
I0
Y10
IRET
I32
Y11
IRET
I28
Y12
IRET
END