795
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
35 Interrupt Function and Pulse Catch Function
35.5 Timer Interrupt (Interrupt in Constant Cycle)
31
FN
C
275-FN
C
279
Da
ta
Tr
ans
fe
r 3
32
FN
C
280
-F
N
C
28
9
H
igh Speed
Pr
oces
si
ng 2
33
FN
C
290-FN
C
299
Ext
ensi
on Fi
le
R
egi
st
er
34
SF
C
•S
T
L
Pr
o
g
ra
m
m
in
g
35
In
te
rru
p
t
Funct
ion
36
Sp
e
cia
l De
vic
e
37
E
rro
r C
o
d
e
A
V
e
rs
ion U
p
In
fo
rm
a
tio
n
B
Ex
ec
ut
ion Ti
m
e
s
C
Appl
ic
ab
le
In
st
ru
ct
ion Li
st
1. Timer interrupt processing of HKY (FNC 71) instruction
→
For HKY (FNC 71) instruction, refer to Section 15.2.
Step
0
I620
Interrupt
pointer
When interrupt is given at every 20 ms
M8000
RUN
monitor
FNC 04
EI
FNC 06
FEND
FNC 50
REF
FNC 71
HKY
FNC 03
IRET
FNC 50
REF
END
Y000
K8
X000
Y000
D0
M0
K8
X000
Interrupts are enabled by EI instruction.
The main program is described.
The main program is finished by FEND
instruction.
The latest input information is received
from X000 to X007.
FNC 71 (HKY) is executed in one scan.
Y000 to Y007 are refreshed to the latest
output information.