Download Print this page

Disabling The Interrupt Program With Specified Priority Or Lower - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

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

Advertisement

Disabling the interrupt program with specified priority or lower

DI
This instruction disables the execution of the interrupt program with a priority specified by (s) or lower until the EI instruction is
executed, even if the interrupt cause occurs.
Ladder diagram
(s)
FBD/LD
EN
ENO
s
("DI_1" enters .)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Priority for disabling interrupts
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)
Processing details
• This instruction disables the execution of the interrupt program of the interrupt pointer number with an interrupt priority
specified by (s) or lower.
Interrupt priority setting
Priority
I No.
I01
2
I02
3
I01
I02
A: Sequence program
B: Interrupt Program
Word
T, ST, C, D, W,
U\G
SD, SW, R
DI K3
A
FEND
B
IRET
B
IRET
Structured text
ENO:=DI_1(EN,s);
Range
Data type
1 to 3
16-bit unsigned binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
(1): Interrupt-disabled section for the priority 3 or lower
(Interrupt-enabled section for the priority 2 or higher)
(2): Can be executed because of the priority 2.
(1)
(3): Cannot be executed because of the priority 3.
(2)
(3)
8.3 Program Execution Control Instruction
Data type (label)
ANY16
BOOL
BOOL
Constant
Others
K, H
E
$
8 APPLICATION INSTRUCTION
8
387

Hide quick links:

Advertisement

loading