Patent ID: 9063536
Filing Date: 2015-06-23
Classification: G05B

Abstract:
1. A numerical controller controlling a three-axis machine tool that machines a workpiece mounted on a table with at least three linear X, Y, and Z axes, the numerical controller comprising: a workpiece mounting error compensation unit configured to compensate a mounting error caused when a workpiece is mounted, wherein the workpiece mounting error compensation unit has an error compensation unit that performs an error compensation with respect to an instructed linear-axis position with a tool-length compensation vector and the mounting error which is measured and set in beforehand as translation errors in directions along the X, Y, and Z axes, and rotation errors around the X, Y, and Z axes, the mounting error being a difference between a reference workpiece position and an actual workpiece position of the workpiece, when the workpiece is mounted in order to keep a position with respect to the workpiece at a tool center point position, based on the instructed linear-axis position of the three linear axes to obtain a compensated linear-axis position, wherein the instructed linear-axis position is a tool reference point position of the three linear axes obtained by interpolating an instructed tool reference point position, the instructed tool reference point position obtained by adding the tool-length compensation vector to the tool center point position of the three linear axes instructed in a program instruction, the workpiece mounting error compensation unit is configured to perform the error compensation by subtracting the tool-length compensation vector from the instructed linear-axis position, performing the error compensation based on the rotation error, performing the error compensation based on the translation error, and adding the tool-length compensation vector, and the three linear axes are driven based on the compensated linear-axis position obtained by the error compensation unit in the workpiece mounting error compensation unit.