东北大学加工中心(CNC)采用的系统为FANUC系统。
要求学生自主设计图样,编写GCODE文件,操作电脑使机床按设计路径铣出图案。
本人设计的图样为坤坤图
图为用CAD设计绘制的图样。
计算坐标,设计铣刀轨迹,得到G代码如下:
G54
S8000M03F500
G00 X2 Y21
Z5
G01 Z-0.3
X29 Y44
X31 Y45
G02 X44 Y33 R35
G01 X40 Y29
X37 Y35
Y32
X34 Y35
G02 X31 Y42 R15
G01 X29 Y39
X27 Y40
X29 Y43
G00 Z5
X27 Y40
G01 Z-0.3
X22 Y33
X21 Y35
G00 Z5
X21.5 Y33.3
G01 Z-0.3
X19 Y32
Y30
X16 Y28
X18 Y33
G00 Z5
X16.5 Y29.5
G01 Z-0.3
X13 Y29
X16 Y34
G00 Z5
X14 Y31
G01 Z-0.3
X12 Y32
G02 X27 Y46 R32
G00 Z5
X26.5 Y38
G01 Z-0.3
G02 X33 Y38 R30
G00 Z5
X22 Y31
G01 Z-0.3
G02 I3.8 J0
G00 Z5
X27
G01 Z-0.3
G02 I1 J0
G00 Z5
X34 Y35
G01 Z-0.3
G03 X37 Y33 R-3.8
G00 Z5
X35 Y31
G01 Z-0.3
G02 I1 J0
G00 Z5
X17 Y26
G01 Z-0.3
G02 I3 J0
G00 Z5
X25.5 Y25.5
G01 Z-0.3
G02 X33 Y25 R6
X25.5 Y25.5 R6
G00 Z5
G03 X8 Y0 R18
G00 Z5
X17.5Y21
G01 Z-0.3
G02 X15.7 Y29.5 R8.5
G00 Z5
X40 Y29
G01 Z-0.3
G02 X37 Y21 R17
G00 Z5
X37.65 Y22
G01 Z-0.3
G02 X39.5 Y26.6 R2.5
G00 Z5
X17.7 Y19.7
G01 Z-0.3
X17Y21
G02 X28 Y20.5 R15
G03 X37 Y21 R9
G01 X39 Y20
X37 Y17
G02 X22 Y18 R57
G00 Z5
X17.7Y19.7
G01 Z-0.3
G02 X23.5 Y15 R8
G01 X25Y8
G00 Z5
X23.3 Y8
G01 Z-0.3
X22 Y14
G03 X17 Y18 R8
G01 X17.7 Y19.7
G00 Z5
X17 Y18
G01 Z-0.3
G03 X14.7 Y8 R21
G00 Z5
X15.5 Y25
G01 Z-0.3
G03 X15 Y11 R-7.5
G00 Z5
X15.6 Y25.2
G01 Z-0.3
G02 X6.9 Y22.8 R5
G00 Z5
X5.3 Y19.5
G01 Z-0.3
G02 X15.7 Y14.9 R20
G00 Z5
X5.1 Y18
G01 Z-0.3
G02 X12 Y10.6 R13
G00 Z5
X33Y10
G01 Z-0.3
Y12
G02 X37 Y17 R9
X41 Y10 R25
G00 Z5
X38 Y16
G01 Z-0.3
G03 X34.3 Y11 R9
G01 Y8
G00 Z5
X25 Y18
G01 Z-0.3
X29 Y15
G00 Z5
X24 Y16
G01 Z-0.3
X28 Y14
X27 Y13
X28 Y11
X30
X31 Y13
X30 Y14
X34Y16
G00 Z50
M30
同学们可按照需求自行调整代码。
图为在训练中心的电脑上,用 CIMCO做的模拟
大小为50*50