8 Interrupt Function and Pulse Catch Function
8.2 Common items
807
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
8.2.2 How to disable interrupt function and pulse catch function
This section describes how to disable the interrupt function and pulse catch function.
1. Limiting the program interrupt range [interrupt function and pulse catch function]
1) Programming method
Program the DI instruction to set the interrupt disabled zone.
Even if an interrupt is generated between the DI instruction and EI instruction (interrupt disabled zone),
the interrupt is executed after the EI instruction.
2) Program example
3) Cautions
a) The interrupt inputs with special auxiliary relay for interrupt disable (M8050 to M8059) turned ON are
excluded.
This special auxiliary relay is not available for pulse catch function.
b) When the disabled zone is long, interrupts are accepted, but the interrupt processing is started after
considerable time.
When the interrupt disabling setting is not required, program only EI instruction. It is not always
necessary to program DI instruction.
FEND
EN EO
EI
EN EO
DI
EN
Interrupts are
enabled.
Interrupts are
disabled.
EO