1 RUNNING A PROGRAM
1.7 Interrupt Program
69
1
■
If an interrupt factor occurs while interrupt is disabled (DI)
• For I0 to I15, I28 to I31, I48, I49, and I50 to I1023
The interrupt factor that has occurred is memorized, and the interrupt program corresponding to the factor will be executed
when the interrupt is enabled. Even if the same interrupt factor occurs multiple times, it will be memorized only once. If the
IMASK instruction and SIMASK instruction are used to disable the interrupt, all the memorized factors will be discarded.
• For I45
The interrupt factor that has occurred is memorized, and the I45 interrupt program will be executed when the interrupt is
enabled. Even if the I45 interrupt occurs multiple times, its interrupt factor will be memorized only once. If the IMASK
instruction and SIMASK instruction are used to disable the interrupt, all the memorized factors will be discarded.
(1) The second and following interrupt factors that occur while interrupts have been disabled (DI) are not memorized.
(2) When interrupts are enabled, interrupts are executed in order from I49 because it has a higher priority.
(3) I28 is executed. (I49 is not executed for the second time.)
Mc: Multiple CPU synchronization cycle
(1) The interrupt factor is memorized.
(2) The second and following interrupt factors that occur while interrupts have been disabled (DI) are not memorized.
(3) The interrupt is executed.
(4) The interrupt is executed because interrupts are enabled.
×
×
I28
I49
I49
I28
t
(1)
(2)
(3)
Main routine program
I49 interrupt program
Interrupts are disabled.
(DI)
Interrupts are enabled.
(EI)
EI execution
I28 interrupt program
Priority level of
interrupt
High
Low
I45
I45
I45
(1)
(3)
t
Mc
Mc
Mc
Mc
(2)
(4)
Interrupts are disabled (DI).
Main routine program
I45 interrupt program
Summary of Contents for MELSEC iQ-R-R00CPU
Page 2: ......
Page 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Page 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Page 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Page 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Page 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Page 1027: ......