Patent ID: 8688257

Claim:
A programming apparatus for generating an NC (Numerical Control) program which is used in an NC machine tool having an operating mechanism for relatively moving a tool and a workpiece and a control device for controlling the operating mechanism, the programming apparatus comprising: a parameter storage section for storing parameters related to the operation control of the operating mechanism; a CL (Cutter Location) data storage section for storing CL data including at least data relating to the moving position of the tool and data relating to machining conditions; an NC program generating section for generating the NC program on the basis of the CL data stored in the CL data storage section; and an NC program storage section for storing the NC program generated by the NC program generating section, wherein the parameters include at least parameters relating to the maximum feed speed of the tool and the maximum rotational speed of a spindle on the NC machine tool, the machining condition data includes at least data relating to a feed speed of the tool and a rotational speed of the spindle, and the NC program generating section compares the parameters relating to the maximum feed speed of the tool and the maximum rotational speed of the spindle stored in the parameter storage section with the feed speed of the tool and the rotational speed of the spindle included in the CL data, when determining that the feed speed and the rotational speed in the CL data do not exceed the maximum feed speed and the maximum rotational speed, respectively, generates the NC program based on the CL data, and when determining that they exceed the maximum feed speed and the maximum rotational speed, respectively, corrects the feed speed and rotational speed in the CL data so that they are equal to or lower than the maximum feed speed and the maximum rotational speed, respectively, and generates the NC program based on the corrected CL data.