找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 541|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑 . e: \. r' R0 y& b' P

) |2 d/ b8 c! t) z6 x2 k不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。
4 K' R' h0 z4 R6 I  I6 {' Z& z还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;, L5 v% ]$ l8 W0 C' A4 X/ W: t+ \: d
# --------------------------------------------------------------------------0 q0 L+ M& C4 Z: O  }& b/ _9 \5 g
# General Output Settings
' a) l* A; e9 p6 w& |) v# --------------------------------------------------------------------------
% q+ v8 V; a9 ^* s' ^9 Ksub_level   : 1     #Enable automatic subprogram support0 P# `6 P' H8 f  _% U  |4 G. V) Q
breakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs/ Y$ y1 l" V8 b! f: N8 G
arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180- s6 @* ?+ [, s7 A1 l. O
arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
$ I+ J" W9 M/ c# tdo_full_arc : 0     #Allow full circle output? 0=no, 1=yes- k+ @" ]5 c; v/ t9 Y. A
helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
) k  b4 T: _* Q( o7 K( iarccheck    : 3     #Check for small arcs, convert to linear
& K5 }( t6 q2 m( n( H1 f* d. watol        : .01   #Angularity tolerance for arccheck = 2- n3 q! ?  c  u
ltol        : .002  #Length tolerance for arccheck = 1
/ s3 G9 j/ g) _; J/ q) j( x$ ^& evtol        : .0001 #System tolerance- p  |) J: |+ e$ w2 Z2 ~
maxfeedpm   : 500   #Limit for feed in inch/min6 o4 Q! ], S* v
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      
- D  H- y) c  f& i* }* k, j4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

438

主题

5759

回帖

901万

积分

管理员

积分
9014289
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000
9 z4 p0 O* g3 \7 }0 }! b! z- r& v7 I4 Q$ j! n( F  ]6 E

- r% y6 `# _. @    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。# }6 o/ C6 O9 C2 b5 n% t8 T  L
/ P4 O6 l0 S3 u* \$ S
替换你的原有的即可
- {- c  Y1 W7 p) G
! v1 _$ F! C/ z/ Mpcirout         #Output to NC of circular interpolation
& `& K/ m- A$ _) ]# d      if full_arc_flg,
7 z  k/ l! R$ K: B1 w. c        [" s! t& h- R( S
        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              , s1 f) ?) C" D; i% R0 b5 ~2 f
        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              
+ [! h# W6 M4 |4 P" G* R. z9 g4 ~        if plane = two,
. A. }! [, p% c8 e* h' c$ @( ?' z          [! B# x) S, X" q* ^: L
          result = force(xabs,xabs)   #force coordinate on full arc              7 u( F0 U; c1 p
          result = force(zabs,zabs)   #force coordinate on full arc              
/ {5 u. _" _  n) b+ [          ]" Y+ D" P; s9 w' C' r$ S; T( p
        ]% y! F2 A5 a3 V
      if hel_2100 = one, pcirout2
6 O) Q, i% I9 z9 x$ D      else, pcirout1! Z3 y& E% i( e& I+ R. M# l$ E
- j, O, R+ l& D5 ~. r
pcirout1        #Output to NC of circular interpolation; d3 @* e- f" @  o
      pcan1, pbld, sgcode, sgabsinc, pccdia,$ D6 M0 }% {& `. Q) C
        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e5 s' W! d* V9 N6 A2 D) T; W
        $ i( S3 e5 T) {
fmt  "K" 2  lead        #Helical lead
8 c4 ]2 y6 d: r! r8 @: L3 _3 Z& Mhel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes
5 J4 _. Z/ B5 I, Q0 Y7 g8 [$ m" H4 s  G0 e) L) Q+ d
pcirout2        #Output to NC of circular interpolation8 H' t5 @( h& K" p7 F: t
      if (plane = zero & fmtrnd(zinc)<>0)8 M6 D/ H  t( p3 S+ O5 ~
       | (plane =  one & fmtrnd(xinc)<>0)' R; }/ F5 ~* N' V9 u, u; I
       | (plane =  two & fmtrnd(yinc)<>0), phelout/ r6 x# E  `- S) B; K' m7 H) F
      else, pcirout1/ Y  q, j7 \( P4 |" a1 q
, L. g. L6 A1 D3 \: V
phelout         #Output to NC of helical interpolation
, X# ?2 X4 I6 B. e" I7 d      if plane = zero,
+ h, a" q$ I( n1 |& n* b" Y+ t        [
3 [4 s9 I9 N( L3 H, f        result = nwadrs(strk, lead)
  @3 P; o( M8 t3 [' \' A; a' c        lead = abs(zinc/sweep*360)
* I5 Z6 ?' H1 t8 }        ]3 ^3 w% Z. T' H& n( j, e- u
      if plane = one," a" x' F6 Y( z) U
        [. s: t* r, N4 L4 x% a0 l
        result = nwadrs(stri, lead)
; M- h- I! i- z. y8 I        lead = abs(xinc/sweep*360)
+ I: k7 ?9 `$ v$ k* v  C  e( E( z: C) |        ]/ C: k6 `/ f8 ?$ q3 }1 _# V: w
      if plane = two,+ g0 d& b0 B# \' ~% f" L- T% ]" a
        [
# d, k, R7 h0 B/ @. L  b! ^/ W        result = nwadrs(strj, lead)) g8 e7 N; f2 r! C
        lead = abs(yinc/sweep*360)) v! f* W' b+ Y+ C- O, y* z
        ]( a8 f1 E6 v  B# o# y+ }
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
8 ~: E- f. `1 u: A        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-11-18 09:49 , Processed in 0.187668 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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