摘要 |
A numerical controller controlling a wire electric discharge machining device of the present invention is configured to perform perpendicular setting of the wire electrode with respect to the workpiece while the wire electrode is inserted into and passed through a machining hole of a workpiece and calculate the inclination of the workpiece; drive an XY axis and detect short-circuit; obtain the diameter of the machining start hole; subsequently drive the upper wire guide and the lower wire guide respectively and detect the short-circuit and calculate the location of the center of the upper portion of the machining start hole and the location of the center of the lower portion of the machining start hole; and, based on these calculated values, calculate the correction amount for the workpiece on the upper wire guide surface of the upper wire guide and the correction amount for the workpiece on the lower wire guide surface of the lower wire guide. |