UG爱好者

标题: HOLE_MILLING螺旋铣孔加底部铣园,机床报警 [打印本页]

作者: jisx0404    时间: 2020-7-20 19:16
标题: HOLE_MILLING螺旋铣孔加底部铣园,机床报警
HOLE_MILLING螺旋铣孔加底部铣园,在加工到最后后最后一个螺旋转底部铣园时,机床报警,格式不对。
%
(Sat Jul 18 21:27:29 2020)
N0010 G40 G17 G49 G94 G00 G90
N0020 M01
N0030 (Manual Tool Change D=80.00 L=75.00 T_No.=39)
N0040 G55
N0050 G18 G00 X0.0 Z0.0 S500 M03
N0060 G43 Y479. H39
N0070 M07
N0080 Y383.
N0090 G41 G01 X36.568 Z10.333 F1200. D39
N0100 G03 X37.614 Z10.386 I1.046 K-10.333
N0110 X48. Z0.0 I0.0 K-10.386
N0120 X48. Y382. Z0.0 I-48. K0.0
N0130 X48. Y381. Z0.0 I-48. K0.0
......
......
N1010 X48. Y293. Z0.0 I-48. K0.0
N1020 X48. Y292. Z0.0 I-48. K0.0
N1030 X48. Y291. Z0.0 I-48. K0.0
N1040 X0.0 Z-48.
N1050 X-48. Z0.0 I0.0 K48.
N1060 X0.0 Z48. I48. K0.0
N1070 X48. Z0.0 I0.0 K-48.
N1080 X47.958 Z-1.999 I-48. K0.0
N1090 X37.581 Z-11.953 I-10.377 K.433
N1100 X36.106 Z-11.848 I0.0 K10.386
N1110 G40 G01 X0.0 Z0.0
N1120 G00 Y479.
N1130 M05
N1140 M09
N1150 M02
%


%
(Sat Jul 18 21:28:28 2020)
N0010 G40 G17 G49 G94 G00 G90
N0020 M01
N0030 (Manual Tool Change D=80.00 L=75.00 T_No.=39)
N0040 G55
N0050 G18 G00 X0.0 Z0.0 S500 M03
N0060 G43 Y479. H39
N0070 M07
N0080 Y293.
N0090 G41 G01 X24.147 Z9.639 F1200. D39
N0100 G03 X26.154 Z9.846 I2.007 K-9.639
N0110 X36. Z0.0 I0.0 K-9.846
N0120 X36. Y292. Z0.0 I-36. K0.0
N0130 X36. Y291. Z0.0 I-36. K0.0
.....
.....
N0460 X36. Y258. Z0.0 I-36. K0.0
N0470 X36. Y257. Z0.0 I-36. K0.0
N0480 X36. Y256. Z0.0 I-36. K0.0
N0490 X0.0 Z-36.
N0500 X-36. Z0.0 I0.0 K36.
N0510 X0.0 Z36. I36. K0.0
N0520 X36. Z0.0 I0.0 K-36.
N0530 X35.944 Z-1.999 I-36. K0.0
N0540 X26.114 Z-11.298 I-9.831 K.547
N0550 X23.575 Z-10.965 I0.0 K9.846
N0560 G40 G01 X0.0 Z0.0
N0570 G00 Y479.
N0580 M05
N0590 M09
N0600 M02
%







3085.jpg (366.09 KB, 下载次数: 39)

3085.jpg

作者: jisx0404    时间: 2020-7-20 19:20
2个程序都这样,运行到红色语句,报警,格式不对。

3086.jpg (347.89 KB, 下载次数: 30)

3086.jpg

作者: raokai1989    时间: 2020-7-20 19:55
本帖最后由 raokai1989 于 2020-7-20 19:57 编辑

后处理没有做好,X Y Z 对应I J K,你这有Z还有K同一行,矛盾
作者: jisx0404    时间: 2020-7-20 20:07
raokai1989 发表于 2020-7-20 19:55
后处理没有做好,X Y Z 对应I J K,你这有Z还有K同一行,矛盾

用的侧铣G18,Y是主轴
作者: 腊月的猴子    时间: 2020-7-20 21:13
IJK设为非模态试试
作者: #忘忧草#    时间: 2020-7-20 21:15
后处理有问题!你这个格式,报警了才是正常的
作者: jisx0404    时间: 2020-7-20 21:20
N1040 X0.0 Z-48.

N0490 X0.0 Z-36.


这二句有问题,I K和最后一个螺旋相同,被省略了




修改后处理,强制输出 I K就好了

作者: 腊月的猴子    时间: 2020-7-20 21:20
如图所示

eee.jpg (100.43 KB, 下载次数: 20)

eee.jpg

作者: nei1693    时间: 2020-7-20 21:25
问题应该是出在N1040 X0.0 Z-48.
作者: jisx0404    时间: 2020-7-20 21:36
腊月的猴子 发表于 2020-7-20 21:20
如图所示

修改了后处理
N1000 X48. Y294. Z0.0 I-48. K0.0
N1010 X48. Y293. Z0.0 I-48. K0.0
N1020 X48. Y292. Z0.0 I-48. K0.0
N1030 X48. Y291. Z0.0 I-48. K0.0
N1040 X0.0 Z-48. I-48. K0.0
N1050 X-48. Z0.0 I0.0 K48.
N1060 X0.0 Z48. I48. K0.0
N1070 X48. Z0.0 I0.0 K-48.
N1080 X47.958 Z-1.999 I-48. K0.0
N1090 X37.581 Z-11.953 I-10.377 K.433
N1100 X36.106 Z-11.848 I0.0 K10.386
N1110 G40 G01 X0.0 Z0.0
N1120 G00 Y479.
N1130 M05
N1140 M09
N1150 M02


1.JPG (91.37 KB, 下载次数: 23)

1.JPG

2.JPG (22.73 KB, 下载次数: 17)

2.JPG

作者: jianfeng13148    时间: 2020-7-20 22:02
不要K试下




欢迎光临 UG爱好者 (https://www.ugsnx.com/) Powered by Discuz! X3.2