PROBLEM TO BE SOLVED: To carry out a plurality of steps without stopping a motor by disusing acceleration/deceleration/stoppage of a motor (04) conventionally carried out for each step in a device (01) comprising an acceleration/deceleration pulse output control section (3) for starting continuous output of pulses (9) in response to a pulse output start signal (6), driving the motor (04) by varying the frequency of the pulse (9) in the order of acceleration, constant speed and deceleration and stopping the motor by interrupting output of the pulse (9) when the remaining number of pulses (7) to be monitored becomes 0, and a down counter (2) being set with the total number of pulses (5) as an initial value every time when it is written in a latch (1), subtracting the initial value while inputting the pulse (9) and outputting the residual value of the initial value as the remaining number of pulses and outputting a total number of pulse zero signal (8) when the remaining number of pulses becomes 0.;SOLUTION: An adder (4) writes the total number of pulses (5) of next step into the latch (1) during operation of a previous step, adds the total number of pulses (5) to the remaining number of pulses of the previous step at the moment in time of writing and sets the sum in the down counter (2) as an initial value.;COPYRIGHT: (C)2005,JPO&NCIPI
展开▼