Patent ID: 8560112
Filing Date: 2013-10-15
Classification: G05B

Abstract:
1. A numerical controller which controls an object for movement along a movement path according to a machining program which is formed of a plurality of command blocks and in which a pick-feed block is located in a cutting area, comprising: a microprocessor; a memory coupled to the microprocessor, the memory storing: a determination unit configured to determine, according to a predetermined rule, whether or not consecutive command blocks are oriented in the same direction; a vector creation unit configured to set the consecutive command blocks as a single vector if it is determined by the determination unit that the command blocks are oriented in the same direction; a first determination unit, configured to determine as a first condition whether or not first and third vectors are oriented in the same direction with a second vector therebetween, where the first, second, and third vectors are three consecutive vectors generated by the vector creation unit, and a second determination unit, configured to determine as a second condition whether or not the length of the second vector is within a predetermined range; and a path correction unit configured to correct the movement path to a path which successively linearly connects a start point of the first vector, a point on the first vector at a certain distance from a start point of the second vector, a point on the third vector at a certain distance from an end point of the second vector, and an end point of the third vector, if the first and second conditions are determined to be met by the first and second determination units, respectively.