找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 548|回复: 5

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

[复制链接]

5

主题

60

回帖

37

积分

注册会员

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

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

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

×
本帖最后由 sdafew000 于 2014-7-9 12:29 编辑
0 J; B* b8 m1 ^5 B, N0 g
" u/ [9 H0 n) I8 d6 d+ m不知道后处理哪个参数不对,处理出来螺旋下刀是直线,程序太长了。$ e# e5 r; i% E
还有这个后处理我把第四轴改成B轴了,不是联动的情况下,在B轴转动前一行,加个M11;转动之后加个M10;" w: v4 `5 H" D* v5 d$ Z' v
# --------------------------------------------------------------------------! r1 P: h. c  P' j0 E
# General Output Settings% Y. E1 Y0 l6 q% p. B+ n
# --------------------------------------------------------------------------
; q- Y9 Q4 ~4 g* S( {sub_level   : 1     #Enable automatic subprogram support
* L! S7 s( S# v$ }. xbreakarcs   : 2     #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcs
% {( j% G. P3 J6 s! i& @arcoutput   : 1     #0 = IJK, 1 = R no sign, 2 = R signed neg. over 180! b* C- P& [5 q% r/ L* g% t& w0 K
arctype     : 2     #Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.7 u% ~/ L% ~6 ]  z9 R
do_full_arc : 0     #Allow full circle output? 0=no, 1=yes
1 n; z" C! k0 S, }  T: t5 Vhelix_arc   : 2     #Support helix arc output, 0=no, 1=all planes, 2=XY plane only
( i/ A8 o$ L- k4 B$ v; Qarccheck    : 3     #Check for small arcs, convert to linear
. p0 a  L7 O" _3 R$ jatol        : .01   #Angularity tolerance for arccheck = 2
, `' ^" @+ Q5 a1 Altol        : .002  #Length tolerance for arccheck = 1
" p# t2 I$ d4 R' Cvtol        : .0001 #System tolerance
/ U+ w) c% h# y8 v% d" Q9 b. u$ D2 wmaxfeedpm   : 500   #Limit for feed in inch/min* E  V$ a* v. E
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       " [: |) n  I, M8 R: u8 T
4轴夹紧松开
回复

使用道具 举报

5

主题

60

回帖

37

积分

注册会员

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

使用道具 举报

438

主题

5759

回帖

901万

积分

管理员

积分
9014290
发表于 2014-7-9 17:43:47 | 显示全部楼层
回复 1# sdafew000 ; ~, N' f* u4 Y
3 \5 @$ |. D% ]  J( L; ?- `4 s
# _, x% s7 j6 |: i' v6 U
    你的后处理不支持螺旋程序,智慧输出G1线段,缺少相应的代码。
# Q% C! p5 P9 {1 _0 M, @5 p$ G4 v: x( m. j+ H3 M' W
替换你的原有的即可
- @5 G4 ~6 a0 V' M* c0 \, e' B
& [  y. d5 _7 H6 vpcirout         #Output to NC of circular interpolation3 Q8 ]& D3 ?  h/ R3 @0 P& y
      if full_arc_flg,
' h4 Z4 k5 T) Y! o, G        [
' S7 s3 {# G) {! {5 o) V* z        if plane = zero, result = force(xabs,yabs)   #force coordinate on full arc              2 t2 K8 I% H% q0 \! H0 k
        if plane = one,  result = force(yabs,zabs)   #force coordinate on full arc              9 T( F  T5 G* v# ?/ t6 k
        if plane = two,6 u+ W1 q% ?4 I# f$ z1 [6 f
          [
- Z: ?3 L7 A' m$ D/ Q          result = force(xabs,xabs)   #force coordinate on full arc              ' t% r' w$ V% b
          result = force(zabs,zabs)   #force coordinate on full arc              
1 E) i! L1 @: D* ?- ~8 r9 q          ]
6 j+ `/ u3 ~; O, {1 \        ]. |: i6 F) b) j: F4 R9 |3 ?- N
      if hel_2100 = one, pcirout2
4 K/ p  s( ^9 N      else, pcirout1
: P% O! f% P* c' v0 o' U* E- v2 X& m- m0 b3 g
pcirout1        #Output to NC of circular interpolation4 F6 Y1 }3 ^  O
      pcan1, pbld, sgcode, sgabsinc, pccdia,6 s$ q2 u, M. h' W/ C, l5 H
        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e( K& h, R8 K6 R
        
. z$ H2 k% k1 m2 M+ g% Yfmt  "K" 2  lead        #Helical lead: _) c& V- o! x: M7 g
hel_2100    : no   #Acramatic 2100 style helical moves, 0=no, 1=yes
0 ]' u# y- l( U- P3 T" U9 r% ~+ F6 i8 y( z
pcirout2        #Output to NC of circular interpolation. j0 E8 c) j, d& T( e( J5 {
      if (plane = zero & fmtrnd(zinc)<>0)
* b* a2 [5 h: b$ ^" M+ q       | (plane =  one & fmtrnd(xinc)<>0)' [. _+ H# E: F/ P3 I4 a: X8 S# @
       | (plane =  two & fmtrnd(yinc)<>0), phelout( Z& T' V3 S2 v
      else, pcirout1
; P$ u3 W6 J' a3 |/ j( b2 \
$ G/ `& A" z* c" B& G7 q4 N6 Bphelout         #Output to NC of helical interpolation9 u" {5 ^# S* m
      if plane = zero,
- r, V2 F- V( z0 }& O  n4 L. A        [) E( j3 o( A: q
        result = nwadrs(strk, lead)+ v4 O2 c: R  z/ O; b
        lead = abs(zinc/sweep*360)4 O% Q5 {2 r0 Q3 Y
        ]
" M& a( t2 ?0 v7 s7 a% Z9 }, A      if plane = one,
% R. z& J. F) \6 K$ g- q/ m  ^        [
! {# O! ~  @7 ]- ~        result = nwadrs(stri, lead)+ ?5 a. x9 J' v( L* j* e# s) e
        lead = abs(xinc/sweep*360)+ [4 @, M) k: a* K% r) V) B
        ]
# F9 g! p6 ^5 K6 K, h4 f0 y$ L      if plane = two,
1 N6 ]. \$ T4 O; k! Q8 m        [
; e/ d6 h" ?) k* p        result = nwadrs(strj, lead)
, v/ A% v8 v' S2 m2 h+ \        lead = abs(yinc/sweep*360)
! b5 \& y; \5 ^) U3 U  N        ]
/ W- F0 z  h, ]$ D7 C      pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,
0 M+ X& q# u9 D5 i) c( y- L        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:43 , Processed in 0.211822 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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