Common Items; How To Disable Interrupt Function - Mitsubishi FX3G Series Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
36.2

Common Items

36.2.1

How to disable interrupt function

This section describes how to disable the interrupt function.
1. Limiting the program interrupt range [interrupt function]
1)
Programming method
Program the FNC 05 (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.
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.
2. Disabling interrupt pointers (for each interrupt routine) [interrupt function]
1)
Programming method
The special auxiliary relays M8050 to M8059 for disabling interrupt are provided.
While an interrupt disable flag (M8050 to M8059) is ON, a corresponding interrupt program is not executed even
if the interrupt disable flag is set to OFF after a corresponding interrupt is generated.
Input interrupt
Timer interrupt
High-speed counter
interrupt
*1.
Cleared when the PLC mode is changed from RUN to STOP.
794
Series
FNC 04
EI
Interrupts are
enabled
FNC 05
DI
Interrupts are
disabled
FNC 06
FEND
The input interrupts X000 to X005 correspond to M8050 to M8055
M8055 turns ON, a corresponding input interrupt is disabled.
The timer interrupts I6
to M8058 turns ON, a corresponding timer interrupt is disabled.
*1
When M8059
turns ON, all of the high-speed counter interrupts I010 to I060 are disabled.
36 Interrupt Function and Pulse Catch Function
to I8
correspond to M8056 to M8058
36.2 Common Items
*1
respectively. When a relay M8050 to
*1
respectively. When a relay M8056

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents