找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 863|回复: 3

[求助] mastercam x后置处理出来的程序怎么能每行强制输出G0、G1、G2、G3

[复制链接]

7

主题

51

回帖

33

积分

注册会员

积分
33
发表于 2011-10-30 08:52:38 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区

您需要 登录 才可以下载或查看,没有账号?立即注册

×
若枫老大,请讲解一下具体操作方法。谢谢

433

主题

5759

回帖

901万

积分

管理员

积分
9014266
发表于 2011-10-30 09:03:54 | 显示全部楼层
回复 1# zhanghua304249
5 `7 W" z' H- f# C7 I0 `
+ S. Q4 h2 a3 U/ Q& ~! t6 b& d: Y: g& O
    以下修改方法仅限软件自带后处理mpfan.pst后处理" E4 ^) w- H1 n( \: z
找到下面三个命令块,将其中代码`sgcode或sgcode,共三处,如下红色显示,改为*sgcode,即可实现强制输出.
! b. H' ?/ ^* K, s8 _以下代码为mastercamX版本的后处理.mastercamv9代码改法基本相同
8 w( V3 P  M2 f# h  P+ Bprapidout       #Output to NC of linear movement - rapid               5 ^0 V8 \4 ^- E- ~
      pcan1, pbld, sgplane, `sgcode, sgabsinc, pccdia,
+ i: M9 i& r. v7 X3 A- ?        pxout, pyout, pzout, pcout, strcantext, scoolant, e$8 C" e  S* Q6 ?/ h
      #Modify following line to customize output for high-speed toolpath9 |* S# O( K4 {* `
      #tool inspection/change points7 G: R% @' s7 k" W- h& C
      if rpd_typ$ = 7, pbld, "M00", "(TOOL INSPECTION POINT - POST CUSTOMIZATION REQUIRED)", e$
& M, {" n0 ?* n5 F1 _, o  Q3 Z1 T! N. m0 s7 A/ r/ N" k6 y
plinout         #Output to NC of linear movement - feed                    3 a# y8 H4 {2 l# }
      pcan1, pbld, sgfeed, sgplane, `sgcode, sgabsinc, pccdia,
8 K) F; M5 p3 I3 M        pxout, pyout, pzout, pcout, feed, strcantext, scoolant, e$  R* U9 _8 _/ U& o2 |& y$ p$ Y# U
      #Modify following line to customize output for high-speed toolpath
* P6 {* X5 k6 F+ h      #tool inspection/change points
1 Y1 {3 |5 ^2 R3 T% n4 w      if rpd_typ$ = 7, pbld, "M00", "(TOOL INSPECTION POINT - POST CUSTOMIZATION REQUIRED)", e$
6 O2 d* i8 Q9 C" V1 _
' c" c" L# _4 |  D# v& k1 o* hpcirout         #Output to NC of circular interpolation
- K* d: O" p8 G      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,1 Z+ F8 L$ Q7 S, f" r' w
        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e$
回复

使用道具 举报

7

主题

51

回帖

33

积分

注册会员

积分
33
 楼主| 发表于 2011-10-30 13:15:19 | 显示全部楼层
老大,多谢。下次有问题还会向你请教。到时请多多指教。
回复

使用道具 举报

6

主题

203

回帖

3376

积分

论坛元老

积分
3376
QQ
发表于 2012-11-22 19:33:26 | 显示全部楼层
看君一帖,胜读十年书
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /2 下一条

QQ|Archiver|手机版|小黑屋|若枫后处理论坛 ( 苏ICP备11015087号-1|苏公网安备32059002001368号 )

GMT+8, 2026-8-14 16:42 , Processed in 0.156836 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表