68
1 RUNNING A PROGRAM
1.7 Interrupt Program
Operation upon occurrence of an interrupt factor
The following shows the operation when an interrupt factor occurs.
■
If an interrupt factor occurs during link refresh
The link refresh is suspended and the interrupt program is executed. Even though the station-based block data assurance is
enabled for cyclic data during refresh of such links as CC-Link IE Field Network, if the interrupt program uses a device
specified as the refresh target, the station-based block data assurance for cyclic data is not available.
■
If an interrupt factor occurs during the waiting time after END processing in constant scan
execution
The interrupt program for the interrupt factor is executed.
■
If another interrupt occurs while the interrupt program is being executed
If an interrupt such as a fixed scan execution type program (including an interrupt which triggers the event execution type
program) is triggered while an interrupt program is being executed, the program operates in accordance with the interrupt
priority. (
■
If multiple interrupt factors occur simultaneously while the interrupt is enabled
The interrupt programs are executed in the order of priority. If multiple interrupts with the same interrupt priority occur
simultaneously, the interrupt programs are executed in the order of interrupt priority. (
Page 84 Multiple interrupt execution
(1) The link refresh is suspended and the interrupt program is executed.
(1)
10ms
10ms
10ms
10ms
Interrupt factor
Execution of link refresh
Execution of the interrupt
program
I50 I100
I150
IRET
IRET
IRET
Execution
Execution
Execution
Interrupt enabled (EI)
Simultaneous occurrence of multiple
interrupt factors
Main routine program
Interrupt program (I50)
Interrupt program (I100)
Interrupt program (I150)
High
Priority
Low
Waiting to
be processed
Waiting to be processed
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: ......