找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 252|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑 ; F+ M, S; }0 D0 x& J
! Y5 R! Z9 r' \7 h0 {
不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。
& ?3 f# O* }% L  e/ ?& d还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;( U/ ]4 F2 B( q7 `% F
# --------------------------------------------------------------------------
) x  H) {6 \4 k+ V: g# General Output Settings
  L) s/ `( B. G( b7 D# --------------------------------------------------------------------------
$ X& g1 K& Q3 W, j! Usub_level   : 1     #Enable automatic subprogram support
# A# \/ n. T, Zbreakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs
2 I! C+ }0 l5 t2 W- Q8 s: ~7 [arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180/ Q" T; w2 m" T0 }8 C0 j3 `
arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
- m3 x7 W; a; n1 u7 zdo_full_arc : 0     #Allow full circle output? 0=no, 1=yes. V9 l& Y2 t& H: j
helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
! e0 t! n; T( R1 H; |/ n) N/ m3 qarccheck    : 3     #Check for small arcs, convert to linear1 k% V% j) {  K& |& d9 o' A$ Y
atol        : .01   #Angularity tolerance for arccheck = 2
, H; j( [  @- o8 D/ h2 Cltol        : .002  #Length tolerance for arccheck = 12 v+ R/ [( [" }$ C
vtol        : .0001 #System tolerance2 X/ S, p" H/ G4 ~8 t+ o
maxfeedpm   : 500   #Limit for feed in inch/min& K# F7 X2 e% I
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      
& l1 I! H1 y  \3 r4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014266
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000 ' I1 V3 R9 x+ i- D
. Q! z/ l7 }8 o3 L! ^3 C
$ a: a) {1 Z+ Q& O* @: n& k1 f. V3 O, H
    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。# p% j. M9 z/ @5 m  [2 w* h5 E

4 ]+ l" M) H, U- Y3 P, ]/ j! o替换你的原有的即可+ G- v4 Q. T* x, R7 q

4 x9 M5 j5 E# s5 Hpcirout         #Output to NC of circular interpolation; @, J$ K; h# v# s
      if full_arc_flg,8 H) Y7 }' c  Y" `1 a
        [
: I3 D  C5 l  e/ e+ d8 h& z5 `% Z  ~( b        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              ) m, h2 `" o$ R: e6 C+ T' u
        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              
+ n' M/ d) O4 i1 J; b9 |9 ^( J: @$ g        if plane = two,
' Q5 p& h( [+ a7 k/ Y3 p- Q+ m          [2 I$ j, J* H9 {8 i$ }
          result = force(xabs,xabs)   #force coordinate on full arc              
( ?; I: L% {5 O# G# a) [  D          result = force(zabs,zabs)   #force coordinate on full arc              : e2 P8 |/ |: n6 i
          ]6 m7 g- Z, t; Y1 @; L
        ]4 I8 k& }4 b3 c- i2 m/ X, n3 M
      if hel_2100 = one, pcirout20 t6 [1 n/ a3 ?( O- {
      else, pcirout13 s" u5 j  T; r  J" q0 ]9 u4 m& x& {* i
9 u& b4 ]& {3 q4 x/ j
pcirout1        #Output to NC of circular interpolation
. A6 W' q: w4 z" {7 a6 ]' \      pcan1, pbld, sgcode, sgabsinc, pccdia,, l3 k' a* r: k$ @0 x
        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e6 n$ L* w/ c% e) Z' j
          T) W; R# D0 f0 R) J9 Q
fmt  "K" 2  lead        #Helical lead9 T, L4 y3 O2 g3 g2 X9 H+ F! W, L
hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes
: d& D! U0 u. u/ S- I/ l
" C# V4 p) Y2 W! cpcirout2        #Output to NC of circular interpolation
" C; Z- a$ @# _8 o' q      if (plane = zero & fmtrnd(zinc)<>0)
& d$ |: [6 _/ t; }  ^8 H) ]6 t) L0 d! n8 Z       | (plane =  one & fmtrnd(xinc)<>0)2 ~1 p1 ~! |) l9 w& H/ l
       | (plane =  two & fmtrnd(yinc)<>0), phelout4 Y7 x; S9 k6 O8 m' d* X6 Q0 }
      else, pcirout1
6 I$ \6 z( Q; O( ^& ^9 K2 }. F' `, N4 k# s0 K
phelout         #Output to NC of helical interpolation
. |1 t6 m: A! S! v& c# V      if plane = zero,
/ t+ E$ Q, [9 u% t) o        [8 }, |- E3 o: @: Z% p) @
        result = nwadrs(strk, lead)4 h0 I- x, t$ q* n6 ^/ x) k. X: I0 X
        lead = abs(zinc/sweep*360); f/ p' e# D+ I. \# @; A
        ]
2 b3 W) S0 J* t! Z6 U      if plane = one,
" M, r. C* r$ c% t! s        [4 T8 \! L* }/ d( \
        result = nwadrs(stri, lead)) {( G6 m& a) P( Q* E
        lead = abs(xinc/sweep*360)8 X6 z) ]  ~$ j: ~. n
        ]
: c8 w/ X  W9 \) D6 D      if plane = two," I  H9 U2 q0 k1 P& @) D
        [8 O( t. v, C8 `8 M- _9 C9 i
        result = nwadrs(strj, lead)
8 X$ A0 g7 l) e. y  D9 o+ ~        lead = abs(yinc/sweep*360)/ p! v9 ^4 G+ I* x9 b
        ]
( t% f8 H5 O1 d2 M0 A7 w      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
- ?8 b( q! q1 g' Z& x4 O! k1 W) `) s        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-14 21:42 , Processed in 0.137448 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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