Chapter 7 Program Control; Program Execution Control Instructions; Disabling/Enabling Interrupt Programs - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

7
PROGRAM CONTROL
7.1

Program Execution Control Instructions

Disabling/enabling interrupt programs

DI, EI
• DI: This instruction disables execution of fixed scan execution type programs.
• EI: This instruction clears the fixed scan execution type programs execution disabled state.
ST
ENO:=DI(EN);
ENO:=EI(EN);
■Execution condition
Instruction
DI
EI
Processing details
■DI
• This instruction disables execution of fixed scan execution type programs.
• When the system is powered on or the CPU module is reset, the system is in the state where the DI instruction has been
executed.
• The DI (Disabling interrupt programs) instruction cannot be executed in fixed scan execution type programs. If executed, no
processing is performed.
■EI
• This instruction clears the fixed scan execution type programs execution disabled state that has been set by the DI
(Disabling interrupt programs) instruction, and enables execution of fixed scan execution type programs.
Operation error
Error code
Description
3362H
More than 16 DI (Disabling interrupt programs) instructions are nested.
7 PROGRAM CONTROL
94
7.1 Program Execution Control Instructions
Execution condition
Every scan

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents