Mitsubishi Electric MELSEC iQ-R Series User Manual page 118

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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.
Interrupt factor
Execution of the interrupt
program
Execution of link refresh
(1) The link refresh is suspended and the interrupt program is executed.
■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. ( Page 129 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 132 Multiple interrupt
execution sequence)
Main routine program
High
Interrupt program (I50)
Priority
Interrupt program (I100)
Low
Interrupt program (I150)
8 RUNNING A PROGRAM
116
8.7 Interrupt Program
10ms
10ms
Interrupt enabled (EI)
I50 I100
10ms
10ms
(1)
Simultaneous occurrence of multiple
interrupt factors
I150
Execution
IRET
Execution
Waiting to
IRET
be processed
Waiting to be processed
Execution
IRET

Advertisement

Table of Contents
loading

Table of Contents