摘要 |
PURPOSE:To enable the movement in the optical axis direction of a machining head and to better the user facility by providing the means moving a machining head in the projecting direction of a laser light based on the moving command in the optical axis direction in a machining program. CONSTITUTION:In case of an automatic mode the input of a machining program is executed (step 21), then the work program is analyzed (step 22) and the movement amt. of each axis (X, Y, Z, alpha, beta axes) is calculated (step 23). The value thereof is outputted to each axial motor Mx, My, Mz... through the servoamplifier 16x, 16y, 16z... of each axis. A process 27 decides as to whether the optical axis moving command is inputted or not in the program following the work program analysis processing process 22 in the automatic mode. When the optical axis direction moving command is decided inputted, the vector decomposition processing process 26 of a manual mode is taken and processed similar to the case of manual mode. If the optical axis direction moving command is found not inputted yet in the process 27 in opposition, each axis movement amt. calculating process 23 is taken as it is and the movement of each axis is executed. |