Mitsubishi Electric FX3G SERIES Programming Manual page 811

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

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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
Step
0
Interrupt
pointer
I301
ON
ON
TO
TO
M0
M0
T0
RST
When the rising edge of X003 is detected
M8000
SET
RUN monitor
36 Interrupt Function and Pulse Catch Function
36.3 Input Interrupt (Interrupt Triggered by External Signal) [Without Delay Function]
FNC 04
Interrupts are enabled by EI instruction.
EI
The ON/OFF signal in M0 is utilized in this
program.
The period of time to hold M0 is specified.
K10
T0
M0
After the timer time, M0 is reset.
FNC 06
The main program is finished by FEND
instruction.
FEND
When X003 turns ON and the interrupt routine is
M0
executed, M0 is set to ON unconditionally.
FNC 03
IRET
END
31
32
33
34
35
36
37
38
A
B
809

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents