EasyManuals Logo

Mitsubishi MELSEC-A series Programming Manual

Mitsubishi MELSEC-A series
508 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #199 background imageLoading...
Page #199 background image
6. BASIC INSTRUCTIONS
6 87
MELSEC-A
Program Example EI , DI
The following program allows the interrupt program to be called at any time and link
refresh to be disabled until the EI instruction is executed before the FEND instruction
is executed.
POINTS
(1) Processing is started with link refresh enabled.
(2) The interrupt program is started with interrupt disabled.
(3) After the EI/DI instruction is executed, M9053 may either be on or off.
(4) If the EI or DI instruction is contained in the MC instruction, such EI and DI
are executed regardless of execution of the MC instruction.
IE
SET M9053
DI
RST M9053
RST M9053
EI
SET M9053
END
processing
FEND
0
Link refresh
Program
Interrupt program
M9053
OFF
ON
Disable
Enable
Disable
Enable
SET M9053
EI
M9036
0
1
5
35
30
34
M9036
M9036
M9036
DI
RST M9053
EI
39 DI
SET M9053
RST M9053
Enables the interrupt program
as M9053 is off.
Disables link refresh as M9053
is on.
Enables link refresh as M9053
is on.
6

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-A series and is the answer not in the manual?

Mitsubishi MELSEC-A series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-A series
CategoryController
LanguageEnglish

Related product manuals