摘要 |
<p>A controller capable of smoothly changing speed of a machining tool to improve machining accuracy and speed of a machine. A command analyzing section included in block structure of software means of the controller analyzes a command program and converts it to data appropriate for use in a primary interpolation section. The primary interpolating section performs interpolation calculation in each first sampling period to obtain an interpolation point on a commanded path, and outputs the obtained interpolation point to an intermediate memory. The intermediate memory stores a motion amount for each axis, a feed rate and a block length. An acceleration/deceleration control section performs acceleration/deceleration control based on the data stored in the intermediate memory, and calculates speed in each second sampling period which is shorter than the first sampling period, to output the calculated speed to a secondary interpolation section. The secondary interpolation section defines a smooth curve expressed, for example, by a polynomial based on output from the acceleration/deceleration control section and the data in the intermediate memory, to output an interpolation point on the smooth curve in each second sampling period. <IMAGE></p> |