上海维宏电子科技股份有限公司
Weihong Electronic Technology Co., Ltd.
60 Specialized, Concentrated, Focused
N02 G91 M03 S800 M08
’incremental coordinates adopted, spindle CW at 800 rpm, coolant on
N03 G65 P9001 L6
’subprogram 9001 call, executed six times
N04 G00 Z12 M05 M09 M30
’rapid traverse to X0, Y0, Z0, spindle stop, coolant off, end of
program and return to the program header
O9001
’subprogram 9001
N100 G00 X10 Y0 Z-2
’rapid traverse to X10, Y0, Z-2
N110 G01 Y60 F1000
’linear interpolation to X10, Y60, feed speed 1000mm/min
N120 X50
’linear interpolation to X60, Y60
N130 Y-50
’linear interpolation to X60, Y10
N140 X-60
’linear interpolation to X0, Y10
N150 G00 Y-10
’rapid traverse to X0, Y0
N160 M17
’subprogram return
Y
X
Z
X
60
60
10
2
10
Z
Y
X
X
R 14
14
2
0
0
Fig. 4-43 Workpiece Machining Sketch Fig. 4-44 Workpiece Machining Sketch
Example 6 Programming for the Workpiece shown in Fig. 4-44.
N01 G92 X10 Y0 Z0
’workpiece coordinates system establishment
N02 G91 G00 X-10 M03 S1000 M08
’Incremental coordinates adopted, spindle CW at 1000 rpm, and coolant on
N03 G00 Y14 Z-16
’rapid traverse to X0 Y14 Z-16
N04 G02 X0 Y0 I14 J0 F600
’clockwise circular interpolation, feed speed 600mm/min
N05 G01 X1 Z1 F600
’linear interpolation, advance 1mm along both X-axis and Z-axis
N06 G02 X0 Y0 I13 J0 F600
N07 G01 X1 Z1 F600
N08 G02 X0 Y0 I12 J0 F600
N09 G01 X1 Z1 F600
N10 G02 X0 Y0 I11 J0 F600
N11 G01 X1 Z1 F600
N12 G02 X0 Y0 I10 J0 F600
Содержание Ncstudio
Страница 74: ...RMB 21 00 ...