摘要 |
PURPOSE:To eliminate the need for a counter circuit, and to reduce the cost of a device by arithmetically operating pulse number for driving required for the input of a travel and providing an arithmetic means counting pulse number output to a motor. CONSTITUTION:A CPU(a central processing unit) 1, a ROM 2 and a RAM 3 are provided for controlling a stepping motor 7 to be controlled. Pulse number for drive is arithmetically operated from a lead pitches input from a switch group 5, a stepping angle and a travel. One pulse is emitted by the decision of the permission of a pulse output. When output number reaches an arithmetic value, the completion of movement required is decided. The counting of pulse number, display and arithmetic operation and the output of a display signal are conducted by utilizing the idle time of the pulse output by the CPU 1 in said operation. Accordingly, a special counter for counting output pulse number need not be mounted. |