Patent ID: 8666522
Filing Date: 2014-03-04
Classification: G05B

Abstract:
1. A controller for a machine tool controlling a feed mechanism which relatively moves a tool and a workpiece, comprising: a program storage section in which a numerical control program is stored; a parameter storage section in which parameters for codes configuring the numerical control program are stored; a program analyzing section for analyzing the numerical control program stored in the program storage section block by block in sequence and extracting operation commands for the feed mechanism; an execution control section for, on the basis of the operation commands extracted by the program analyzing section in sequence and the parameters stored in the parameter storage section, executing the operation commands and thereby controlling the feed mechanism; and a data changing section for changing at least either the numerical control program stored in the program storage section or the parameters stored in the parameter storage section; wherein the controller further has a change information storage section in which change information relating to a changed portion which was changed by the data changing section is stored; and wherein the execution control section is configured to, when executing the operation commands extracted by the program analyzing section and based on the change information stored in the change information storage section, check whether the block of each operation command immediately precedes a block relating to the changed portion and, when judging that it is the immediately preceding block, temporarily stops the operation of the feed mechanism before or after the execution of the operation command.