35 Interrupt Function and Pulse Catch Function
794
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
35.2 Common items
35.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.
EI
EN EO
DI
EN
Interrupts are
enabled.
Interrupts are
disabled.
EO
[Main program]