摘要 |
PURPOSE:To smoothly perform the machining of a work on mating spindle stocks by performing the machining on the first and second spindle stocks based on the machining coordinate system set and calculated based on the first Z offset value. CONSTITUTION:A machining program PRO is prepared based on the work origin WP corresponding to a work 47, the standard origin SWP1 moved together with the shift of at least one of two spindle stocks 30 and 31, e.g., spindle stock 30, in the Z axis direction is set, the distance between WP and SWP1 is set as the first Z offset value OF1. The machining of the work 47 on the spindle stock 30 is performed by the machining coordinate system set based on OF1. The machining on the second spindle stock 31 is performed by the second machining coordinate system set based on OF1 and the shift quantity of the work 47 from the machine origin MZP1. The machining of the work on the mating spindle stocks can be smoothly performed. |