Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 391

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

• When the DI instruction is executed in an interrupt program
B
A
EI
t
A: Scan execution type program
B: Interrupt Program
(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 the DI instruction without an argument is executed
A
EI
t
A: Scan execution type program
(1): Interrupt-enabled section for all priority
(2): Interrupt-disabled section for the priority 1 or lower (where all the interrupts are disabled)
(3): Because interrupts are disabled with the DI instruction without an argument, interrupts with all the priorities are enabled by executing the EI instruction
once.
• When the DI instructions with and without an argument are executed (Execution order is DI instruction with an argument  DI instruction without an
argument)
A
EI
t
A: Scan execution type program
(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): Interrupt-disabled section for the priority 1 or lower (where all the interrupts are disabled)
• When the DI instructions with and without an argument are executed (Execution order is DI instruction without an argument  DI instruction with an
argument)
A
EI
t
A: Scan execution type program
(1): Interrupt-enabled section for all priority
(2): Interrupt-disabled section for the priority 1 or lower (where all the interrupts are disabled)
Operation error
Error code
Description
(SD0/SD8067)
3405H
The value specified by (s) is other than the following.
1 to 3
3362H
Nesting of the DI instruction exceeds 16 levels.
(1)
(2)
DI K2
DI K3
(1)
DI
DI
(1)
(2)
DI K2
DI
DI
(1)
DI
DI
(3)
(2)
EI
IRET
EI
(2)
DI
EI
(3)
(3)
(2)
EI
EI
(2)
DI K2
EI
EI
8 APPLICATION INSTRUCTION
8.3 Program Execution Control Instruction
(1)
(1)
(1)
EI
(1)
8
389

Hide quick links:

Advertisement

loading