找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 546|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑
/ x5 |' _) B7 x" |# b! a% W$ R1 d' j$ i% z
不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。
3 `3 Q/ X5 g+ Q1 \! r$ V1 m还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;8 y* @/ a5 ~+ q
# --------------------------------------------------------------------------
2 z/ o- a0 g, v" ~# General Output Settings
5 `% u2 g4 v1 M5 I; c7 x& Z6 U# --------------------------------------------------------------------------
- y6 k& b/ C6 \% {) a2 `sub_level   : 1     #Enable automatic subprogram support
$ y1 v, \' Z8 ]0 \! c# Nbreakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs
: G, i4 ?9 Z: v& B+ j- K; Harcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 1805 t+ s' k/ N3 G
arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.3 z7 h' X( k4 w- c7 e
do_full_arc : 0     #Allow full circle output? 0=no, 1=yes, Y/ {4 i. U/ K5 _
helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
3 G5 S( d5 b5 c, `arccheck    : 3     #Check for small arcs, convert to linear. U. _( E4 n+ S6 @# p
atol        : .01   #Angularity tolerance for arccheck = 2( f& j9 g' h  d+ R+ L
ltol        : .002  #Length tolerance for arccheck = 1% ^( e3 F  g) V2 `  r) A
vtol        : .0001 #System tolerance: ~8 T# t8 x- ~$ z2 M+ j4 C
maxfeedpm   : 500   #Limit for feed in inch/min
$ x* C1 U. u' c( r4 r  ?, D7 `: Tltol_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       9 ?. o9 N% `: i( K
4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

438

主题

5759

回帖

901万

积分

管理员

积分
9014290
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000
" ?- o; Q, `' h  p* E# e6 ^' L
+ ^- `7 D& }  q+ b" S
  F$ p# w% E" E! d    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。; k5 v2 [4 s/ ?+ w& L9 Q" |

+ E  {1 U& J+ R8 E替换你的原有的即可
: l( Z4 N/ @: j& A
5 c9 n2 h0 @. r, K: |8 cpcirout         #Output to NC of circular interpolation6 C7 T, M$ Y6 ]! c8 \: R$ N
      if full_arc_flg,. Q( Q: L0 q/ V1 d" V9 ~0 z" p+ N/ J
        [
4 W$ m7 M) e) ~8 ]        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              
/ G( R4 p* c# P2 @        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              
* C" Y2 P+ g$ }* [        if plane = two,% q7 ~3 p" w( A( C
          [6 X7 v0 x5 D0 N; x# W
          result = force(xabs,xabs)   #force coordinate on full arc              
+ D) w  ]/ H6 [2 C2 ^2 [7 I3 x          result = force(zabs,zabs)   #force coordinate on full arc              & ~# |0 i( v9 x' j
          ]
- R2 e) ]" ?0 R$ e5 u        ]
9 j1 l# \3 y7 E' _% N      if hel_2100 = one, pcirout2! e! x, M* i7 @$ e6 \
      else, pcirout1" ]  j! R! n6 q1 r; o5 r* M3 e4 g

# h! y/ G& r/ c0 h* z) M; Fpcirout1        #Output to NC of circular interpolation" ?: M& d* Z$ R* e- z8 M
      pcan1, pbld, sgcode, sgabsinc, pccdia,
) N" P% W) Q( C        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e
8 L( i2 ]/ p5 a0 r7 v        
+ S4 t- ?" g5 S' D# n; f. ?fmt  "K" 2  lead        #Helical lead+ {" I3 \# _8 ~/ w$ c
hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes- o) F- b1 z/ T9 Z- F! }
% \5 h* c( j. K
pcirout2        #Output to NC of circular interpolation
! e1 W" Z! y5 T% ?/ Z      if (plane = zero & fmtrnd(zinc)<>0)+ n" ~5 }3 J1 c9 y. s6 ?
       | (plane =  one & fmtrnd(xinc)<>0)
+ i# _) S- `5 }8 R5 r* s4 ?       | (plane =  two & fmtrnd(yinc)<>0), phelout2 _7 ]* {. r' R+ s; W) Q& v6 m: W
      else, pcirout18 {0 \% O: ]/ i) n

2 ~0 p; g* c$ e! uphelout         #Output to NC of helical interpolation2 m5 U. w# K* V) D; O/ j( z
      if plane = zero,2 `5 D" w2 p8 O1 i% s5 x) `
        [
: e' w! O" k/ h; ^        result = nwadrs(strk, lead)2 }& c6 n* x* N! E. Z, K$ v
        lead = abs(zinc/sweep*360)
2 Q3 z/ I+ C! J+ Z; L        ]7 V/ y5 {6 J+ v, Y5 Q9 I
      if plane = one,
0 u# o* q7 y6 ~, h: \# W        [4 j& U' t& N# n; ~& \
        result = nwadrs(stri, lead)- Z) U- ]& L& ]% o1 ~
        lead = abs(xinc/sweep*360)
5 \! C7 ~9 q8 h9 r5 i& w        ]
0 \$ D  y- V& q9 I4 B, H: E      if plane = two,
/ M1 [/ I6 G. N, C4 ~        [
( G: @) g) N; }( E        result = nwadrs(strj, lead)
- i) j0 q9 j5 m8 e" U9 K" R        lead = abs(yinc/sweep*360)
: [8 Z- S+ Q- g6 Q7 C# f( ?        ]
1 W- K$ O) G1 W  c# a4 Q) a6 d      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
+ _  F+ i' a" j) j7 ]2 W7 m        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-20 04:31 , Processed in 0.185580 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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