Mitsubishi Q00JCPU User Manual page 81

Q series, logic
Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

3
SEQUENCE PROGRAM CONFIGURATION AND
EXECUTION CONDITIONS
(4) When interrupt factor occurs
There are restrictions on interrupt programs depending on the interrupt factor
occurrence timing.
(a) When interrupt factor occurs before interrupts are enabled
(b) When interrupt factor occurs in STOP/PAUSE status
The CPU module stores the interrupt factor that has occurred.
As soon as interrupts are enabled, the interrupt program corresponding to the
stored interrupt factor is executed.
Main routine
program
Interrupt
program
Diagram 3.12 When interrupt factor occurs before interrupts are enabled
When the same interrupt factor occurs several times before interrupts are
enabled, the operation is performed as described below.
1) Basic model QCPU
Interrupt factors of I0 to I15, I28 to I31 and I50 to I127 are stored only once.
2) High Performance model QCPU, Process CPU or Redundant CPU
Interrupt factors of I0 to I27 and I50 to I255 are stored only once.
For those of I32 to I41 and I49, factors occurred in the interrupt-disabled status
are discarded.
For those of I28 to 31 and in the fixed scan execution type program, all
interrupt factors occurred are stored and, as soon as interrupt is enabled, all of
interrupt programs corresponding to those factors are executed.
Note that factors generated with interrupts masked by the IMASK instruction
are all discarded.
When an interrupt factor occurs in the STOP/PAUSE status, the CPU module
execute the interrupt program corresponding to the interrupt factor as soon as an
interrupts are enabled after the CPU module status changes to RUN.
Interrupt factor
occurrence
Main routine
program
Interrupt
program
Interrupt program
is not executed
during STOP.
Diagram 3.13 When interrupt factor occurs in STOP/PAUSE status
Interrupt factor
Interrupt enable (EI)
occurrence
Execution
Not executed as
Executed
interrupt is
when interrupt
disabled (DI).
is enabled.
STOP/PAUSE
to RUN
Interrupt enable (EI)
Execution
Executed when interrupt is
enabled after
STOP/PAUSE
3.1 Sequence Program
3.1.3 Interrupt programs
1
2
3
4
5
6
7
8
RUN.
3
- 16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents