![Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual Download Page 69](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-r-r00cpu/melsec-iq-r-r00cpu_user-manual_239139069.webp)
1 RUNNING A PROGRAM
1.7 Interrupt Program
67
1
1.7
Interrupt Program
A program from an interrupt pointer (I) through the IRET instruction.
*1 Only one interrupt program can be created with a single interrupt pointer number.
*2 The interrupt pointers are not required to be defined in an ascending order.
When an interrupt factor occurs, the interrupt program corresponding to its interrupt pointer number is executed (
364 The priority for the interrupt pointer numbers and interrupt factors). However, before that, interrupt must be enabled by
using the EI instruction.
Making a program a standby type allows it to be managed as a separate program. (
(1) This indicates the end of the main routine program.
I0: Interrupt factor for I0
I29: Interrupt factor for I29
FEND
EI
IRET
IRET
END
I0
I29
(1)
Main routine program
Interrupt program (I0)
Interrupt program (I29)
Interrupt pointer
*1*2
IRET
IRET
I0
I29
Main routine program
Interrupt program (I0)
Interrupt program (I29)
Execution
Execution
Execution
Execution
Execution
Time
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: ......