摘要 |
PURPOSE:To shorten the work time of an NC controller which controls a moving body such as a drill and to prolong the life of the drill, etc., by regarding the output signal of a discriminating circuit for target position arrival as the end signal of a subprogram and then executing a next program. CONSTITUTION:A feed motor 3 connects with a speed detector TG and is brought under the constant control of a speed command supplied from a servomotor control circuit 10'' to a servo amplifier 11''. Then, the position of the drill lowered by the motor 3 is detected by a pulse generator PG and a discrimination 12 on the coincidence between its detected number of pulses and the number of pulses inputted from a movement commanding circuit 9 to the circuit 10'' is made. At this time, when a command end signal is inputted from the movement commanding circuit 9 to the circuit 12, an end signal is sent to an AND circuit 14. Then, the sum of a current block number and one is supplied from an adding circuit to a command sequence counter 5, which sends a signal for specifying a next execution program to an NC program storage device 4. |