EasyManua.ls Logo

Mitsubishi Electric MELSEC FX Series - Page 130

Mitsubishi Electric MELSEC FX Series
838 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
Loading...
7 Applied Instructions
7.1 Program Flow
128
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Cautions
1) Create a task for the interrupt program and the main program.
2) Use "Event" to specify the interrupt pointer to be used for the task for the interrupt program.
For the interrupt pointer, refer to Chapter 8.
3) IRET instruction needs not to be programmed because the function IRET is automatically added during
the compilation at the end of the program block that is registered in the task for the interrupt program.
4) The program block registered in the task for the main program requires the function EI (interrupt
enabled). Program the function DI (interrupt disabled) as necessary.
INC
EN ENO
Interrupt program
IRET
EN ENO
D0
Do not program IRET instruction because
it is automatically added during the compilation.
d
DI
EN ENO
FEND
EN ENO
If necessary, program the DI as
it is a interrupt disabled function.
Do not program the FEND instruction as
it is automatically added during the compilation.
Range of interrupt enabled
EI
EN ENO

Table of Contents

Other manuals for Mitsubishi Electric MELSEC FX Series

Related product manuals