摘要 |
PROBLEM TO BE SOLVED: To provide a numerical control device for correctly measuring a machine position during a test operation by using a measuring unit for measuring a machine position, obtaining a machine error from the measurement result, and correctly obtaining a parameter for correcting the machine error. SOLUTION: This numerical control device for controlling the relative position of a main axis with respect to a table of a machine by driving a motor so that a detected position to be output from a detector 4 detecting the position of a motor 3 may follow a commanded position is provided with: a measuring unit 5 for machine position measurement for measuring the displacement of the relative position of a main axis to the table of a machine in a prescribed direction; a machine position calculating part 6 for calculating the machine position based on the detected position output from the detector 4 and the detected position output from the measuring unit 5 for machine position measurement and a signal for machine position measurement at the same time; a machine error difference measurement part 7 for calculating a machine error based on the commanded position, the detected position output from the detector 4 and the machine position calculated by the machine position calculation part 6; and a parameter changing part 8 for changing the parameter for error correction based on the machine error. COPYRIGHT: (C)2009,JPO&INPIT
|