Numerical controller with function to correct movement path of machining program
AssigneeFanuc Corporation
InventorsNobuaki Aizawa, Eiji Genma, Tomokazu Kayanuma
Life of this patent
Estimating the term…
Abstract
A numerical controller controls an object for movement along a movement path according to a machining program. If consecutive command blocks are oriented in the same direction, they are set as a single vector. These three consecutive vectors (first, second, and third vectors) thus created are determined to be located at a pick-feed section if the first and third vectors are oriented in the same direction and if the length of the second vector is within a predetermined range. The movement path is corrected to a path that successively linearly connects the start point of the first vector, points on the first and third vectors, and the end point of the third vector.
Claims8
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.
Dependencies are inferred from the claim text.