找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 545|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑 4 P& N( m) q7 N; L: J4 J: f8 y

+ r* |) A! H0 n1 z! a+ Y4 l' k不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。5 a: k, L% u, c5 \) O/ ?
还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;
* i7 o) y: ?, r, X1 }$ D# --------------------------------------------------------------------------& D9 m; c1 r& G6 [, V9 _) l) z- f
# General Output Settings
# o( ?% C/ ]2 G8 R. j) F0 ~+ q% G$ W# --------------------------------------------------------------------------
% i* L- a8 d% I' n2 a! w1 Osub_level   : 1     #Enable automatic subprogram support+ {/ q9 G" y/ j; K# \, f& m2 r
breakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs( w& @" T$ d; Q0 u- Q6 ^; d
arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180  r1 a& G' T- j% d& \3 L- V
arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
  x, V7 }; R: Y5 p2 q6 r5 Xdo_full_arc : 0     #Allow full circle output? 0=no, 1=yes( h  u3 K" ^: E! F4 t- \3 r6 j, K0 d
helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
# m  i/ ?  V- _' marccheck    : 3     #Check for small arcs, convert to linear3 w: q  \. I. ^
atol        : .01   #Angularity tolerance for arccheck = 27 J9 n1 Y8 j  H" Q! }
ltol        : .002  #Length tolerance for arccheck = 1
- x5 P& e4 @5 t4 c9 mvtol        : .0001 #System tolerance; k/ K! G" x' T: e+ U& \
maxfeedpm   : 500   #Limit for feed in inch/min
5 e; @  j$ C( ?3 t( w' r# v5 Iltol_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       0 N8 [2 H$ z( t; C# d2 \. j5 C
4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

438

主题

5759

回帖

901万

积分

管理员

积分
9014290
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000
  s# v8 _* U% D* i5 c$ ^- R6 Z' B7 x; G2 \

" }# F6 q% x: E3 v2 k& i8 v" K    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。0 D" A5 V  @/ T' G' W0 a9 U

# E- ^8 i2 U$ g替换你的原有的即可3 U2 ]2 ?- h0 P; N0 X% ?( E7 Y9 Z. |# w& B
2 U" v/ v* h/ Q8 i* d- a
pcirout         #Output to NC of circular interpolation
4 s+ z3 ~. m+ b1 p/ }2 k  w      if full_arc_flg,1 _7 i5 C5 ~( U
        [
" R" ^4 M8 D* F        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              9 Y: W6 p3 z* P0 j$ k, r
        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc                ~3 D* \# r: X4 v
        if plane = two,2 I" c0 y5 Q* I  T5 a
          [
4 l. |# V! F: S5 K          result = force(xabs,xabs)   #force coordinate on full arc              
1 [& v8 ~. Y' K; I5 s          result = force(zabs,zabs)   #force coordinate on full arc              5 v( P; @2 I8 {0 t% \1 I% r. ^
          ]
  N/ Y, r$ U' Q4 }        ]
- H1 a% y* }8 W, ]! |      if hel_2100 = one, pcirout23 n% @3 Y: c* q* W0 F
      else, pcirout1
# b& {( R9 H; f. ^# y& r% a% i5 {6 |
pcirout1        #Output to NC of circular interpolation
/ X3 s7 G" _6 Z9 i5 l      pcan1, pbld, sgcode, sgabsinc, pccdia,% V2 i; X- ?4 O
        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e) k  L2 l6 U8 e/ A  W2 G
        ' A& y7 \7 c1 C
fmt  "K" 2  lead        #Helical lead" u' m1 M/ B5 i6 t. V& M- q
hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes
: V; @& [$ J- M
, D) t) g- ?7 D5 l2 Z0 r% ppcirout2        #Output to NC of circular interpolation
8 {6 F' C: O0 F" H      if (plane = zero & fmtrnd(zinc)<>0)3 N- t; r! j) ?/ N
       | (plane =  one & fmtrnd(xinc)<>0)& _/ {  o  E' q4 f* M
       | (plane =  two & fmtrnd(yinc)<>0), phelout
& e( S# R% I, {" _$ ]$ U      else, pcirout1
9 p; F0 O' o9 ]" }8 G- J  [% V6 l2 a! O
phelout         #Output to NC of helical interpolation8 c) G8 l) g8 e: c) J3 \$ E
      if plane = zero,
4 H1 c* x6 W8 {  ~* W        [
6 a2 H; T* B  B2 D( u        result = nwadrs(strk, lead)
/ w/ F" v$ Z1 R; _2 \; W% x        lead = abs(zinc/sweep*360)
6 ^4 B: c! K5 H( E: Z2 j/ D4 ^" R& y        ]
0 G7 e* O) d) T$ e; N% ^" }      if plane = one,
8 c; V) }& P7 f0 \/ b        [
. j$ `: ~+ ?7 g7 s5 Z        result = nwadrs(stri, lead)8 B* x- ~1 E) z
        lead = abs(xinc/sweep*360)
6 B8 N0 ?3 P, G) e3 G        ]% v) j- [+ \& K
      if plane = two,
% _; E/ p* D2 V/ a5 a4 j6 T( B        [
" z2 q2 P! j- Q2 t        result = nwadrs(strj, lead)
3 w, m# x: X0 n0 {. v        lead = abs(yinc/sweep*360)' H" `' z- W, S6 s
        ]* g  M  `$ p! S/ G! g, M
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,# M/ z* h+ Z: l, V' \  h
        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-20 04:24 , Processed in 0.135117 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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