Mitsubishi Electric melsec q00ujcpu User Manual page 45

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

Advertisement

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. (
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.)
Interrupt program execution timing
Main routine
program
Interrupt
program (I0)
Interrupt
program (I29)
2 - 6
Main routine
program
I0
Interrupt
program (I0)
I29
Interrupt
program (I29)
Figure 2.7 Interrupt program
Occurrence of the
interrupt factor for I0
Execution
Execution
Figure 2.8 Interrupt program execution timing
EI
Indicates the end
of the main routine
FEND
program.
IRET
IRET
END
Interrupt pointer
Occurrence of the
interrupt factor for I29
Execution
IRET
Execution
IRET
Section 9.11)
Execution
Time

Advertisement

Table of Contents
loading

Table of Contents