EasyManua.ls Logo

Mitsubishi Electric melsec q03ud(E)cpu - Page 45

Mitsubishi Electric melsec q03ud(E)cpu
622 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 - 6
2.2.3 Interrupt program
(1) Definition
Interrupt program is a program from an interrupt pointer (I ) to the IRET instruction.
The interrupt factor varies depending on the interrupt pointer (I ) number. (
Section 9.11)
When an interrupt factor occurs, the interrupt program of the interrupt pointer number corresponding
to that factor is executed. (Interrupt programs are executed only when the corresponding interrupt
factor occurs.)
Figure 2.7 Interrupt program
Figure 2.8 Interrupt program execution timing
FEND
EI
IRET
IRET
END
I0
I29
Main routine
program
Interrupt
program (I0)
Interrupt
program (I29)
Indicates the end
of the main routine
program.
Interrupt pointer
Main routine
program
Interrupt
program (I0)
Interrupt
program (I29)
Interrupt program execution timing
Execution Execution Execution
Execution
Execution
IRET
IRET
Occurrence of the
interrupt factor for I0
Occurrence of the
interrupt factor for I29
Time

Table of Contents

Related product manuals