找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 438|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑 4 W& h* C/ b% P# E5 u

$ q2 `: i9 R8 P4 O: f不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。' m( [7 \8 D1 y
还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;
5 t2 F* m( n% J5 ]2 l# --------------------------------------------------------------------------
5 F0 Z4 |" W1 X% N# General Output Settings
7 A  T  P% o0 k& f/ z$ ?' `5 c5 @# --------------------------------------------------------------------------" N1 R# ]5 y9 V9 k# c
sub_level   : 1     #Enable automatic subprogram support
7 z# U! ^  r5 S& z; Ibreakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs! @5 n. I7 n  _7 |  X, x5 l: l
arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180
: ]% k5 ~% W* v# e& ]arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.5 s$ x5 d: {( {. X6 R# F
do_full_arc : 0     #Allow full circle output? 0=no, 1=yes* s: i5 |2 t6 E6 |- Q3 Y6 t/ F  v( }3 W
helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
) C5 O1 ]! B; h* b3 {, Xarccheck    : 3     #Check for small arcs, convert to linear) C2 l5 {( J, N9 ?+ b* k& N) A" Z  c. ^
atol        : .01   #Angularity tolerance for arccheck = 2
) C' Q$ w8 R4 q) ^) S4 eltol        : .002  #Length tolerance for arccheck = 1
9 N. B1 p/ x" k* t! A( U* K$ x' jvtol        : .0001 #System tolerance( f2 L. c1 ^' j% N, G7 a6 S* B5 b
maxfeedpm   : 500   #Limit for feed in inch/min
  A6 V2 s" r$ F6 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      
' k* m6 e( V, T, N6 l4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014271
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000
. x% ?" a9 ]& M5 l2 h# _$ T7 V5 Q. _  f+ {

# k- U. V0 H5 [, v    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。
0 N, O; K; ~6 B2 i: o
/ l: L! U5 p* K, I8 o替换你的原有的即可3 h& \" d7 }% Q6 W
4 M8 R( Z" M. l' t2 o" ^7 w0 e4 ^
pcirout         #Output to NC of circular interpolation$ c  ?$ d7 w0 `. l
      if full_arc_flg,8 G/ p+ h, }0 o+ K
        [2 L0 |3 Q; _3 F7 E6 g
        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              
% a/ R" X! J/ t9 K3 X$ K7 a        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              
: m! ]. _+ Z3 I9 K1 V        if plane = two,9 K* h* ]$ W7 I+ N: m  x% i: T1 d
          [: i. w5 n. y7 L# l
          result = force(xabs,xabs)   #force coordinate on full arc              
1 m' F7 \7 f' W2 T) f3 C8 n          result = force(zabs,zabs)   #force coordinate on full arc              : M5 J2 f- V( r- ?* }% N
          ]$ J, {8 g) q; {9 a
        ]
4 F$ K' ~( u, R0 Z4 B      if hel_2100 = one, pcirout25 L- A) ~$ k9 K: E
      else, pcirout1
0 X, D+ |% V" a) ^5 T1 J* p  ]2 k' v0 d4 y
pcirout1        #Output to NC of circular interpolation/ a, m: g/ ~. `$ ^
      pcan1, pbld, sgcode, sgabsinc, pccdia,, p9 f9 ?$ B2 U0 [- _
        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e
  l: B4 T0 r  T' ?% G# A        ' I. M9 Z9 R4 `3 Z1 i
fmt  "K" 2  lead        #Helical lead, d8 z$ B. ], i0 P8 T/ s* W
hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes
6 Z/ n+ y! Q3 p
1 J! t& Q, p( V: V* I) M; |8 Mpcirout2        #Output to NC of circular interpolation
8 z3 ?5 z+ r: S      if (plane = zero & fmtrnd(zinc)<>0)# C4 {% L5 J& a" H7 L- J
       | (plane =  one & fmtrnd(xinc)<>0)
: t& u$ F- C( b' T4 s+ m3 Q       | (plane =  two & fmtrnd(yinc)<>0), phelout  s- |" s7 K; ]* e' \0 i$ ]
      else, pcirout1
9 P/ w: k" K9 @0 N6 V, G1 J6 p6 z# `
phelout         #Output to NC of helical interpolation
9 u  P' X5 X+ A- L      if plane = zero,/ [. a  \$ E: F- E4 k) [1 W' {( Y
        [$ g& z6 Q4 X% l1 y- s% M+ k
        result = nwadrs(strk, lead)
( p) d8 H" K3 ]" O" M        lead = abs(zinc/sweep*360)8 W; P1 \  K* P7 C5 y/ y
        ]
, D, r! l- e$ _      if plane = one,( T  S8 s) ~; o8 ?, @1 ]0 ^6 W7 V
        [! F" P  B! A: J, j9 Q; e
        result = nwadrs(stri, lead)" C, y: v, g! ^. Q  E7 T
        lead = abs(xinc/sweep*360)8 z- s' b  U9 C" G% C
        ]
3 ?: X. m# r. s7 f+ T! n7 s8 k2 i      if plane = two,- X7 @# S! W1 ~
        [
2 z6 d& X& j, j% b        result = nwadrs(strj, lead)
! ~5 d4 \' n8 A, ~; o0 K        lead = abs(yinc/sweep*360)
$ k! p+ S, F2 r* n        ]7 i5 _- O* p1 B
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
- k+ l9 \3 j; h& v        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-10-20 15:41 , Processed in 0.167052 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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