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
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......