摘要 |
PURPOSE:To obtain sufficient timing processing accuracy without using a complicated circuit by connecting a timer clock signal of a timing signal and a rotating pulse signal to the input interrupt line of a main control microprocessor. CONSTITUTION:When an interrupt signal IRQ2 from a timer clock oscillator 28 is inputted to a CPU1 through a bidirectional peripheral interface adapter PiA 8, an interrupt is received at the rising edge of the interrupt request signal IRQ2 synchronized with the oscillation clock of a timer clock oscillator 28. An area of a timer register used for the interrupt processing routine is provided in an RAM3, and the timer register is used to measure the time for detecting the malfunction of the rotation of a motor when the rotating pulse signal IRQ1 from the motor 23 is not inputted at the predetermined time interval. The timer register is used to measure the period required to rotate the slit on a slit disc 24 by one revolution. |