Download Print this page

Mitsubishi Electric MELSEC FX Series Structured Programming Manual page 807

Hide thumbs Also See for MELSEC FX Series:

Advertisement

FXCPU Structured Programming Manual
(Basic & Applied Instruction)
8.
Interrupt Function and Pulse Catch Function
This chapter explains the built-in interrupt function and pulse catch function in FX PLCs.
The input, special devices and timers in the explanations relate to the FX
differ from one model of PLC to another.
8.1
Outline
This section explains the function to immediately execute an interrupt program (interrupt routine) without
being affected by the operation cycle of the sequence program (main) while using an interrupt function as a
trigger.
The delay by operation cycle and machine operation affected by uneven time intervals in normal sequence
program process can be improved.
1. Input interrupt function (interrupt of external signal input (X))
By the input signal from an input (X000 to X005), the normal sequence program is paused, and an interrupt
routine program is executed with priority.
The input interrupt execution timing can be specified on the rising edge or falling edge of the signal by the
pointer number.
2. Input interrupt delay function (interrupt of external signal input (X))
By the input signal from an input (X000 to X005), the normal sequence program is paused, and an interrupt
routine program is executed with priority after the delay time (set in units of 1 ms).
The input interrupt execution timing can be specified on the rising edge or falling edge of the signal by the
pointer number.
3. Timer interrupt function (timer interrupt activated in a constant cycle)
The normal sequence program is paused in a constant cycle of 10 to 99 ms, and an interrupt routine program
is executed with priority.
4. High speed counter interrupt function (interrupt function given at counting up)
When the current value of a high speed counter reaches a specified value, the normal sequence program is
paused and an interrupt routine program is executed with priority.
5. Pulse catch function
When the input signal from an input (X000 to X007) turns ON from OFF, a special auxiliary relay ;M8170 to
M8177 is set in the interrupt processing. By a relay M8170 to M8177 in a normal sequence program, a signal
that remains ON longer than the receivable range with regular input processing can be easily received.
When processing such a signal that turns ON and OFF several times in one operation cycle, however, use
the input interrupt function.
8 Interrupt Function and Pulse Catch Function
→ FX Structured Programming Manual (Device & Common)
8.1 Outline
and FX
PLCs. Note that these
3U
3UC
→ For details, refer to Section 8.3.
→ For details, refer to Section 8.4.
→ For details, refer to Section 8.5.
→ For details, refer to Section 8.6.
→ For details, refer to Section 8.7.
1
2
3
4
5
6
7
8
A
805

Advertisement

loading

This manual is also suitable for:

Fxcpu