8
Table of Contents
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
8. Interrupt Function and Pulse Catch Function 805
8.1 Outline......................................................................................................................................... 805
8.2 Common items............................................................................................................................ 806
8.2.1 Interrupt function.......................................................................................................................... 806
8.2.2 How to disable interrupt function and pulse catch function ......................................................... 807
8.2.3 Related items............................................................................................................................... 808
8.2.4 Cautions on use (common) ......................................................................................................... 809
8.3 Input Interrupt (Interrupt Triggered by External Signal) [Without Delay Function] ...................... 811
8.3.1 Input Interrupt (Interrupt Triggered by External Signal) [Without Delay Function]....................... 811
8.3.2 Examples of practical programs (programs to measure short pulse width)................................. 816
8.4 Input Interrupt (Interrupt by External Signal) [With Delay function]............................................. 818
8.5 Timer Interrupt (Interrupt in Constant Cycle)............................................................................... 819
8.5.1 Timer Interrupt (Interrupt in Constant Cycle)............................................................................... 819
8.5.2 Example of practical program (timer interrupt program using instruction)................................... 820
8.6 Counter Interrupt - Interrupt Triggered by Counting Up of High Speed Counter......................... 822
8.7 Pulse Catch Function[M8170 to M8177]..................................................................................... 823
8.8 Pulse width/Pulse period measurement function [M8075 to M8083, D8074 to D8097].............. 825
Appendix A: Relationships between devices and addresses 830
Warranty................................................................................................................................. 832
Revised History ..................................................................................................................... 833