永发信息网

MASTERCAM9.1后处理非模态G指令输出问题

答案:2  悬赏:10  手机版
解决时间 2021-12-19 13:13
  • 提问者网友:我是女神我骄傲
  • 2021-12-18 17:27
想要的结果如下:
%
O0000
(PROGRAM NAME - T)
(DATE=DD-MM-YY - 22-10-13 TIME=HH:MM - 18:47)
G21
G0G17G40G49G80G90
( 5. DRILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - 5.)
G0G90G54X-39.911Y6.49A0.S1145M3
G43H1Z10.
G65P80000x10.Y20.Z0.R2.Q2.F0.5
G65P80000x14.Z0.R2.Q2.F0.5
G65P80000x65.Y18.Z0.R2.Q2.F0.5
G80G94
M5
G91G28Z0.
G28X0.Y0.A0.
M30
%

我现在用MPFAN.PST改,如下:
......
pmisc1 #Canned Misc #1 Cycle
pdrlcommonb
pcan1, pbld, n, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout,
prdrlout, shftdrl, dwell, *feed, strcantext, e
pcom_movea

pmisc2 #Canned Misc #2 Cycle (User Option)
pdrlcommonb
pcan1, pbld, n,"G65","P80000", pxout, pyout, pfzout, pcout,
prdrlout, shftdrl, dwell,*peck1, *feed, strcantext, e
pcom_movea
......

后处理结果:
%
O0000
(PROGRAM NAME - T)
(DATE=DD-MM-YY - 22-10-13 TIME=HH:MM - 18:47)
G21
G0G17G40G49G80G90
( 5. DRILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - 5.)
G0G90G54X-39.911Y6.49A0.S1145M3
G43H1Z10.
G65P80000x10.Y20.Z0.R2.Q2.F0.5
X14.
X65.Y18.
G80G94
M5
G91G28Z0.
G28X0.Y0.A0.
M30
%

问题:
怎样在每一行输出G65P80000...R2.Q2.F0.5 ?
最佳答案
  • 五星知识达人网友:像个废品
  • 2021-12-18 17:58
你的修改位置不对!你应该修改钻孔循环的输出格式而不是修改通用的格式

pdrill$ #Canned Drill Cycle (钻头循环指令格式)
pdrlcommonb
pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout, —>修改这里就可以了G81
prdrlout, dwell$, *feed, strcantext, e$
pcom_movea
ppeck$ #Canned Peck Drill Cycle
pdrlcommonb
pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout,—>修改这里就可以了G83 prdrlout, *peck1$, *feed, strcantext, e$
pcom_movea
全部回答
  • 1楼网友:舍身薄凉客
  • 2021-12-18 18:52
你说呢...
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯