找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 886|回复: 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 1 P) |6 }5 B4 D+ i9 b7 d
- E1 y, T" R" s
. r0 C  k) {" N( x
    以下修改方法仅限软件自带后处理mpfan.pst后处理
# V  q2 B6 J1 F7 a# k6 }找到下面三个命令块,将其中代码`sgcode或sgcode,共三处,如下红色显示,改为*sgcode,即可实现强制输出.5 j9 [4 [( }2 s
以下代码为mastercamX版本的后处理.mastercamv9代码改法基本相同
3 z; g0 t, o6 Aprapidout       #Output to NC of linear movement - rapid               
, f: v' v0 ]# ~      pcan1, pbld, sgplane, `sgcode, sgabsinc, pccdia,% \* C- ~# V$ x; e2 J) b: s
        pxout, pyout, pzout, pcout, strcantext, scoolant, e$7 _3 @8 h/ z9 T( U
      #Modify following line to customize output for high-speed toolpath
3 b/ _9 f" A! \# H& _/ F: Z      #tool inspection/change points
  L' O* m  a! m4 Z3 s! k      if rpd_typ$ = 7, pbld, "M00", "(TOOL INSPECTION POINT - POST CUSTOMIZATION REQUIRED)", e$; R( `* H. L7 N" @2 j3 j

3 u: G' h- F# [3 Gplinout         #Output to NC of linear movement - feed                      `7 F1 n! T1 k% ]& J% B
      pcan1, pbld, sgfeed, sgplane, `sgcode, sgabsinc, pccdia,
- W, l; `) K% [% Y$ t        pxout, pyout, pzout, pcout, feed, strcantext, scoolant, e$
; s% X: B! Z* a5 @8 B+ R7 Q      #Modify following line to customize output for high-speed toolpath& d: Q: _- L. n8 |* I3 w6 V% c) M
      #tool inspection/change points
8 w$ y  b) k; Q' q  u      if rpd_typ$ = 7, pbld, "M00", "(TOOL INSPECTION POINT - POST CUSTOMIZATION REQUIRED)", e$
7 V0 u" R# h/ ^3 K& [* U' h: D/ O, R6 o$ s7 c
pcirout         #Output to NC of circular interpolation: o4 I, e' @1 y5 N' K
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
* V( G8 b9 {4 h2 A3 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-22 21:58 , Processed in 0.210149 second(s), 25 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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