找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 547|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑 : Q6 d; {/ n+ ^9 e
: f* _  x" a& ]% F2 o! i, A1 t
不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。& n- h5 A# {! x( G  I
还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;
8 Q& Y3 E/ l& w4 R/ Q# --------------------------------------------------------------------------* A0 F  t" _+ h, n3 n- `+ n- k
# General Output Settings
( ?# K; d2 E/ A; O1 Y) e- `# --------------------------------------------------------------------------" d# y7 C: d# r' U6 x' B. T3 e
sub_level   : 1     #Enable automatic subprogram support/ z, R3 \% c0 j& r
breakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs' W$ D' J1 C$ _; w3 `4 `
arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180
1 Z( D  A2 v+ T, Sarctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.
" l! U5 D/ k- s7 H) q3 {5 k( b' odo_full_arc : 0     #Allow full circle output? 0=no, 1=yes
" K; @) R, \! W" ~+ \5 ?helix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
- S1 h( m* q4 k* q; Larccheck    : 3     #Check for small arcs, convert to linear) e4 q! A) k9 R( n1 x6 G
atol        : .01   #Angularity tolerance for arccheck = 2
* I( K4 O# Y# t$ V, Q! `3 ~ltol        : .002  #Length tolerance for arccheck = 1
# p9 h- Y9 C) C6 x/ x/ f9 s  Qvtol        : .0001 #System tolerance: T* O7 g, b$ @) e' N8 M4 U0 Q
maxfeedpm   : 500   #Limit for feed in inch/min
/ J: d; i- @8 x, S8 c6 qltol_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      
! E2 A  p. w" I- Q4 f: `' e1 D4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

438

主题

5759

回帖

901万

积分

管理员

积分
9014290
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000 9 ~: F; C6 a0 ]- i

+ w8 x2 }. Q- m( Z( N5 D* C* W7 Q4 ^% P$ F% q
    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。
$ V  w8 h( i3 Q8 f9 Z
, e; b; q" x/ ~0 t$ O, X$ w" s替换你的原有的即可
5 v8 `: F3 W) C8 \' P2 O6 ]# `1 w
pcirout         #Output to NC of circular interpolation
- S' I0 i1 |; ^6 n' `3 f      if full_arc_flg,
/ x# I) y: V5 |. `7 }        [
+ B3 B* x9 S# r        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              * W% P+ g: t. t6 N& B
        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              - e5 u8 C& H( V$ p  r2 w* `
        if plane = two,
  F5 K. n. F3 ~5 a* g6 y- L          [3 k9 T8 V3 g$ Z0 O0 s/ B: X
          result = force(xabs,xabs)   #force coordinate on full arc              4 ^* }9 L4 T3 G) b: {+ A
          result = force(zabs,zabs)   #force coordinate on full arc              
5 W, J5 g3 i9 k- H( i' X          ]( g8 i( `4 X, c: J, L7 K+ K% T' y
        ]
0 J  h4 k; N: U8 L( S+ e: S+ B      if hel_2100 = one, pcirout2* I& T) \$ N' U9 w  m; n* R
      else, pcirout1
/ \0 g2 z: k) E. H* x2 e) y8 V) L6 H" N& G5 X
pcirout1        #Output to NC of circular interpolation
' d0 o7 h2 S; V7 k+ l      pcan1, pbld, sgcode, sgabsinc, pccdia,
7 }, ~5 ^, l# I- x* K1 y        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e2 y  v9 V8 q1 V  N/ ~+ ~7 a
        
- y. b8 A6 ^% ^. E. J  yfmt  "K" 2  lead        #Helical lead
. D# C' \& B4 \  P0 H- x+ u2 n% Dhel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes
9 ~5 C+ L+ m/ B4 i2 p
+ z: J; ^( o/ _/ I3 U# b5 spcirout2        #Output to NC of circular interpolation. L# Y9 I( z: t6 N) N3 x) L; N
      if (plane = zero & fmtrnd(zinc)<>0)8 ]" S# m! L0 @' x1 {
       | (plane =  one & fmtrnd(xinc)<>0)- Y7 N/ q" a$ Y
       | (plane =  two & fmtrnd(yinc)<>0), phelout
4 O- _* S* `. a0 y, S6 q5 x      else, pcirout1" O" v+ g% A$ F& n2 {4 f8 w
5 X# H/ @5 l) P0 p- Q
phelout         #Output to NC of helical interpolation% C0 v1 q8 y& G% \9 b; {9 O
      if plane = zero,
5 k5 i; `) [( q1 Y# V* F: @        [
0 ~; ?9 e2 x+ ]7 F        result = nwadrs(strk, lead)
; e# F, U2 {; Y) ~/ ?        lead = abs(zinc/sweep*360): w- Z8 N/ X- i' v4 X9 q: L
        ]+ }( w. M. P3 x
      if plane = one,& P+ Z, b: J" Q4 @4 _/ d
        [  `% `6 b: L2 f& @6 H
        result = nwadrs(stri, lead)* n4 a; u0 @& a* J* w
        lead = abs(xinc/sweep*360)2 x/ u/ v: B. X1 E1 J
        ]
; e4 F% P4 R% g8 N( C      if plane = two,
0 p; k; n  z8 G7 c3 U% r7 q        [/ J3 B. s/ I0 i, l
        result = nwadrs(strj, lead)
/ _6 ]: d) \# @1 Q        lead = abs(yinc/sweep*360)
/ H/ G' F! m4 x        ]+ {, s# N5 u% i/ V8 F) x3 v" v
      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
1 b! L- Y% c' 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-20 04:34 , Processed in 0.189992 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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