Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 548

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

• The execution of the EI instruction enables the interrupt that has been disabled by a single DI (Disabling interrupt programs
with specified priority or lower) instruction. Note that if interrupts have been disabled only by the DI (Disabling interrupt
programs) instruction, executing the EI instruction only once enables interrupts in all priorities.
(6)
(7)
A: Sequence program
(1) Interrupt enabled section for all priorities
(2) Interrupt disabled section for priority 6 to 8 (Interrupt enabled section for priority 1 to 5)
(3) Interrupt disabled section for priority 5 to 8 (Interrupt enabled section for priority 1 to 4)
(4) Interrupt disabled section for priority 6 to 8 (Interrupt enabled section for priority 1 to 5)
(5) Interrupt enabled section for all priorities
(6) EI instruction for [DI K5]
(7) EI instruction for [DI K6]
• When multiple DI (Disabling interrupt programs with specified priority or lower) instructions are executed and the specified
interrupt disable priority is lower than the priority of the currently disabled interrupt, the priority of the currently disabled
interrupt remains unchanged.
• Up to 16 DI instructions can be nested.
• The priority of the interrupt pointer
*1 I0 to I15, I50 to I1023
• The interrupt disabled priority currently set can be checked in SD758.
• If the DI (Disabling interrupt programs with specified priority or lower) instruction is executed in the interrupt program and
the interrupt disabled priority is changed, the value in SD758 also changes.
7 APPLICATION INSTRUCTIONS
546
7.3 Program Execution Control Instructions
EI
A
DI
K6
A
DI
DI
K5
K6
A
EI
A
EI
A
*1
can be set in parameter. ( MELSEC iQ-R CPU Module User's Manual (Application))
(1)
(2)
(3)
(4)
(5)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents