找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 542|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑
1 y) q) K) P; Q& e  P; d) b" G% i' `$ z, n/ I8 o+ J1 {
不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。
0 @  M! m- p; M! ]' L$ F还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;
& S2 t& X9 Z/ l8 ]7 g# --------------------------------------------------------------------------: M6 J5 }. Y4 u7 q# R
# General Output Settings. B9 x0 a  G7 i# P
# --------------------------------------------------------------------------$ i% U" Z+ E$ l! ^
sub_level   : 1     #Enable automatic subprogram support3 R' v& G5 x" L$ s5 j! o" w
breakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs8 L; [* P8 B* J* W3 Q( x6 ~
arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180
6 J, H/ s6 m3 ?2 I% W' V7 e4 q4 W! ^arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
6 ?+ u/ t0 t8 x# M9 K' Z/ Q+ e9 ]3 `. ?0 J4 Gdo_full_arc : 0     #Allow full circle output? 0=no, 1=yes
! a7 E. g  ?$ b# U" x$ zhelix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
8 F8 q' o( b& O* L' marccheck    : 3     #Check for small arcs, convert to linear
; d' z4 I7 ?+ k2 D4 W8 ?3 ~atol        : .01   #Angularity tolerance for arccheck = 2+ t1 h! d9 {3 h0 O" D5 C
ltol        : .002  #Length tolerance for arccheck = 13 `" x3 B1 x6 T% w
vtol        : .0001 #System tolerance" `$ ~" b& {. L! _1 k3 `
maxfeedpm   : 500   #Limit for feed in inch/min
/ r* }& e4 M" a* K! 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      
! _& s( w/ b: F3 X2 Z4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

438

主题

5759

回帖

901万

积分

管理员

积分
9014289
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000
/ E6 |0 A8 V7 o9 h7 o  |, h
& c! q0 V% K, t5 M! R' V
$ b+ j' F3 P8 p4 F$ h. B    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。, _5 H7 ?9 I5 Z4 q' X3 U2 p; W
# T! k% V+ m6 z) V! c3 b8 d; c) k
替换你的原有的即可" w+ W/ H- a; U4 @: p# O' y

. S% p8 M( W% k% a1 Npcirout         #Output to NC of circular interpolation
" _; j* }8 f0 I8 J" D1 I: W  O7 B9 c      if full_arc_flg,
6 l- d6 W/ a! S: L& e7 I- V        [; i- Z& O: k- J! V
        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              
& V6 O% g- I" {# B! e  x        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              8 Q- g! b9 v1 x8 v$ Y) s
        if plane = two,
- D* \! O4 v+ e3 k* O1 W: K/ i' p          [
8 B9 u  B/ v/ v  j          result = force(xabs,xabs)   #force coordinate on full arc              
) _$ M+ x' a( Q: F) r6 Y! C          result = force(zabs,zabs)   #force coordinate on full arc              4 ]$ ?. S6 `8 d* d9 G; d+ [
          ]
5 s0 ^: n' `% L& u9 S; W7 ~        ]
. q; [& k5 Z, u! {, T7 L      if hel_2100 = one, pcirout2
8 l8 ]. W) Z9 H* |5 ~2 a; F      else, pcirout1# Q) n# e9 N7 @0 }0 ^  a
4 F4 d' F5 l' Y/ N8 B6 L
pcirout1        #Output to NC of circular interpolation
- N/ a6 c5 E, m6 [      pcan1, pbld, sgcode, sgabsinc, pccdia,
! g" A  [3 j! t9 B2 `7 V! k        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e: f- {3 `" t, h
        
: r. L) K  L+ A% Yfmt  "K" 2  lead        #Helical lead. P" a: B* ~. q5 c4 n; r5 l
hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes$ s* E, f: g+ S& z0 ^* `* o

) n( @8 ]0 N4 {/ o3 kpcirout2        #Output to NC of circular interpolation* Z7 p: T& Q8 w4 @) b+ d
      if (plane = zero & fmtrnd(zinc)<>0)
. A3 m- _6 D- k" A- F       | (plane =  one & fmtrnd(xinc)<>0)
3 S9 l7 I: H3 T7 b, B9 ]       | (plane =  two & fmtrnd(yinc)<>0), phelout! F% R% `* C" g) R1 |- {# ?
      else, pcirout1% Y; I2 o4 ~5 S" j7 F0 s
! r# }( a* A( N. o! |+ k, {6 e
phelout         #Output to NC of helical interpolation& {% g+ i% y0 a! X# [) I) T
      if plane = zero,
% T  M7 |; {& S, g        [
: c1 r( n" q8 G& w8 P9 G        result = nwadrs(strk, lead)! A. t$ {8 |8 B3 q* x
        lead = abs(zinc/sweep*360)
& i1 B. T8 c( O3 v5 F: P        ]4 l6 h, X2 }6 @5 t0 E, x$ o
      if plane = one,8 [9 u, r( m5 m5 d& ]3 y% E
        [0 i) a4 t* C5 h+ Y) Q: Q2 h, `
        result = nwadrs(stri, lead)
% b1 Z9 q7 r% d* g5 d. {% D/ n        lead = abs(xinc/sweep*360)' T2 o  p+ p# a0 b, @* S
        ]" H+ a" w! D& m; V
      if plane = two,& c7 t* B4 J3 }1 ~  \! E4 v1 K
        [
4 f) q2 Z7 D8 A7 _5 g        result = nwadrs(strj, lead)5 g( f: W9 H0 y! I# ~/ e/ q
        lead = abs(yinc/sweep*360)
2 B7 v+ U2 w5 d0 p* p8 p        ]  m  S3 H/ j% ~" d+ v4 T" ^' w
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,3 u4 E* j7 [$ r
        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-18 09:51 , Processed in 0.199264 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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