原帖由 blue4321 于 2007-9-25 18:32 发表
各位兄弟中秋快乐
今天在出程序时发现heidenhain的iso格式程序不默认g02和g03
如果第一行有g02
第二行也是g02的话mc自带的heidi后处理就不再出g02
但我传到床子里就报错
必须有g02
请问高手如何修改后处理
让每段圆弧都带g02或g03
谢谢
我明白你的意思,以后发帖子的时候,请在标题注明最好,而不是单纯的“后处理求助”。
你的要求就是,每一行代码前面都必须用G代码来表示机床的动作。
使输出的代码每行不省略重复的G01 G02 G03,
编辑后处理:
查找到
prapidout #Output to NC of linear movement - rapid
pcan1, pbld, n, sgplane, `sgcode, sgabsinc, pccdia,
pxout, pyout, pzout, pcout, strcantext, scoolant, e
plinout #Output to NC of linear movement - feed
pcan1, pbld, n, sgfeed, sgplane, `sgcode, sgabsinc, pccdia,
pxout, pyout, pzout, pcout, feed, strcantext, scoolant, e
pcirout #Output to NC of circular interpolation
pcan1, pbld, n, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e
改为:
prapidout #Output to NC of linear movement - rapid
pcan1, pbld, n, sgplane, *sgcode, sgabsinc, pccdia,
pxout, pyout, pzout, pcout, strcantext, scoolant, e
plinout #Output to NC of linear movement - feed
pcan1, pbld, n, sgfeed, sgplane, *sgcode, sgabsinc, pccdia,
pxout, pyout, pzout, pcout, feed, strcantext, scoolant, e
pcirout #Output to NC of circular interpolation
pcan1, pbld, n, `sgfeed, sgplane,* sgcode, sgabsinc, pccdia,
pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e
在sgcode前加 * 看红色部分。 |