
334
7 APPLICATION INSTRUCTION
7.3 Program execution control instruction
Operation error
• When the DI instruction is executed in an 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
(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)
(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)
(1) Interrupt-enabled section for all priority
(2) Interrupt-disabled section for the priority 1 or lower (where all the interrupts are disabled)
Error code
(SD0/SD8067)
Description
3405
The value specified by (s) is other than the following.
1 to 3
3362
Nesting of the DI instruction exceeds 16 levels.
EI
EI
DI K2
DI K3
EI
IRET
(3)
(1)
(2)
(1)
(2)
Time
Scan execution type
program
Interrupt Program
EI
DI
DI
DI
EI
(1)
(2)
(1)
(3)
Time
Scan execution type
program
EI
EI
DI
EI
DI K2
EI
(1)
(3)
(1)
(2)
(2)
DI
Time
Scan execution type
program
DI
EI
EI
DI K2
(1)
(2)
(1)
DI
EI
Time
Scan execution type
program
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......