如何将CNC中的两条程序合并在一起.?

如何将CNC中的两条程序合并在一起.?,第1张

首先你要把G54改成你需要的,如G55 G56 ,保存后,然后把两个程序合并起来,删掉前面和后面的,以你那为例子,%

( TOOL - 00DIA. OFF. - 00LENGTH - 00DIA. - 4.0000)

G90G54G00X-33.1453Y-33.1453

Z15.S12000M03

(d4)

Z5.

G01Z-.1F5000.

X-33.6146Y-32.6167F4000.

G02X-34.8963Y-28.9115I4.7065J3.7024

G01Y28.9115

G02X-28.9115Y34.8963I5.9785J.0062

G01X28.9115

G02X34.8963Y28.9115I.0062J-5.9785

G01Y-28.9115

G02X28.9115Y-34.8963I-5.9785J-.0062

G01X-28.9115

G02X-33.1453Y-33.1453I.0234J6.0501

G01X-33.1677Y-33.1652

Z-.3429F5000.

X-33.6358Y-32.638F4000.

G02X-34.9176Y-28.9328I4.7065J3.7024

G01Y28.9328

G02X-28.9328Y34.9176I5.9785J.0062

G01X28.9328

G02X34.9176Y28.9328I.0062J-5.9785

G01Y-28.9328

G02X28.9328Y-34.9176I-5.9785J-.0062

G01X-28.9328

G02X-33.1677Y-33.1652I-.0042J5.983

G01X-33.1901Y-33.1851

Z-.5857F5000.

X-33.6571Y-32.6592F4000.

G02X-34.9388Y-28.954I4.7065J3.7024

G01Y28.954

G02X-28.954Y34.9388I5.9785J.0062

G01X28.954

G02X34.9388Y28.954I.0062J-5.9785

G01Y-28.954

G02X28.954Y-34.9388I-5.9785J-.0062

G01X-28.954

G02X-33.1901Y-33.1851I-.0044J5.9822

G01X-33.2125Y-33.205

Z-.8286F5000.

X-33.6783Y-32.6805F4000.

G02X-34.9601Y-28.9753I4.7065J3.7024

G01Y28.9753

G02X-28.9753Y34.9601I5.9785J.0062

G01X28.9753

G02X34.9601Y28.9753I.0062J-5.9785

G01Y-28.9753

G02X28.9753Y-34.9601I-5.9785J-.0062

G01X-28.9753

G02X-33.2125Y-33.205I-.0046J5.9815

G01X-33.235Y-33.2249

Z-1.0714F5000.

X-33.6996Y-32.7017F4000.

G02X-34.9813Y-28.9965I4.7065J3.7024

G01Y28.9965

G02X-28.9965Y34.9813I5.9785J.0062

G01X28.9965

G02X34.9813Y28.9965I.0062J-5.9785

G01Y-28.9965

G02X28.9965Y-34.9813I-5.9785J-.0062

G01X-28.9965

G02X-33.235Y-33.2249I-.0047J5.9807

G01X-33.2574Y-33.2448

Z-1.3143F5000.

X-33.7208Y-32.723F4000.

G02X-35.0026Y-29.0178I4.7065J3.7024

G01Y29.0178

G02X-29.0178Y35.0026I5.9785J.0062

G01X29.0178

G02X35.0026Y29.0178I.0062J-5.9785

G01Y-29.0178

G02X29.0178Y-35.0026I-5.9785J-.0062

G01X-29.0178

G02X-33.2574Y-33.2448I-.0049J5.98

G01X-33.2798Y-33.2648

Z-1.5571F5000.

X-33.7421Y-32.7442F4000.

G02X-35.0238Y-29.039I4.7065J3.7024

X-27.5139F4000.

X27.5168Y-27.5139

X27.3795Y27.3873

X-27.3873Y27.3795

Y-27.3873

G00Z5.

Z15.(aaaaaa)

G90G54G00X-33.1453Y-33.1453

Z15.S12000M03

(d4)

Z5.

G01Z-.1F5000.

X-33.6146Y-32.6167F4000.

G02X-34.8963Y-28.9115I4.7065J3.7024

G01Y28.9115

G02X-28.9115Y34.8963I5.9785J.0062

G01X28.9115

G02X34.8963Y28.9115I.0062J-5.9785

G01Y-28.9115

G02X28.9115Y-34.8963I-5.9785J-.0062

G01X-28.9115

G02X-33.1453Y-33.1453I.0234J6.0501

G01X-33.1677Y-33.1652

Z-.3429F5000.

X-33.6358Y-32.638F4000.

G02X-34.9176Y-28.9328I4.7065J3.7024

G01Y28.9328

G02X-28.9328Y34.9176I5.9785J.0062

G01X28.9328

G02X34.9176Y28.9328I.0062J-5.9785

G01Y-28.9328

G02X28.9328Y-34.9176I-5.9785J-.0062

G01X-28.9328

G02X-33.1677Y-33.1652I-.0042J5.983

G01X-33.1901Y-33.1851

Z-.5857F5000.

X-33.6571Y-32.6592F4000.

G02X-34.9388Y-28.954I4.7065J3.7024

G01Y28.954

G02X-28.954Y34.9388I5.9785J.0062

G01X28.954

G02X34.9388Y28.954I.0062J-5.9785

G01Y-28.954

G02X28.954Y-34.9388I-5.9785J-.0062

G01X-28.954

G02X-33.1901Y-33.1851I-.0044J5.9822

G01X-33.2125Y-33.205

Z-.8286F5000.

X-33.6783Y-32.6805F4000.

G02X-34.9601Y-28.9753I4.7065J3.7024

G01Y28.9753

G02X-28.9753Y34.9601I5.9785J.0062

G01X28.9753

G02X34.9601Y28.9753I.0062J-5.9785

G01Y-28.9753

G02X28.9753Y-34.9601I-5.9785J-.0062

G01X-28.9753

G02X-33.2125Y-33.205I-.0046J5.9815

G01X-33.235Y-33.2249

Z-1.0714F5000.

X-33.6996Y-32.7017F4000.

G02X-34.9813Y-28.9965I4.7065J3.7024

G01Y28.9965

G02X-28.9965Y34.9813I5.9785J.0062

G01X28.9965

G02X34.9813Y28.9965I.0062J-5.9785

G01Y-28.9965

G02X28.9965Y-34.9813I-5.9785J-.0062

G01X-28.9965

G02X-33.235Y-33.2249I-.0047J5.9807

G01X-33.2574Y-33.2448

Z-1.3143F5000.

X-33.7208Y-32.723F4000.

G02X-35.0026Y-29.0178I4.7065J3.7024

G01Y29.0178

G02X-29.0178Y35.0026I5.9785J.0062

G01X29.0178

G02X35.0026Y29.0178I.0062J-5.9785

G01Y-29.0178

G02X29.0178Y-35.0026I-5.9785J-.0062

G01X-29.0178

G02X-33.2574Y-33.2448I-.0049J5.98

G01X-33.2798Y-33.2648

Z-1.5571F5000.

X-33.7421Y-32.7442F4000.

G02X-35.0238Y-29.039I4.7065J3.7024

X-27.5139F4000.

X27.5168Y-27.5139

X27.3795Y27.3873

X-27.3873Y27.3795

Y-27.3873

G00Z5.

Z15.

M30

%这样就OK,以次类摧,把G代码改成相应的,把两个程序中间随便添加几个字母方便自己查找!

G01Z-13.4

G00Z10.

M05

G91G28Z0.

M01

比如说你要插4mm刀的程式就在这粘贴进去结尾M30要删掉

G91G28Z0

G40G49G80

M06T04

(TOOL,D4 )

(RPM=14000 TD=4.00 CR=0.00 FL=50.00)

G0G90G54X0.Y0.

G00X63.622Y110.95

S14000M03

G43H04Z10.

Z.3

G01X37.05Z.068F2500.


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/7883146.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-11
下一篇 2023-04-11

发表评论

登录后才能评论

评论列表(0条)

保存