找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 282|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑 ( A3 |' b: Z5 b/ |! K
; `6 e/ G# y2 x) J( v
不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。( U+ u# a2 _+ w! ?
还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;
! ^7 `: G0 Y7 X# y) E8 K# --------------------------------------------------------------------------
' U" N+ d/ b3 M! d# General Output Settings
+ p9 Y1 e$ s  I  I7 ]# `# --------------------------------------------------------------------------
- G) P2 Y" H' P; ?5 y. {sub_level   : 1     #Enable automatic subprogram support
" [; p- A$ P' Y& H2 c) u/ K  Hbreakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs
& @+ r4 B9 D( J( M+ T) Y! Larcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180# ^% ]: W; o0 H
arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
$ g( H" N  x/ R9 i1 N+ ]do_full_arc : 0     #Allow full circle output? 0=no, 1=yes9 z; W  B/ V* R2 W7 s) A
helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
7 n1 G! B. c9 u* y& ?arccheck    : 3     #Check for small arcs, convert to linear% R( u" a4 b- T& ~& H( u" j
atol        : .01   #Angularity tolerance for arccheck = 2, C8 J4 M) v) R9 z
ltol        : .002  #Length tolerance for arccheck = 17 A: r) e+ f" w; D$ }- V1 ?
vtol        : .0001 #System tolerance2 h5 l" `- C; V5 M8 H$ R
maxfeedpm   : 500   #Limit for feed in inch/min, v. N# K5 {) Y$ y% 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       : V% Y! O% @  S8 Z2 B+ n
4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014266
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000   l8 ^2 a# |1 A. H8 @. \4 W: g+ T

2 `' Q1 `" A8 }; |# V. Y& ]+ k- D. C7 n
    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。2 ~& [9 Z: Q8 C7 x: s

) \/ u9 _0 g4 ~, U/ [替换你的原有的即可- I8 B& U8 Q, w; u

. h2 ]2 {! A5 T+ bpcirout         #Output to NC of circular interpolation
5 \: i7 B# C/ L) e% r      if full_arc_flg,
; i( S. y' f7 M( j2 h$ ]  p        [
8 [4 c- n9 H: J: D8 u4 t' b        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              
0 o1 o7 y" _2 M+ n: T        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              
. K! w7 u! d+ ]: g        if plane = two,
& H$ _; p  b" m: L- i6 O          [4 m; z" g2 Z2 B
          result = force(xabs,xabs)   #force coordinate on full arc              / b- l* Q+ U4 k( G+ ?
          result = force(zabs,zabs)   #force coordinate on full arc              
/ |' k5 |9 y1 z4 n" s3 D          ]  G+ K* P/ [& A% W
        ]
1 b4 @1 v  c! F) }0 w      if hel_2100 = one, pcirout2" o: F) l. t1 ]  b' Q/ ~$ k4 @
      else, pcirout1, J# m. X5 K9 z9 q* E/ n) |& S
8 I) x, q& z8 T2 p
pcirout1        #Output to NC of circular interpolation5 I& [& Y1 ~' E6 V8 I
      pcan1, pbld, sgcode, sgabsinc, pccdia,
6 M" I2 j2 p% ~' E2 f6 N; T# M# w        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e
2 a  G3 Y6 h6 `- d' Q* O        
  h+ @) s: k" hfmt  "K" 2  lead        #Helical lead8 A6 U, `+ ]: }: [% U6 u& F; O
hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes
" B/ X1 w5 d, E; W. Q
5 r. g" ~$ i6 c9 ]/ t+ U9 ]" Spcirout2        #Output to NC of circular interpolation" O: ]% q' N8 ~1 Y) m- f
      if (plane = zero & fmtrnd(zinc)<>0)
" u1 n, A3 r: P/ d) [9 J       | (plane =  one & fmtrnd(xinc)<>0)
/ W* b8 y" n$ j       | (plane =  two & fmtrnd(yinc)<>0), phelout" p' I0 ^* I3 y. r3 g! l
      else, pcirout1
' B" S) @" z2 x* \- i# p" s2 @
* O/ c) @* D! P/ k; O  y- X) bphelout         #Output to NC of helical interpolation2 G. w" K5 c, h9 s
      if plane = zero,
6 K" f6 _6 O, r" t6 j# U2 z        [+ L( x/ {8 B. v* `  ]
        result = nwadrs(strk, lead)  h4 }- j) g& e
        lead = abs(zinc/sweep*360)
: {' k5 p- ~: C' {3 V2 t2 w! B        ]7 v+ H4 Z: D4 `8 A5 _8 H% U
      if plane = one,
) r8 P, i& r. K2 ~        [
2 s" s8 ~- ?/ J0 S  L        result = nwadrs(stri, lead)) k( C: L0 ]/ T
        lead = abs(xinc/sweep*360)
* Y' ~2 Z0 {$ o( w% @2 {! M. x        ]7 `# K; N; J/ J% F
      if plane = two,: B: v  Z2 X& G
        [
# q8 w( |' J2 ]8 S. d6 |4 p. l2 d        result = nwadrs(strj, lead)
* f- {. L# z' ?5 T        lead = abs(yinc/sweep*360)
7 {4 ]' |  r9 L% f  g3 D1 Q" _/ H1 E0 W        ]
2 y; l& F9 f  u# ~! T) l- S      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
' j8 I! ^2 L2 G, M5 C        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-8-23 04:19 , Processed in 0.168350 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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