805
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
36 Interrupt Function and Pulse Catch Function
36.3 Input Interrupt (Interrupt Triggered by External Signal) [Without Delay Function]
31
FNC275-FNC279
Data
Transfer 3
32
FNC280-FNC289
High Speed
Processing 2
33
FNC290-FNC299
Extension File
Register
34
FNC300-FNC305
FX
3U
-CF-ADP
35
SFC•STL
Programming
36
Interrupt
Function
37
Special Device
38
Error Code
A
Version Up
Information
B
Execution Times
4) When catching a short pulse
In the program example shown below, the ON status is held for a certain period of time after a short pulse turns
ON.
Pulse input
X003
M0
ON ON
TO TO
Step
0
I301
Interrupt
pointer
When the rising edge of X003 is detected
M8000
RUN monitor
M0
M0
T0
K10
FNC 04
EI
T0
FNC 06
FEND
FNC 03
IRET
END
SET M0
RST M0
Interrupts are enabled by EI instruction.
The ON/OFF signal in M0 is utilized in this
program.
The period of time to hold M0 is specified.
After the timer time, M0 is reset.
The main program is finished by FEND
instruction.
When X003 turns ON and the interrupt routine is
executed, M0 is set to ON unconditionally.