8 APPLICATION INSTRUCTION
8.3 Program Execution Control Instruction
389
8
Operation error
• When the DI instruction is executed in an interrupt program
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: 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: 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: 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)
Error code
(SD0/SD8067)
Description
3405H
The value specified by (s) is other than the following.
1 to 3
3362H
Nesting of the DI instruction exceeds 16 levels.
EI
EI
DI K2
DI K3
EI
IRET
(3)
(1)
(2)
(1)
(2)
t
B
A
EI
DI
DI
DI
EI
(1)
(2)
(1)
(3)
t
A
EI
EI
DI
EI
DI K2
EI
(1)
(3)
(1)
(2)
(2)
DI
t
A
DI
EI
EI
DI K2
(1)
(2)
(1)
DI
EI
t
A
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......