找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 356|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑
4 R' M( r9 O6 {, A; C+ h4 V+ M/ V( U/ f# J% x. x" p
不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。
4 X  u+ o* e9 c' z还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;
! r- I* y: z% Q5 S  V0 o# --------------------------------------------------------------------------5 F9 w( W: X8 C( g
# General Output Settings
% K/ F* d# E7 }, @" e- z9 X9 T# --------------------------------------------------------------------------
2 f3 d8 _9 \, Ysub_level   : 1     #Enable automatic subprogram support
+ l7 e% y7 q; @7 N1 R8 `8 mbreakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs
4 T/ Y" G+ K/ [/ ~. d: Varcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 1807 q& C0 s# V# Z) b
arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.* M2 K5 {+ J& n
do_full_arc : 0     #Allow full circle output? 0=no, 1=yes" M  {1 ]2 s7 w
helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only5 B5 V% |3 d1 W  p' h, I
arccheck    : 3     #Check for small arcs, convert to linear: m* I/ B. V+ E1 u
atol        : .01   #Angularity tolerance for arccheck = 2  y7 y$ S5 k1 Q% W) G' _  [2 d- G
ltol        : .002  #Length tolerance for arccheck = 1' L% M9 u. v  P- l$ |, X, Z6 b
vtol        : .0001 #System tolerance
6 W0 k9 r" h. H3 I. a1 Jmaxfeedpm   : 500   #Limit for feed in inch/min0 G2 ^  {$ g1 L. z( k
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       % G( P4 D7 b* z& r* X7 D- x
4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014271
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000
& S- b- q/ b7 X8 P8 M
9 {, w  l2 A. w8 k0 x9 b* q0 W+ L4 j& C% |4 X0 {
    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。  c, {- \1 [( s# Z6 u( O$ F, Y

1 i* f% w8 y" z) \替换你的原有的即可' P1 x, |9 h. J, d' r# v

% ]' l* ?' C; spcirout         #Output to NC of circular interpolation  A' k0 ?5 B! L( k8 K6 |
      if full_arc_flg,
% Q9 x+ u* K& c9 q        [
' b; n0 ?1 G4 q9 m- n        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              # o& U% @+ E& p, U( }
        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              
/ r& n, i+ K& n; N  f+ N        if plane = two,
* E0 y: d; h& q, H          [, b' E4 `% e. T4 B2 S+ l, T
          result = force(xabs,xabs)   #force coordinate on full arc              
; \. `( i* r( M5 w3 C5 {  s          result = force(zabs,zabs)   #force coordinate on full arc              / f# p9 F) Z; d: l
          ]
5 O/ n8 r1 U/ \8 \+ _: o. e        ]
! Y6 ?. i/ i: C( }+ p5 D/ ^1 a! n' m      if hel_2100 = one, pcirout2
2 R# n% |& E/ K6 J      else, pcirout1- w1 Q" H6 C0 v' r7 S( [! q( b7 `
  E/ ?1 H# y) H5 e- G* c; f' Z
pcirout1        #Output to NC of circular interpolation
; k- V% G/ J* k. B- G* R. x      pcan1, pbld, sgcode, sgabsinc, pccdia,/ m  H9 G( k8 C2 K6 R1 g, S% S
        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e
; W- w2 |8 q( `9 ], |* v& ]        % c8 }" Y7 w( H! G4 |
fmt  "K" 2  lead        #Helical lead
8 p2 ~5 F4 S1 |9 Thel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes- q: f- f1 ^- z7 [( K2 p$ [9 J

6 o1 O0 ^! t8 T4 D# h- _7 d! }pcirout2        #Output to NC of circular interpolation
1 t4 |) V6 ^6 G9 [      if (plane = zero & fmtrnd(zinc)<>0), [$ B: r6 v1 Y  S4 X
       | (plane =  one & fmtrnd(xinc)<>0)
9 E: n8 L3 D/ V$ n. M' j       | (plane =  two & fmtrnd(yinc)<>0), phelout' D1 ]5 J" ^5 U. L, m* [2 D
      else, pcirout1" `" S; H' v8 T4 H9 n( R5 n/ _3 @
) w/ p1 L( q; V( `' i1 o
phelout         #Output to NC of helical interpolation3 E  K6 C  r9 \
      if plane = zero,, P+ h3 y1 L& Z; J9 T6 A3 T
        [+ A) q' T2 c# z
        result = nwadrs(strk, lead)
8 x% {+ I% f7 t7 E) K        lead = abs(zinc/sweep*360)* r4 {- }0 a! W
        ]
0 W! i$ ~8 D1 e7 A      if plane = one,3 d1 U2 D9 E. S" B; G) D
        [
1 n" c6 D" ?% T, l, s7 S( D        result = nwadrs(stri, lead)
5 B! C& h" A1 c5 k, j        lead = abs(xinc/sweep*360)
! o. K- i; k) \( f        ]
: k' |) s- d* u6 d7 O9 Y. @      if plane = two,4 |  j8 s( j9 F( @# K! u4 M9 x
        [
$ G6 e6 Z1 m. T2 B5 C        result = nwadrs(strj, lead). V1 }& r# L  {) S3 s
        lead = abs(yinc/sweep*360)
! f% V; R6 e& ?8 Q# M1 \        ]% R, A% F/ `/ Q9 _. E
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
. f. C) ]5 t" N* i6 j3 S8 G        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 06:03 , Processed in 0.130128 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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