Input Interrupt (Interrupt By External Signal) [With Delay Function] - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
36.4

Input interrupt (Interrupt by External Signal) [With Delay Function]

1. Outline
An input interrupt has the function to delay execution of an interrupt routine in units of 1 ms.
The delay time can be specified using the pattern program shown below.
By using the delay function, the mounting position of a sensor used for input interrupts can be adjusted
electrically without changing the actual position.
2. Programming procedure
Contact for setting delay time
I
M8393
Program to be executed as input interrupt
3. Timing chart
Interrupt input
(X000 to X005)
Interrupt program is
executed
FNC 12
K
*
D8393
MOV
[1] Delay time (unit: ms)
FNC 03
IRET
Delay time
(msec)
36 Interrupt Function and Pulse Catch Function
36.4 Input interrupt (Interrupt by External Signal) [With Delay Function]
Delay time specification program
Make sure to describe the delay time
specification program shown on the left at the
head of an interrupt routine program.
Because this program is a pattern program,
change only the delay time ([1]).
Only a constant (K) or data register (D) is
available for specifying the time here*.
End of interrupt program.
Because the previous interrupt processing
is not completed, the interrupt processing
is not executed here.
Valid
IRET
instruction
31
32
33
34
35
36
37
38
A
B
861

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents