EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #335 background imageLoading...
Page #335 background image
7 APPLICATION INSTRUCTION
7.3 Program execution control instruction
333
7
• By executing the EI instruction, the interrupt with the priority disabled by the counterpart DI instruction is enabled. However,
when interrupts are disabled only with the DI instruction without an argument, interrupts with all the priorities are enabled by
executing the EI instruction once.
• Interrupts (requests) that are generated after the DI instruction are processed after the EI instruction is executed.
• When multiple DI instructions are executed and the argument has a priority higher than the currently disabled priority,
interrupts with a priority lower than that of the argument are disabled.
• When multiple DI instructions are executed and the argument has a priority lower than the currently disabled priority, the
interrupt disabled state is not changed.
• The DI instruction can be nested in up to 16 levels.
• The interrupt priority of the interrupt pointer can be set with parameters. (MELSEC iQ-F FX5 Series User's Manual
[Application])
• The interrupt-disabled priority can be checked with SD758 (interrupt-disabling priority setting value).
• The following shows the interrupt-disabled section when the DI or EI instruction is executed.
(1) Interrupt-enabled section for all priority
(2) Interrupt-disabled section for the priority 3 or lower
(Interrupt-enabled section for the priority 2 or higher)
(3) Interrupt-disabled section for the priority 2 or lower
(Interrupt-enabled section for the priority 1 or higher)
(4) Interrupt-disabled section for the priority 3 or lower
(Interrupt-enabled section for the priority 2 or higher)
(5) Interrupt-enabled section for all priority
• When multiple DI instructions are executed (when interrupts with a priority higher than the currently disabled priority are specified and disabled)
(1) Interrupt-enabled section for all priority
(2) Interrupt-disabled section for the priority 3 or lower (interrupt-enabled section for the priority 2 or higher)
(3) Interrupt-disabled section for the priority 2 or lower (interrupt-enabled section for the priority 1 or higher)
• When multiple DI instructions are executed (when interrupts with a priority lower than the currently disabled priority are specified and disabled)
(1) Interrupt-enabled section for all priority
(2) Interrupt-disabled section for the priority 2 or lower (interrupt-enabled section for the priority 1 or higher)
(3) Because interrupts with the priority 2 or lower are already disabled, the interrupt-disabling priority is not changed.
EI
DI K2
DI K3
EI
EI
(3)
(1)
(2)
(5)
(4)
Sequence program
Sequence program
Sequence program
Sequence program
Sequence program
EI, which is the
counterpart of [DI K2]
EI, which is the
counterpart of [DI K3]
EI DI K2DI K3 EI EI
(3)(1) (2) (1)(2)
Time
Scan execution type
program
EI DI K3DI K2 EI EI
(1) (2) (1)
(3)
Time
Scan execution type
program

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals