找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 320|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑 8 q: o- B& k6 ?" t$ }/ R; G' j
8 c+ Z7 f) c6 g" ^, L, g! \& d  d1 S
不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。* a5 e. n1 r8 Q0 y) u
还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;
8 v- B/ e7 E+ g# --------------------------------------------------------------------------$ S! Q: C$ \3 Q6 n1 e) _8 e
# General Output Settings* F8 I, y. H8 P6 h& }
# --------------------------------------------------------------------------
8 q% a6 c" T% H5 V& wsub_level   : 1     #Enable automatic subprogram support- X1 l+ [' b6 q; }: R
breakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs$ Y5 W# j& u4 }, o  u
arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 1804 ~3 H" n9 l& E  }! o0 C5 [
arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.0 W9 l$ v$ H( m
do_full_arc : 0     #Allow full circle output? 0=no, 1=yes4 m# u: N6 R% M/ B! a8 {
helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
6 {) s* z' o5 Z  n, s3 Xarccheck    : 3     #Check for small arcs, convert to linear/ N4 A, c4 \$ N4 m- O0 N
atol        : .01   #Angularity tolerance for arccheck = 2% n% f1 |, t! W7 A+ ^4 M3 W$ ]2 g8 n
ltol        : .002  #Length tolerance for arccheck = 1) `3 Q, o7 \) E% }+ k& i
vtol        : .0001 #System tolerance
2 P- x) M4 r' y* R, G. Cmaxfeedpm   : 500   #Limit for feed in inch/min2 z4 D6 @* w# F! j/ o* p
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      
4 j4 Y4 l8 c. w" h6 O4 y& W4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014270
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000
$ s! Q7 {, @. t5 B* {5 x2 r3 ?* Q4 R  S" c! m# \% l
* X1 ], ?. c4 ~, g% p
    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。
  t  B0 w- g/ h; o' f5 P* j1 Y$ O
7 P% b8 }1 z* H$ y替换你的原有的即可
" ]: f! F; k) x( ?% H( i: g
) v/ i% B/ K& ^7 L9 Epcirout         #Output to NC of circular interpolation
* Y* M! D* s9 _      if full_arc_flg,
  j' B5 ]8 H1 z" s5 L' O2 t        [
' g" C. i% I4 t. p5 z        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              * @  r, n! x* R& c# s! u/ a
        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              
% @8 s- U5 l% `) `" T7 K* y        if plane = two,' ~, d* |4 I3 k8 ?/ q8 t( w
          [
$ }) M0 r' G7 J& _! W; _- |( n. s2 k          result = force(xabs,xabs)   #force coordinate on full arc              
. W6 @. r. B) Z- O" z          result = force(zabs,zabs)   #force coordinate on full arc              * _* ^+ Z& Y$ Y9 f
          ]5 O' `9 S9 d0 O" ~& ?
        ]
( B! [3 Y9 y+ A. [1 R6 w8 T      if hel_2100 = one, pcirout2* T1 g* q6 N6 K- ^
      else, pcirout1
3 u8 H1 ]( z- e& d6 q6 k$ j& I' \  k) ^: Z
pcirout1        #Output to NC of circular interpolation+ f! z: p) W, s% d# m
      pcan1, pbld, sgcode, sgabsinc, pccdia,
0 Y) p5 Y1 y4 v2 e( O        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e
. c. M& c' Z5 w2 t& C" B0 _5 ^        : I1 B- E- G7 o8 H3 {. Z  ~0 c6 O7 x
fmt  "K" 2  lead        #Helical lead
, s6 w0 E5 y4 F0 W  C4 Rhel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes
" H% D7 t# E6 y3 n+ U, L! H/ f$ N) _3 T* O7 Y3 G: z' D
pcirout2        #Output to NC of circular interpolation
/ h, i) t0 T/ R' M7 z9 y1 z; Z      if (plane = zero & fmtrnd(zinc)<>0)
8 {4 |" d9 F5 g4 A2 Z) F5 v       | (plane =  one & fmtrnd(xinc)<>0)' a/ X) R1 i/ Q8 Y! i& i$ W
       | (plane =  two & fmtrnd(yinc)<>0), phelout
9 J0 f( y/ j1 L      else, pcirout13 p" x3 i/ b0 K% ]5 K, t  h
" Q$ ^) I% z0 f- v
phelout         #Output to NC of helical interpolation- ]  A2 g' ]6 g8 t
      if plane = zero,0 p% {8 j2 l9 H  V
        [! S5 v, K9 }( j9 l, `( a; ~( X
        result = nwadrs(strk, lead)* @% _- _  x3 D/ b& |  E9 T" b* G% L
        lead = abs(zinc/sweep*360)) [! r+ k, N, Z( X5 p' e9 m
        ]
5 F. H8 ?+ C6 v9 m" O% H      if plane = one,
/ [0 g- L) [, M, |0 A  ~/ C        [! {5 S$ C# j( }. ]
        result = nwadrs(stri, lead)
8 `4 q6 V# t, v' i! e7 I7 a        lead = abs(xinc/sweep*360)
8 S7 N: H1 _# W9 ~8 F        ], o+ `" E3 t2 H# I
      if plane = two," q* B( Q2 Y1 Y; m  ?
        [
; E3 }1 o( U! k        result = nwadrs(strj, lead)
  ]' {1 @. B" j1 e( ]- ^        lead = abs(yinc/sweep*360)
9 F! Q' W1 j4 S' H; J7 t        ], P8 W7 |% l2 q) S
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
' a8 G2 V. m7 }, E+ Q        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-5 04:36 , Processed in 0.183994 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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