摘要 |
PROBLEM TO BE SOLVED: To solve the problem that an acceleration/deceleration time is required by deceleration stop of a main shaft and a Z-axis at a forward tapping start position and a backward tapping finish position resulting in a longer tapping time (tapping cycle) per hole and a machining time is increased particularly for tapping a number of holes. SOLUTION: This method of controlling synchronous tapping function for tapping while controlling a main shaft and a feed shaft with a positional command comprises detecting a phase relationship between the position of the main shaft and the command position of the feed shaft before starting tapping, finding the phase correction amount of the main shaft and the feed shaft before located at a tapping start position so that a specified phase relationship between the main shaft and the feed shaft after located at the tapping start position is established (Step 4), and regulating the positional command for one of the shafts in accordance with the correction amount. The main shaft is controlled with a speed command when moved from the tapping position to the next tapping position (step 8).
|