摘要 |
PURPOSE:To enable a speed to he stably controlled without irregular rotation, by enhancing the resolution of an encoder in a range where a CPU controlling the speed of a servo-motor does not fall into control incapability. CONSTITUTION:The resolution of an encoder 7 is determined to be of irregular rotation allowable on 400% magnifications. Input signal D0 is of clock direct from the encoder 7, and signal L1 is of frequency divided by 2, and signal D2 is of frequency divided by 4. When the input of magnification is provided, then values are set at ports C0, C1 according to the data selector input(D0-D1) according to the magnification in respective ranges, to a CPU 1 for input. By the CPU 1, the clock interval of the input signal D0 is measured, and the output of a value according to a difference between the interval and a clock interval set according to the magnification is directed to a timer 3 from a data bus. A sevo-motor 6 is driven according to the value. |