程序如下:%G40 G49 G80 G90T02 M06G17 G00 G54 X42.7 Y0.G43 Z50.H02S1000 M03Z2.G01 Z-1.F150.M08X48.7G03 X43.392 Y22.109 I-48.697 J0.X28.625 Y39.4 I-43.4 J-22.115X-22.109 Y43.394 I-28.625 J-39.395Y-43.394 I22.111 J-43.394X28.625 Y-39.4 I22.108 J43.
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 13:02:31
程序如下:%G40 G49 G80 G90T02 M06G17 G00 G54 X42.7 Y0.G43 Z50.H02S1000 M03Z2.G01 Z-1.F150.M08X48.7G03 X43.392 Y22.109 I-48.697 J0.X28.625 Y39.4 I-43.4 J-22.115X-22.109 Y43.394 I-28.625 J-39.395Y-43.394 I22.111 J-43.394X28.625 Y-39.4 I22.108 J43.
程序如下:
%
G40 G49 G80 G90
T02 M06
G17 G00 G54 X42.7 Y0.
G43 Z50.H02
S1000 M03
Z2.
G01 Z-1.F150.M08
X48.7
G03 X43.392 Y22.109 I-48.697 J0.
X28.625 Y39.4 I-43.4 J-22.115
X-22.109 Y43.394 I-28.625 J-39.395
Y-43.394 I22.111 J-43.394
X28.625 Y-39.4 I22.108 J43.389
X43.392 Y-22.109 I-28.633 J39.405
X48.7 Y0.I-43.389 J22.109
G01 X42.7
Z2.
G00 Z50.
Z1.
G01 Z-2.
X48.7
G03 X43.392 Y22.109 I-48.697 J0.
X28.625 Y39.4 I-43.4 J-22.115
X-22.109 Y43.394 I-28.625 J-39.395
Y-43.394 I22.111 J-43.394
X28.625 Y-39.4 I22.108 J43.389
X43.392 Y-22.109 I-28.633 J39.405
X48.7 Y0.I-43.389 J22.109
G01 X42.7
Z1.
G00 Z50.
Z0.
G01 Z-3.
X48.7
G03 X43.392 Y22.109 I-48.697 J0.
X28.625 Y39.4 I-43.4 J-22.115
X-22.109 Y43.394 I-28.625 J-39.395
Y-43.394 I22.111 J-43.394
X28.625 Y-39.4 I22.108 J43.389
X43.392 Y-22.109 I-28.633 J39.405
X48.7 Y0.I-43.389 J22.109
G01 X42.7
Z0.
G00 Z50.
Z-1.
G01 Z-4.
X48.7
G03 X43.392 Y22.109 I-48.697 J0.
X28.625 Y39.4 I-43.4 J-22.115
X-22.109 Y43.394 I-28.625 J-39.395
Y-43.394 I22.111 J-43.394
X28.625 Y-39.4 I22.108 J43.389
X43.392 Y-22.109 I-28.633 J39.405
X48.7 Y0.I-43.389 J22.109
G01 X42.7
Z-1.
G00 Z50.
M09
M05
M30
出来的圆只有109.5 要做到110的.在G43 Z50 H02 后面补上了D02的刀具半径补偿.为什么没什么作用?
程序如下:%G40 G49 G80 G90T02 M06G17 G00 G54 X42.7 Y0.G43 Z50.H02S1000 M03Z2.G01 Z-1.F150.M08X48.7G03 X43.392 Y22.109 I-48.697 J0.X28.625 Y39.4 I-43.4 J-22.115X-22.109 Y43.394 I-28.625 J-39.395Y-43.394 I22.111 J-43.394X28.625 Y-39.4 I22.108 J43.
楼主应该是个CNC初学者,首先你要搞懂每个G代码的功能,G43的作用是 建立刀具长度补偿,该指令只能读取到长度补偿地址里面的数据;建立刀具半径补偿的指令是G41和G42两个指令,而且只有刀具执行G0或G01命令的同时才能建立起半径补偿!比如G01 G41 x50.y-50.D02 的意义就是刀具在直线行走到 x50.y-50.点的同时也建立起了刀具的半径补偿,G41读取的就是半径补偿地址D02里面的数据.