Programming Example 2
Sketch for machining file is as follows:
The corresponding programming is as follows:
N01 G92 X0 Y0 Z0 'workpiece coordinates system setting
N02 G90 G41 G00 X45 Y15 D01 M03 S600 M08 'absolute programming adopted, tool radius compensation on, rapid traverse to X45, Y15, spindle CW at 600 rpm, and coolant on
N03 G17 G02 X45 Y65 I0 J25 F700 'clockwise circular interpolation to X45, Y65, radius 25mm, feed speed 700mm/min
N04 G01 X135 Y65 'linear interpolation until X135, Y65
N05 G17 G02 X135 Y15 I0 J-25 'CW circular interpolation to X135, Y15, radius 25mm
N06 G01 X45 Y15 'linear interpolation to X45, Y15
N07 G00 G40 X0 Y0 M05 M09 M30 'cutter radius compensation cancel, rapid traverse to X0, Y0, spindle stop, coolant off, end of program
and return to the program header