Chapter 8 Interrupt Function; Multiple Interrupt Function; Interrupt Priority - Mitsubishi Electric MELSEC iQ-F FX5 User Manual

Hide thumbs Also See for MELSEC iQ-F FX5:
Table of Contents

Advertisement

8
INTERRUPT FUNCTION
This chapter describes the interrupt function.
8.1

Multiple Interrupt Function

When an interrupt occurs while an interrupt program triggered by another cause is running, stops the program if its priority is
lower than that of the new interrupt, and runs the higher-priority program whenever its execution condition is satisfied.
• When the multiple interruption function is enabled
[Priority]
• I10: High
• I0: Low
I10 interrupt program
I0 interrupt program
Main routine program
Time
(1) A high-priority interrupt is executed by interrupting a low-priority interrupt.
(2) Even if a high-priority interrupt occurs, it enters the waiting status until the executing interrupt is completed.

Interrupt priority

If the interrupt priority of a program for which its execution condition has been satisfied is higher than that of the running
program, the programs are executed in accordance with their interrupt priority. If the interrupt priority of the new program is the
same or lower, it enters the waiting status until the running program finishes. (Page 247 The priority for the interrupt
pointer numbers and interrupt factors)
• When not set (at default)
(1)
During interruption execution
During interruption stop
(2)
I10 interrupt program
I0 interrupt program
Main routine program
Time
8 INTERRUPT FUNCTION
8.1 Multiple Interrupt Function
Interruption occurred
Program stops
Program restarts
53
8

Advertisement

Table of Contents
loading

Table of Contents