The wire discharge processing apparatus (100) discharges from the workpiece (7) while rotating in the twisting direction, and is formed above the wire electrode (2) and the workpiece (7) for processing the workpiece (7). The upper guide (6) that supports the wire electrode (2), the lower guide (11) that supports the wire electrode (2) below the workpiece (7), and the machining direction and the workpiece (7) that you want to keep. Based on the positional relationship and the machining program, the positions of the upper guide (6) and lower guide (11) are set depending on whether the workpiece to be left is located on the right side or the left side of the machining direction, respectively. By correcting with individually determined values, at least one of the offset amount of the wire electrode (2) with respect to the machined surface of the workpiece (7) and the inclination of the wire electrode (2) is adjusted, and the workpiece (7) is machined. A control device (14) for compensating for a machining dimensional error, which is an error between the dimensions of the target shape of the workpiece and the dimensions of the actual shape, is provided.
展开▼