35 Interrupt Function and Pulse Catch Function
809
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Applied Instructions
(Data Transfer 3)
32
Applied Instructions
(High Speed
Processing 2)
33
Applied Instructions
(Extension File
Register Control)
34
Applied Instructions
(FX
3U
-CF-ADP)
35
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
B
Applied
Instruction List
35.5 Timer Interrupt (Interrupt in Constant Cycle)
2) Countermeasures
Disable interrupts using the DI instruction in the section from the instruction which uses M8029 in the
main program to the point after M8029 is referred to.
M100
M8000
RUN
monitor
M8029
D100
Y000
D0
M0
K6
H6F
K1
X000
K8
X000
When interrupt is given at every 20 ms.
[Main program]
[Interrupt program]
(Event: I620)
Countermeasures program example
EI
EN ENO
DI
EN ENO
EI
EN ENO
RST
EN ENO
IVCK
EN ENO
d
s1
s2
n
REF
EN
d
n
ENO
Y000
K8
REF
EN
d
n
ENO
HKY
EN
s
ENO
d1
d2
d3