找回密码
 立即注册

QQ登录

只需一步,快速开始

楼主: huanggong

[讨论] 关于90度侧铣后处理问题,请教老大

 火 [复制链接]

438

主题

5759

回帖

901万

积分

管理员

积分
9014290
发表于 2011-7-29 19:37:27 | 显示全部楼层
回复 22# huanggong
; h3 X: ^( x! n6 Y6 _" H# x  v: g; z+ U; b4 g
8 w+ L+ I6 Y; r( h6 \! \
    代码太多.2 l0 d4 c! {+ _! h+ I" J
添加以下代码
1 d5 v! q0 Y9 |! [( A7 xfmt  K  2   lead        #Helical lead* r  J7 e) o! d
hel_2100     : no$        #Acramatic 2100 style helical moves, 0=no, 1=yes8 |+ [3 {' R$ h6 z# y! Z1 o* {% |( B
do_full_arc$ : 0             #Allow full circle output? 0=no, 1=yes
$ C: m  E& l% d& J1 g" ]helix_arc$   : 1             #Support helix arc output, 0=no, 1=all planes, 2=XY plane only; [% }2 d7 {+ v1 W% k, ~$ Z
% y4 Z. [( a2 D* Y& l! b7 P
查找
  1. pcirout         #Output to NC of circular interpolation   0 o* ~2 b4 w* u( ?# V1 E5 V
  2.       pcan1, pbld, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,; `7 N+ b& i- ]# P; {  J
  3.         pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e $
复制代码
替换为:$ `" l. M, K4 a4 ~  a# W5 a* ?
( Z1 y* [, y! X3 f
pcirout         #Output to NC of circular interpolation
9 y" u) {/ U' O( O* N2 N      if full_arc_flg$,/ |) Q8 o% n5 _9 q* v0 h3 N
        [5 ]# j5 d# U4 `7 O
        if plane$ = zero, result = force(xabs,yabs)                6 k/ l$ \4 E( E8 i
        if plane$ = one,  result = force(yabs,zabs)                 ( F( u( Z5 r$ c0 q7 g
        if plane$ = two,
5 y, s( i8 f7 A( |# ]8 l          [9 U5 @5 [) A6 i# Q' A6 U& ?4 d4 z
          result = force(xabs,xabs)                  W( m9 p, H0 ]6 }* ]: f6 A) z- U7 Y
          result = force(zabs,zabs)                 , b6 E; ^5 ?. `7 P
          ]
, l; T* O7 i/ a& `/ u2 w        ]
/ Y: s* A3 b: i4 E. v# G% e) ^, j      if hel_2100 = one, pcirout2
  r. P7 j2 {0 w* M& T      else, pcirout15 `- g2 E: q5 g5 |
      
; l! Q4 R9 K7 M: ?6 a
5 p, J. u! p" k5 c+ F0 qpcirout1         #Output to NC of circular interpolation                                
5 T5 g' P0 _6 n7 E) i8 S      pcan1, pbld,  `sgfeed, sgplane, sgcode, sgabsinc, pccdia,; A- w# |0 _! O! l  b4 N6 d
        pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e$
6 t$ D0 B. Q8 Y6 e" V
# ?' I! h3 a$ y) ypcirout2        #Output to NC of circular interpolation0 w1 ]; D5 {( Q+ B9 p9 ~4 |2 `% x: J
      if (plane$ = zero & fmtrnd(zinc)<>0)
2 y9 r0 |. z- z! a. I       | (plane$ =  one & fmtrnd(xinc)<>0)9 M; Z% Q8 O7 f8 U) J) T' E
       | (plane$ =  two & fmtrnd(yinc)<>0), phel
9 D6 ]" `6 c) j. o6 C  I( I( o      else, pcirout1, f. @; |: ^7 [: x5 o% G3 z
+ C' X* L3 A5 h+ Q- s* J
phel         
4 }, O# u: \/ U1 }      if plane$ = zero,, ?1 |& E9 g0 V! a) ]7 c
        [
: w# B; F, r1 W9 l* `  H) p9 S' q        result = nwadrs(strk, lead)8 p5 r/ p/ q; N5 z. o3 `! l- d, n
        lead = abs(zinc/sweep$*360)4 |" ?" i9 o2 j  S# V! Q2 i1 O
        ]( o  L$ q7 n: L( E% [- ^  y/ C
      if plane$ = one," y, x. f! |% B7 f. r6 `
        [
& D/ S* z' C  c% P, y        result = nwadrs(stri, lead)! m* i' C( i6 R! W- g
        lead = abs(xinc/sweep$*360)2 i% q# y* y  X* v$ n
        ]
% K) u; m& ]9 W      if plane$ = two,9 H. f) ~3 w4 E$ m2 K* j$ D
        [
5 }) l: s7 @& k. F4 w        result = nwadrs(strj, lead)! c* _- @$ R8 T; [! R/ F
        lead = abs(yinc/sweep$*360)
4 D* l5 d) ^! O: H  b5 y- w        ]4 V3 J: ~7 k1 |0 j
      pcan1, pbld,  `sgfeed, sgplane, sgcode, sgabsinc, pccdia,& ?# D) S2 f% F: t2 L  K9 ^. o
        pxout, pyout, pzout, pcout, parc, *lead, feed, strcantext, scoolant, e$
回复

使用道具 举报

7

主题

150

回帖

209

积分

中级会员

积分
209
 楼主| 发表于 2011-7-30 14:55:50 | 显示全部楼层
十分感谢老大
回复

使用道具 举报

17

主题

277

回帖

496

积分

中级会员

积分
496
QQ
发表于 2011-8-24 12:12:03 | 显示全部楼层
黄工,你太专一了。
回复

使用道具 举报

2

主题

130

回帖

145

积分

注册会员

积分
145
发表于 2011-8-25 20:18:21 | 显示全部楼层
看起来很不错,不过需要验证
回复

使用道具 举报

2

主题

36

回帖

59

积分

注册会员

积分
59
发表于 2011-12-22 14:38:45 | 显示全部楼层
说了这吗多,还是不能用啊
回复

使用道具 举报

2

主题

36

回帖

59

积分

注册会员

积分
59
发表于 2011-12-22 14:40:16 | 显示全部楼层
请问老大,你这样的后置修改做法,在五面铣机床上能用吗
回复

使用道具 举报

17

主题

277

回帖

496

积分

中级会员

积分
496
QQ
发表于 2011-12-29 18:33:59 | 显示全部楼层
老大,做侧铣加工的后处理,真的不好弄吗?那为什么还有那么多人在用侧铣头啊?期盼中。。。。。。。
回复

使用道具 举报

438

主题

5759

回帖

901万

积分

管理员

积分
9014290
发表于 2011-12-29 18:56:21 | 显示全部楼层
回复 30# liuhaidong ( x# g2 \: H5 ~' n. H

. ~( Q' j3 x9 z3 E$ d) e, r: T3 x$ T% t3 G1 k( [
    关注最新消息
回复

使用道具 举报

17

主题

277

回帖

496

积分

中级会员

积分
496
QQ
发表于 2011-12-30 11:30:55 | 显示全部楼层
知道了,老大,我在期盼你的杰作。。。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /2 下一条

QQ|Archiver|手机版|小黑屋|若枫后处理论坛 ( 苏ICP备11015087号-1|苏公网安备32059002001368号 )

GMT+8, 2026-11-20 02:51 , Processed in 0.192725 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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