A method of correcting a cutting-edge position of a tool installed in a numerically controlled machine having a bed, a main spindle table fixed on the bed, a main spindle rotatably supported by the main spindle table for carrying a work to be machined, a tool table movably mounted on the bed, a tool for machining the work and a cutting-edge detecting sensor mounted on either the main spindle table or the bed for detecting a position of a cutting-edge of the tool, said numerically controlled machine tool being operated in accordance with a basic processing program into which a difference between a movement amount of the tool table and a predetermined standard dimension is provided as a cutting-edge position correction value, the movement amount of the tool table being at a distance necessary to bring the cutting-edge of the tool into contact with the cutting-edge detecting sensor, the method comprising the steps of:
- judging whether a temperature of the main spindle table is in a normal condition or an abnormal condition when exchanging an old tool for a new tool;
- in the normal condition,
- regarding the movement amount of the tool table as a normal movement amount of the tool table having the new tool;
- and
- providing a difference between the normal movement amount and the predetermined standard dimension into the basic processing program, as the cutting-edge position correction value for the new tool;
- or
- in the abnormal condition,
- regarding the movement amount of the tool table as an abnormal movement amount of the tool table having the old tool;
- replacing the predetermined standard dimension with the abnormal movement amount as a newly determined standard dimension;
- establishing a difference between the newly determined standard dimension and a position of a cutting-edge of the new tool as the cutting-edge position correction value for the new tool;
- regarding a machined dimensional change, which can be obtained from a relationship thereof with wear amount of cutting-edge by preceding experiments, as a cutting ability correction value of the new tool;
- and
- providing the cutting-edge position correction value for the new tool and the cutting ability correction value thereof into the basic processing program.