6. Interpolation Functions
6.7 Thread Cutting
59
Example of program
Z
X
Y
X
10
50
10
N110 G90 G0 X-200. Y-200. S50 M3 ;
N111 Z110. ;
The spindle center is positioned to the workpiece
center, and the spindle rotates in the forward direction.
N112 G33 Z40. F6.0 ;
The first thread cutting is executed.
Thread lead = 6.0mm
N113 M19 ;
Spindle orientation is executed with the M19
command.
N114 G0X-210. ;
The tool is evaded in the X axis direction.
N115 Z110. M0 ;
The tool rises to the top of the workpiece, and the
program stops with M00.
Adjust the tool if required.
N116 X-200. ;
M3 ;
Preparation for second thread cutting is done.
N117 G04 X5.0 ;
Command dwell to stabilize the spindle rotation if
necessary.
N11 G33 Z40. ;
The second thread cutting is executed.