找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 283|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑 ! I, ^. V6 J# ^. D) O9 W

+ P+ Y; q. U: e  K3 X8 K不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。
, X6 y& M" ^6 |* F还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;4 h% P# v0 q5 z
# --------------------------------------------------------------------------' Q9 j; G. \1 P
# General Output Settings
+ f$ y! Y$ Q( ?  G# --------------------------------------------------------------------------
% c' H/ _: W+ g; O2 L1 gsub_level   : 1     #Enable automatic subprogram support
" V! d, C8 i2 _( y* T: gbreakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs) l% D% {3 |6 V
arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180
9 ^, e& o2 j" p( ~arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
' o* p; m5 p: y: K! M9 d! |do_full_arc : 0     #Allow full circle output? 0=no, 1=yes
- C, E% A# w/ K9 e, L% ^helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only" |0 @; V' y6 c# m  v; b, v
arccheck    : 3     #Check for small arcs, convert to linear
4 H% T. G5 X5 N+ j+ Y7 h: |( y( Eatol        : .01   #Angularity tolerance for arccheck = 2+ F3 P0 [2 Q2 U: W( l9 z, \
ltol        : .002  #Length tolerance for arccheck = 1
7 w5 F+ b" p, ~% @: V- d% Yvtol        : .0001 #System tolerance# H! p! V% L6 L; ?" K* \
maxfeedpm   : 500   #Limit for feed in inch/min
6 @$ h, [; |% l& A% pltol_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      
1 N- I* Z3 G1 p$ G' I3 V! ^4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014266
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000
  r3 Q, i% h% L2 F2 ?
- q2 }4 e! b3 ]  A/ S' a. m7 ~: v1 @4 @& N
    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。
' E0 P. P0 ^4 T2 i
0 }. k7 ^. Z) v6 Y& [替换你的原有的即可
7 [$ Z9 Z. h* S: p+ y7 B8 h5 q! C4 r2 h2 i' N
pcirout         #Output to NC of circular interpolation* s8 l) |5 C3 d; l6 G
      if full_arc_flg,5 D6 r0 D" ?" y% b* q
        [' g3 {4 b( f! {0 e3 V) K
        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              
6 b# ~+ Q/ c- ]* W; {        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              
5 R4 @, X3 _& E/ r& s) i; ], j        if plane = two,
2 _4 N) m6 l5 C* S+ P# M: W+ @2 m          [1 r# h- y1 f6 p3 }6 r6 z
          result = force(xabs,xabs)   #force coordinate on full arc              
2 T+ ?' l: X( _5 _6 C5 G          result = force(zabs,zabs)   #force coordinate on full arc              5 t% ]9 U9 |) j1 N
          ]
7 \! e; T7 _; q9 w' i* ~        ]) z- |" P8 d) u# M& [0 Q
      if hel_2100 = one, pcirout2: R7 [) r8 m1 B2 s5 y8 G8 ?8 C" j% ]
      else, pcirout1
2 M3 m5 t* h0 r& V
' V) `8 D% y0 T: a  Npcirout1        #Output to NC of circular interpolation3 ]' E) [7 K9 I; h
      pcan1, pbld, sgcode, sgabsinc, pccdia,
6 K* b) u# c& x/ W        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e
3 @, u) {- ^8 v$ a" e( g- ?$ b0 R        
2 U1 M9 }; P2 S0 ]4 Jfmt  "K" 2  lead        #Helical lead& `( ]- ^0 l2 {1 n
hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes" ~# {6 {) S; Z; J5 d8 P

2 m6 ^; v1 G7 ?: J6 ppcirout2        #Output to NC of circular interpolation
0 c" r" S1 \4 x/ P" E      if (plane = zero & fmtrnd(zinc)<>0)
: C; k2 r8 O. }6 C       | (plane =  one & fmtrnd(xinc)<>0)
3 j3 o) x  p; f' U; ~: d9 U       | (plane =  two & fmtrnd(yinc)<>0), phelout. P* ~2 A( \8 ^& P& `! H- v# k
      else, pcirout1
  o5 H: C2 g# Z. B  U+ {0 i& ~( O
5 ?! B$ }* _  P2 ^8 ?! S! Ophelout         #Output to NC of helical interpolation4 a4 f+ w* a9 m9 j& R! {5 k% m2 O
      if plane = zero,: `1 C# k5 y! O. N
        [
4 H( [/ F  S& ~  H3 }% R        result = nwadrs(strk, lead)
$ q/ ^; v1 \, B. t        lead = abs(zinc/sweep*360)+ \/ G3 h6 x* h: x4 I6 p1 _1 Y3 w
        ]
5 c) l1 ]4 ?( _( d      if plane = one,
( t4 q+ L, h2 Z# n' _( Z+ `) g        [# i: j. B4 X  T% a' J9 V% ?. {; `
        result = nwadrs(stri, lead)
; a: \# V& Q1 a7 ]- t        lead = abs(xinc/sweep*360)
& s2 f$ m2 Z$ w4 E' O/ G  c0 j        ]
. q# F4 `( b. |" K      if plane = two,9 W- e/ j% V3 s2 b
        [
& A! K3 T- X1 h% `3 }% M7 _4 z        result = nwadrs(strj, lead); `  F) g( a8 S4 e3 H/ _% X" q$ y
        lead = abs(yinc/sweep*360)" Q. q1 ]% A$ ~. g7 }
        ]/ M. P& K! h" t4 Z8 k) K
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
9 S0 @5 g* ~" B( @        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.156028 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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