摘要 |
PROBLEM TO BE SOLVED: To perform proper work even when the tool axial direction is not vertical to an XY plane by determining an angle between a tool axis directional vector and an axial moving directional vector, and controlling an optimal peripheral speed in this angle so that a cutting speed becomes the same to an optional angle by using this angle. SOLUTION: A character train such as an X code, an S code and a G code is extracted from a character train in a work program by an analyzing part 11 for inputting the work program 1 to determine an axial moving distance. For example, a moving distance running along the respective axes of X to Z is determined from coordinates of a starting point and an end point of work, and the moving distance of the respective axes is converted into a movement command of the respective axes by a distributing part 16 to be sent to a servo system 20 of the respective axes. An axial moving directional vector is calculated by an axial moving directional vector calculating part 12 from the moving distance of the respective axes, and a main spindle rotating speed command value S is determined from a desired cutting speed, a main spindle maximum rotating speed, a main spindle minimum rotating speed and a tool axis directional vector read out of respective storage parts 13, 14 by a main spindle rotating speed calculating part 15 from the value to be outputted to a main spindle drive 30.
|