The invention discloses an accurate tool-setting method of a
numerical control machine tool and the
numerical control machine tool. The accurate tool-setting method of the
numerical control machine tool comprises the steps that A, the
machine tool drives a tool provided with an opposite charge tool edge to a workpiece to be machined, wherein the surface of the workpiece carries a charge; B, an
electric spark detection module detects whether an
electric spark is generated at the same time, wherein if an generated
electric spark is detected, the electric spark detection module sends a high level
signal to a processor, and the processor controls the numerical control
machine tool to stop the movement of the workpiece to be machined and starts a
machining program to machine the workpiece. According to the numerical control
machine tool, whether the workpiece and the tool edge are aligned is judged according to whether an electric spark is generated between mutually exclusive charges carried by the workpiece to be machined and the tool edge, and then the workpiece
machining method is implemented; since the numerical control machine tool can conduct tool setting automatically and accurately, more labor is liberated, and full
automation is realized; the problem that fatigue of human eyes causes unqualified
machining of the workpiece can also be effectively prevented, and the intelligent demand for numerical control is met.