摘要 |
A numerical controller controlling a 5-axis machine tool compensates setting error that arises when a workpiece is set on the table. Error in the three linear axes and the two rotation axes are compensated using preset error amounts to keep the calculated tool position and tool direction in a command coordinate system. If a trigonometric function used for error compensation has a plurality of solution sets, the solution set closest to the tool direction in the command coordinate system is selected from the plurality of solution sets and used as the positions of the two rotation axes compensated in the above error compensation.
|