867
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
36 Interrupt Function and Pulse Catch Function
36.7 Pulse Catch Function [M8170 to M8177]
31
FN
C
275-
FN
C
279
Da
ta
Transf
er 3
32
FN
C
280-
FN
C
289
H
igh Speed
Pr
ocessing 2
33
FN
C
29
0-F
N
C
299
Ext
ens
ion Fi
le
R
egi
ster
34
FN
C
300-
FN
C
305
FX
3U
-C
F-A
D
P
35
SFC•S
TL
Pr
ogr
am
m
ing
36
In
ter
rupt
Functi
on
37
Special D
evice
38
E
rro
r C
ode
A
Ve
rs
ion U
p
In
fo
rm
atio
n
B
Execution T
im
es
6. Cautions
1) Pointer number
Pointer numbers cannot overlap with each other.
2) Disabling interrupts
When the special auxiliary relay M8059 is set to ON in a program, all counter interrupts are disabled.
36.7
Pulse Catch Function [M8170 to M8177]
When the input relay X000 to X007 turns ON from OFF after the FNC 04 (EI) instruction is executed, the
special auxiliary relay M8170 to M8177 is set for interrupt processing.
The FNC04 (EI) instruction is not required in FX
3G
PLCs.
1. Assignment of input numbers and special auxiliary relays
*1.
Cleared when the PLC mode is changed from STOP to RUN.
*2.
This function is supported only in FX
3U
/FX
3UC
PLCs.
2. Program example
Pulse catch input
Pulse catch relay
X000
M8170
*1
X001
M8171
*1
X002
M8172
*1
X003
M8173
*1
X004
M8174
*1
X005
M8175
*1
X006
M8176
*1*2
X007
M8177
*1*2
M8170
X002
Reset input
RST
M8170
Y000
When the rising edge of X000 is detected,
M8170 is set as interrupt.
The pulse catch result is reset.
FNC 04
EI
Step
0
The FNC04 (EI) instruction is not required in FX
3G
PLCs.
Input pulse width
(shown below)
EI
X000(Input)
M8170
X002(Reset)
[X000 to X005]: 5
µ
s or more
*1
[X006 and X007]: 50
µ
s or more
[X002 and X005]: 50
µ
s or more
FX
3U
/FX
3UC
PLC
[X000, X001, X003 and X004]: 10
µ
s or more
FX
3G
PLC