摘要 |
PURPOSE:To make highly accurate processing possible even when a tool having a non-circular sectional shape is to be used, by providing a function generator and changing cutter compensation vectors generated from a correcting vector section depending upon the direction. CONSTITUTION:At an interpolation calculation device 3 a command vector (a) is calculated and an interpolation vector (c) is obtained by calculating the sum of the calculated command vector (a) and a cutter compensation vector (b). A compensation vector generating section 3b does not generate the vector (b) having a fixed size always, but generates the vector (b) having different sizes depending upon the direction which becomes points on an ellipse. Generation of the vector (b) is made in such a way that the direction intersecting the vector (a) at right angles is first found and the found direction is given to an ellipse vector generating section 5. At the generating section 5, a point on the ellipse in the found direction is obtained from the given angle and the vector size until the obtained point is returned to the compensation vector generating section 3b. The vector (b) is calculated from the direction and size thus found. |