找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 210|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑
6 \* h- q  |. p. J. j
0 b8 }" }# ^4 j' r9 S不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。
7 s2 b6 ^' E; T' n4 t( s- x- Q0 P* @1 G" R还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;
, o% v/ ]6 S" r4 K: c" @6 B- \# --------------------------------------------------------------------------  W: W8 n% C) W( M2 j( s# P* o% ]
# General Output Settings" `2 o, j8 s, q) J
# --------------------------------------------------------------------------
% j* I/ n5 \' n" y+ Vsub_level   : 1     #Enable automatic subprogram support: U+ o" ?6 N% b7 c9 H
breakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs
4 r/ H1 s+ L! R- X; O7 |arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180
7 [+ ^4 Q7 s' E; d# ^$ s: \& warctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.* R4 R6 j1 a5 V' j3 U
do_full_arc : 0     #Allow full circle output? 0=no, 1=yes+ k" d) Q6 P  a5 T! i
helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
% F3 e& t; d! `+ t; a( l+ Yarccheck    : 3     #Check for small arcs, convert to linear" z* {8 O) n- F# Z; H
atol        : .01   #Angularity tolerance for arccheck = 2! a% ?& ?7 ]: R; q( _" `6 b
ltol        : .002  #Length tolerance for arccheck = 1# y: g/ Z7 D9 F: t4 O9 T0 Y
vtol        : .0001 #System tolerance( ?0 [6 e4 E5 a8 K% E& ]# r" A( c3 f+ ~
maxfeedpm   : 500   #Limit for feed in inch/min
& ?- N' H: r) t% Ultol_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 B  l9 f+ I$ K2 X4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014265
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000 9 T2 N2 v. H2 X
; u6 u' Q/ b( g3 S* g
. [: \( L8 y/ }3 m8 ~& ~! X
    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。
. ^" M0 o4 d5 J0 p1 P
+ R6 E1 `  J+ U, w. v' t替换你的原有的即可3 l3 ^2 k1 W# B; A' Z
: V" O6 {0 r' b! Q1 E, `. k# y
pcirout         #Output to NC of circular interpolation6 a* i( r5 O+ m" Q' {/ ?* E
      if full_arc_flg,7 _2 H0 t* C( m
        [
! |; F8 c( n' H. t3 a5 i        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              
( k: V; ^0 h  Q9 r        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              1 _' r/ I2 w6 h9 l7 a) Q& i2 v, p
        if plane = two,- t4 T& r  L' H( {
          [2 y* n7 t9 W' H& \
          result = force(xabs,xabs)   #force coordinate on full arc              
$ `; K- U9 H1 e, @5 i& ^! ~4 ]          result = force(zabs,zabs)   #force coordinate on full arc              $ k' r, x: M3 P6 B( [$ v/ [$ Y
          ]. r: Y& O) U  M+ C6 U
        ]: P$ {* M1 t" y1 v8 n
      if hel_2100 = one, pcirout2/ L7 v* P2 ]% L3 J
      else, pcirout1& k2 G* h/ V6 V4 p: P9 r

. ]( v8 a6 \+ A2 v0 U* p& t6 Opcirout1        #Output to NC of circular interpolation
& h9 k7 X6 r  U2 \. u3 N4 h8 g0 `      pcan1, pbld, sgcode, sgabsinc, pccdia,
: r1 z; V% N5 M  }% N2 Q: M        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e) z- a' v2 A/ |; _, [/ i- @
        , h7 _( a9 _) p, K( `' b
fmt  "K" 2  lead        #Helical lead7 V3 d' v8 }! N. g6 G0 u. F6 s
hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes: G6 v  g2 Q" J7 s
8 `9 v: k, d1 j, [! t1 D
pcirout2        #Output to NC of circular interpolation# {) R! c- k6 P  J" q( z: E
      if (plane = zero & fmtrnd(zinc)<>0)% Y  _1 {) M/ o3 \$ c' }0 o  m
       | (plane =  one & fmtrnd(xinc)<>0)
; A3 v& E- |' t1 {6 r, l0 d       | (plane =  two & fmtrnd(yinc)<>0), phelout3 f( r8 t6 |2 S! p" z3 m5 p
      else, pcirout1! v% q: [/ @0 o3 H" h6 {: X

" K, U, F! J# d: mphelout         #Output to NC of helical interpolation
& _  p- Y3 J2 p+ e/ }      if plane = zero,3 _: \% z, o5 B( h
        [
9 u. p9 a  Q5 D( l" Y        result = nwadrs(strk, lead)! F8 x' E5 j  v( _6 n
        lead = abs(zinc/sweep*360)2 z2 ^$ [# m+ y; x
        ]
: w3 S1 T  X9 j" I      if plane = one,5 e3 K6 J5 W% d. Y5 B% [/ A
        [
% g3 M% m# ~/ {: d! t        result = nwadrs(stri, lead)
* ^0 X: w( P  I/ [3 f        lead = abs(xinc/sweep*360)
6 F$ L( q/ Y, p' s! R        ]
3 t( R9 {: l: G$ O$ |  F      if plane = two,/ Z/ s+ x& w- Z
        [6 A; m( g2 \9 R% A# [/ k
        result = nwadrs(strj, lead)
+ F, ?# x5 P+ r: ^! ]9 X3 S        lead = abs(yinc/sweep*360)  q$ X( R( g0 C( y4 [, m
        ]3 s) r' R9 p8 C& ^% G$ ?0 A# C
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
' v0 O% E* m) Q4 F! v% B        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-7-22 02:07 , Processed in 0.433272 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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