找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 355|回复: 5

[求助] 帮忙改下MA9.1后处理,螺旋下刀

[复制链接]

5

主题

60

回帖

37

积分

注册会员

积分
37
发表于 2014-7-9 12:25:55 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑
( `% b' f) Z  J, K) b+ V2 j) e2 r
" f4 ]: U: M" K不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。
. {( @4 C8 \' E( B还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;! v# W0 k# }1 E7 _5 u7 [5 U2 c
# --------------------------------------------------------------------------
1 l; y) l+ J) ~! U. r% Z4 r4 W, r# ~# General Output Settings
4 [% r- |* k. ]0 i; g# i# --------------------------------------------------------------------------
6 G+ O% `; }- i, x4 q0 esub_level   : 1     #Enable automatic subprogram support
6 T3 _3 x7 ~7 Q& g/ n8 V# Ybreakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs
& O4 T9 T3 [- Y6 ]; S& Parcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 1809 L: y2 ^' V: \, L' m- `$ i5 Z
arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
  K3 b: p2 e6 x" i% odo_full_arc : 0     #Allow full circle output? 0=no, 1=yes
$ D: Z  r) H6 m6 k. c% K" H+ Phelix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
0 a3 p. I: g. ~( v- |& S3 varccheck    : 3     #Check for small arcs, convert to linear
- g1 u/ o2 M( U' a" h( Aatol        : .01   #Angularity tolerance for arccheck = 22 B& T$ G7 z) [7 J4 Z+ o
ltol        : .002  #Length tolerance for arccheck = 1  F# V$ U' v. W
vtol        : .0001 #System tolerance8 v3 x- w' |7 {. H- l. d" G) L
maxfeedpm   : 500   #Limit for feed in inch/min5 s+ p  ]' J# k  S2 Q  m
ltol_m      : .05   #Length tolerance for arccheck = 1, metric

发那科Mpfan原版.rar

15.22 KB, 下载次数: 1, 下载积分: 金钱 -5

5

主题

60

回帖

37

积分

注册会员

积分
37
 楼主| 发表于 2014-7-9 12:42:56 | 显示全部楼层
顶自己一下
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

积分
37
 楼主| 发表于 2014-7-9 12:50:15 | 显示全部楼层
http://postp.net/viewthread.php?tid=6538       1 `1 A* f" r9 d4 N6 ]4 x
4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

积分
37
 楼主| 发表于 2014-7-9 14:33:14 | 显示全部楼层
晕,我改了一天一夜,最后发现是软件设置问题,螺旋渐降斜插,设置打断成若干直线了。。。
回复

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014271
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000 ' J0 X# P8 Y# z% Z9 W- M5 j
, V2 f( Q. _0 W: Z! V

8 d2 T5 j4 c$ {! F! e; q) x    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。
4 c0 R; w2 U6 z; v6 h  `6 {" I. W# F5 d
替换你的原有的即可
( S7 c. `' S. B: R* }& }
% P! a+ i$ Z# Gpcirout         #Output to NC of circular interpolation  E0 w- _1 e$ {1 e
      if full_arc_flg,; n9 e; \3 K( B+ |. V/ G
        [
5 L' o* V% J3 T8 T3 u; n        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              
, \5 w# ?5 k: W* m        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              % E) N+ u5 u2 m% s9 S
        if plane = two,  G( S8 h8 Y* G4 i5 G6 m* U! I
          [5 ^% ^- w, m( @. H  a# n
          result = force(xabs,xabs)   #force coordinate on full arc              
9 F0 `& X: n9 X) w4 ^          result = force(zabs,zabs)   #force coordinate on full arc              
) a9 V5 j3 y2 Y: X0 S* @( ?          ]
- [& z* [6 S! S" s  [        ]
1 \- ]. O1 U* g0 i      if hel_2100 = one, pcirout2
. f$ e4 k3 o* O: A      else, pcirout1
  `; }! b+ ]3 M. s" F0 d
+ n# s3 Y  D& Xpcirout1        #Output to NC of circular interpolation- Q5 G. C! ]. ~& v0 }
      pcan1, pbld, sgcode, sgabsinc, pccdia,
; [9 B8 q% z# L/ Z( d; r        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e3 _1 P# F( G$ S% f+ B
        
$ ~. H0 f3 V! H# P6 L) A1 X& H, {fmt  "K" 2  lead        #Helical lead
/ m7 b+ q" ], }; b* C9 N: \hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes: J/ w  `" k3 w' n0 r- z6 f
: t  l: o" p4 W3 j
pcirout2        #Output to NC of circular interpolation4 m2 d7 [, Y9 u, a7 s7 O1 z
      if (plane = zero & fmtrnd(zinc)<>0)& p: J) n) D  P
       | (plane =  one & fmtrnd(xinc)<>0)& q! U: F4 }2 L  T5 O
       | (plane =  two & fmtrnd(yinc)<>0), phelout; R3 X3 |9 |. O9 }1 K: V/ k9 @
      else, pcirout1
2 c8 A4 N" f' M  U9 p: a# [) M5 M* a# ]+ y* `8 Q# H
phelout         #Output to NC of helical interpolation" V7 E8 f" Y% }# z5 Q  I
      if plane = zero," B* D0 l: u# P7 g6 ^
        [  }+ S' ]" t& `* e! D* \& Q
        result = nwadrs(strk, lead)% O1 P2 E- D; U' p- n- c9 r
        lead = abs(zinc/sweep*360)$ g3 Z! ]$ M2 w2 t9 k8 ]& j% c" K
        ]
; r: z. B4 y3 O& ~% c+ ?      if plane = one,  ?( S  G; |% ~' Q% z
        [5 J5 [5 v* s/ A
        result = nwadrs(stri, lead)
2 _2 B* t. @' |        lead = abs(xinc/sweep*360)! M% x6 y2 M2 D9 s
        ]
9 e& e# e1 O% O% }& H      if plane = two,0 ?0 E4 Z! p$ l+ {6 m
        [
6 X) W+ G% O5 f' e% s! U! w        result = nwadrs(strj, lead)# w; P9 m# j* x* W
        lead = abs(yinc/sweep*360)
+ V" Q- G6 s0 k' v. b; Z( y- |        ]  y% v# I0 d- U/ O4 a' w& z6 Y
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,4 `& [7 h/ F- m6 e
        pxout, pyout, pzout, *lead, pcout, parc, feed, strcantext, scoolant, e
回复

使用道具 举报

3

主题

60

回帖

107

积分

注册会员

积分
107
发表于 2014-7-13 07:56:25 | 显示全部楼层
实在是太复杂了啊,不知道怎么改
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2026-9-29 05:23 , Processed in 0.150525 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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