找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 209|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑 - W% X/ {+ `$ H- g
3 b' j% M+ G4 {* {, a6 d! T" m7 @
不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。
2 h# Y; F6 M$ [0 h3 S, q还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;
& h/ E6 S. [3 R, S" Q+ q7 A6 l" E# --------------------------------------------------------------------------7 p7 x; e# Y/ ^8 t1 @% p
# General Output Settings
6 l* F4 v! x* X* ^/ }' @# --------------------------------------------------------------------------5 \3 F! v& F7 Q( H
sub_level   : 1     #Enable automatic subprogram support0 u. u0 o3 ]7 \$ M& C
breakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs8 p0 {2 h" b# u: n) D2 j0 Y
arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180
: F/ M! @8 e  {. H5 j" C# aarctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
2 @: H& {- M' Q! p# M0 l; Qdo_full_arc : 0     #Allow full circle output? 0=no, 1=yes
7 B% r# }% P& V% Z) M  `4 l# shelix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only% _* b  V: e: Z- C
arccheck    : 3     #Check for small arcs, convert to linear
! n0 m* @+ e0 c* {6 Jatol        : .01   #Angularity tolerance for arccheck = 2, o: g0 w- r* X, k4 B) y9 {
ltol        : .002  #Length tolerance for arccheck = 19 P9 U  B2 ^1 l0 {) d0 Y7 z; R
vtol        : .0001 #System tolerance
( w3 n9 ^( q9 S4 o. e/ cmaxfeedpm   : 500   #Limit for feed in inch/min1 c. ?; W( N- L% K4 J- u
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       : `- l* g7 b; n. t9 Y1 D
4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014265
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000 ; D# G1 P. d7 x3 \% Y- s& V
/ t/ Z: n& M' \, C7 j& ]* |

& f  V; r6 u( Z3 \: I    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。
5 {* D6 I$ e' r- O
9 I/ D/ |& w) x  i6 i. y1 m替换你的原有的即可
. U0 n; N  R2 D  N
8 P  Q$ G3 B& o4 u( q" ~& ?$ d1 A5 wpcirout         #Output to NC of circular interpolation
" J0 I: [- l& W2 E. ^( Q      if full_arc_flg,/ r, a6 @7 H6 h8 \/ O# I
        [
! h& R0 c8 v& H5 P0 B. g9 G& u        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              2 y, ]1 {- [, D8 Y& S4 t
        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              8 U5 {. W4 g/ R
        if plane = two,
6 e# }2 \- R( N% B/ L+ k: h- H          [
# }$ t4 K* k% I- n- a1 W0 ]( N          result = force(xabs,xabs)   #force coordinate on full arc              . _* C9 c+ }8 ^% O) i; H- s/ ~( ?+ ?
          result = force(zabs,zabs)   #force coordinate on full arc              7 `& ?! D: u  X$ P
          ]7 R! a  H" P& t6 f
        ]2 w! r1 p% Q* O* T) Q
      if hel_2100 = one, pcirout2# P2 p' F( }6 n5 @3 m/ J; B+ b
      else, pcirout1
- h3 C7 w6 e# h" J1 \* a6 A0 Q9 W5 ~$ Y, z& Z5 c( X
pcirout1        #Output to NC of circular interpolation. s/ \% o7 |, _& l3 `; Z  b. M; _
      pcan1, pbld, sgcode, sgabsinc, pccdia,6 |" n, [$ \: R6 Q" g: ~
        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e- D2 B6 O- O) Z& G8 [
        . B# n6 w# \# Z( C7 c  c! U7 b( t8 @
fmt  "K" 2  lead        #Helical lead
+ C6 T0 q  p. C( @7 V/ R  jhel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes
/ [7 o) S' K4 S3 t( a2 ]* P+ U
1 n3 z/ v$ u! spcirout2        #Output to NC of circular interpolation
4 B1 O# E: e* ]! H) w      if (plane = zero & fmtrnd(zinc)<>0)
8 j. z  ?9 U+ f* }) M+ }       | (plane =  one & fmtrnd(xinc)<>0)
! Y1 O2 k7 a( D! B9 q" Y       | (plane =  two & fmtrnd(yinc)<>0), phelout; h# v: c; V& G' b4 g
      else, pcirout1; ]" c" H9 t/ Y/ v3 C& L( Q

0 o) Y* J  h+ y5 P& F) cphelout         #Output to NC of helical interpolation! n/ P+ s5 _6 X# m% u6 F4 V
      if plane = zero,9 d( f! p3 t! P" \3 |6 [, Q
        [
$ L1 A6 ?! d9 J3 ]" W8 L        result = nwadrs(strk, lead)
: X, O" q" @; b- G! P. B& B        lead = abs(zinc/sweep*360)
# P' H! A' b3 \6 ~        ]# ?7 C9 A% K7 r" r7 M
      if plane = one,
# M( n! _9 A! u' I( @        [
  [# D/ p2 \- d        result = nwadrs(stri, lead)5 I3 o1 H" X* q# p8 k! H
        lead = abs(xinc/sweep*360)0 {/ [. r) I% H
        ]/ ~0 L* I$ v) c' g  a
      if plane = two,# q) [, y; s# I: D3 h6 m1 n: \8 X) h
        [
6 B+ D3 v- w, U, D+ f        result = nwadrs(strj, lead)
) J8 j+ R  }% n1 Z! ]0 V        lead = abs(yinc/sweep*360)
- ]# T7 J9 `( P$ g) ^. k        ]3 x, B7 q7 B& i/ N: K& m) I, v
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,- f. K  B4 f  C
        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-7-21 23:22 , Processed in 2.093633 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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