上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
58 Specialized, Concentrated, Focused
Example 3 Programming for the Workpiece Shown in Fig. 4-41
60
40
70
50
40
30
40
120
Y
X
R20
R50
Fig. 4-41 Workpiece Machining Sketch
N01 G92 X0 Y0 Z0
’workpiece coordinates system establishment
N02 G91 G41 G00 X40 Y30 D01 M03 S600 M08
’incremental coordinates adopted, cutter
radius compensation on, rapid traverse to X40, Y30, spindle CW at 600 rpm, and coolant on
N03 G17 G01 X0 Y70 F800
’linear interpolation to X40, Y100, feed speed 800mm/min
N04 G02 X20 Y20 I20 J0
’clockwise circular interpolation to X60, Y120, radius 20mm
N05 G01 X40
’linear interpolation 40mm in the positive direction of X-axis
N06 Y-50
’linear interpolation 50mm in the reverse direction of Y-axis
N07 X40
’linear interpolation 40mm in the positive direction of X-axis
N08 Y50
’linear interpolation 50mm in the positive direction of Y-axis
N09 X70
’linear interpolation 70mm in the positive direction of X-axis
N10 Y-40
’linear interpolation 40mm in the reverse direction of Y-axis
N11 G03 X-50 Y-50 I0 J-50
’counterclockwise circular interpolation to X160, Y30, radius 50mm
N12 G01 X-120
’linear interpolation 120mm in the reverse direction of X-axis
N13 G00 G40 X-40 Y-30 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
Summary of Contents for Ncstudio
Page 74: ...RMB 21 00 ...