找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 583|回复: 9

[求助] 楓大能幫忙看一下後處理的問題嗎!

[复制链接]

2

主题

48

回帖

57

积分

注册会员

积分
57
发表于 2016-4-16 23:02:53 | 显示全部楼层 |阅读模式

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

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

×
楓大您好..因為需要一個AC的五轴後處理,自己改了一下後處理,NC出來的部份都不正確.能幫忙一下嗎?非常感謝.3 E) U) B( q' [5 U& |% D$ N

; _$ K0 t3 E. I$ J7 H/ i% v% H# --------------------------------------------------------------------------* D0 r& _- x5 L* Q6 @
# 5 Axis Rotary Settings
( y' I, a; t. q3 b& u0 l- J3 q# --------------------------------------------------------------------------& o* o0 f3 G0 f% J7 a/ t) s6 s* _. \4 }
#Assign axis address: |- @! X$ i- d* I7 o5 n* u
str_pri_axis : "C"/ d7 Y0 O/ s3 A( A' @/ d; e; Z: \
str_sec_axis : "A"
: S" z7 a4 n" E2 c5 Y- k' O8 rstr_dum_axis : "B"* @. i' L3 ?6 H# P; E8 x
6 O1 p3 K" T8 L! ^
#Toolplane mapped to top angle position strings$ ?2 G* A! l' x9 r* y# i: X
str_n_a_axis : "C"+ f# `- a  W6 V, y8 E* A0 I4 @
str_n_b_axis : "A"1 `: Y& J) H, r8 h: e! H
str_n_c_axis : "B"6 n1 K0 j1 \2 h$ c6 {2 G& ?

7 Y# B& a7 f. C, R#Machine rotary routine settings5 p  q8 Q, Z' d7 B+ B
mtype        : 0     #Machine type (Define base and rotation plane below) + |# n. l! c6 C
                     #0 = Table/Table; {& k* H$ M% g/ t0 E4 u9 R; e
                     #1 = Tilt Head/Table
8 U" M4 P' I! l7 Y                     #2 = Head/Head
$ L7 E8 c* i6 a- K: K                     #3 = Nutator Table/Table
2 @: G3 X0 l% ]* G7 u" ~$ @4 O4 I                     #4 = Nutator Tilt Head/Table
; w* A. B8 n+ d3 S                     #5 = Nutator Head/Head1 v( h9 b4 C& M& D

* ~8 d" R9 `& m4 \) A# K/ }) O% Ghead_is_sec  : 1     #Set with mtype 1 and 4 to indicate head is on secondary% P% r% W& g  o) Z# [
* K+ ?4 V1 |5 K2 q
#Preferred setup is pri. zero matches sec. zero/direction' h4 ^% E, T$ T6 I% V; R7 m- a) J
#Zero machine and determine the planes perp. to axis rotations* |' g( _4 e1 ^" Z9 g
#These plane combinations are valid:2 A  a2 Z+ O- I9 ~* e8 N
#Primary plane   XY   XZ   YZ
5 L( Z1 T8 p- d5 \8 {- \#Secondary or    XZ   XY   XY
3 k: U% B- k5 t, k#Secondary        YZ   YZ   XZ
4 J; X* U: h  ^( ?0 ~# R9 o) u" N+ u; r9 y* x5 `# w
#Primary axis angle description (in machine base terms)
% H1 q) n( z. D- g#With nutating (mtype 3-5) the nutating axis must be the XY plane
7 J: M" j- t2 g3 h3 i% ^rotaxis1$ = vecx  #Zero      
  p' j' y7 o# z, ?/ q# B2 r. Brotdir1$  = -vecy  #Direction  
! Q4 U" h' H0 ~; e0 Y. r4 n: g# h: T
#Secondary axis angle description (in machine base terms)- N1 ]: z# \8 k5 M' r
#With nutating (mtype 3-5) the nutating axis and this plane normal) R6 W# u; Q8 ?
#are aligned to calculate the secondary angle
; W, G. L- l1 c& G5 q4 m3 m3 Vrotaxis2$ = vecz  #Zero          e* ^/ h* }! ~4 l0 _; u
rotdir2$  = vecy #Direction   - H' l( J, w2 U4 y; l
2 G' V) |6 l% t* I% f
#NOTE: Use of 'top_map' requires the dealer match the# f. Z. F% Z1 u
#      above settings below.  These must match initial settings!!!
6 L% P# k  |/ pp_nut_restore    #Postblock, restores original axis settings
4 w" s; G* q9 |, P+ ~      result = updgbl(rotaxis1$, "vecx")#Zero
6 P! E, t" F7 k8 c      result = updgbl(rotdir1$, "-vecy")#Direction
7 x2 h7 C* T# {3 z0 l% y! B      result = updgbl(rotaxis2$, "vecz")#Zero2 j" @2 M% h* Y3 M# d( w
      result = updgbl(rotdir2$, "vecy")#Direction

Posts.rar

795 KB, 下载次数: 1, 下载积分: 金钱 -5

售价: 2 金钱  [记录]  [购买]

433

主题

5759

回帖

901万

积分

管理员

积分
9014266
发表于 2016-4-17 17:33:53 | 显示全部楼层
回复 1# t0143921 ; G" M) b# s2 B" o  H
( e( E' p! [  c! G& z/ |1 z

4 b. H$ t* I  o- o9 U$ I    哪里不正确,机器结构是怎样的,将讲楚
回复

使用道具 举报

2

主题

48

回帖

57

积分

注册会员

积分
57
 楼主| 发表于 2016-4-17 19:31:00 | 显示全部楼层
回复 2# 若枫 4 S0 T$ C: _. N. D/ B

6 z1 |/ @2 B: O楓大. 謝謝您的回覆..我機台是立式5軸.搖籃式雙轉台. A轴(+-360度) 平行於X轴 / C轴(+90度 - 35度) 為Z軸垂直  .
1 h  d* ?% P3 E6 E& g因為刀路輸出後,並不是像mastercam所編程的刀路軌跡一樣成現出來. : T4 z% g" y0 f; l9 \+ v

! R7 E4 m% b0 G$ q1. 在MASTERCAM上等角視圖. 藍色刀具軌跡4 r4 J$ O: G; V3 @4 d* r5 Z
https://lh6.googleusercontent.com/-SClHTRj5kx8/VxNyH-OxvUI/AAAAAAAAEmU/Eg6SEBen184AHLLcmAGBG1309oqEGfzwQCL0B/w920-h720-no/1460891346617.jpg
9 E+ ^5 T4 m- e! ^' g: C" y- w, h7 ?6 G8 h3 W
2. YZ平面/上視圖 . 藍色刀具軌跡
% ]0 `! X4 b% a8 \$ C- vhttps://lh5.googleusercontent.com/-p8Sj_vYdIVg/VxNyHllvzjI/AAAAAAAAEmQ/p43Jq8JD0ckdaGqumpGWadDkh8Xa78HnwCL0B/w852-h714-no/1460891370283.jpg2 o' Z" F% `: l) `' X

$ p  M- e; D& y3 o2 O3. NC程式 . 座標平面似乎錯了..
* }4 P0 K# j( W5 U* M9 W4 Bhttps://lh6.googleusercontent.com/-_QnxYNy9Q7k/VxNyH5BBolI/AAAAAAAAEmY/8F5AFfwb3-w4SFI1BmSbXYtswff3iYTXQCL0B/w591-h836-no/1460891407600.jpg
! C: A0 L7 k4 i7 l
, r  B  ?, I8 d  \6 `4. 所以機台上看到卻是如下..YZ平面/上視圖
, o2 h) s: f5 s( S" Y% r, Z* xhttps://lh5.googleusercontent.com/-asVXVmBOSe8/VxNyIEqjqlI/AAAAAAAAEmc/rSl_x2K2mdkvgo94kSCozdc3HpG-Ab2UgCL0B/w435-h449-no/1460891480581.jpg/ l+ z7 w5 @, _* s% _' F9 j4 N2 M

8 A9 }9 g) a3 L) n9 U& G5. 機台上看到卻是如下..ZY平面/上視圖' E6 \! f! N! f- c' \
https://lh6.googleusercontent.com/-55yIzYCU0PY/VxNyICKyM9I/AAAAAAAAEnA/qAmGILWSjoku5SWuuUtiRzNKOS2XpodVwCL0B/w467-h454-no/1460891500782.jpg
回复

使用道具 举报

0

主题

39

回帖

20

积分

注册会员

积分
20
发表于 2016-4-18 21:24:08 | 显示全部楼层
繁体字看不懂
回复

使用道具 举报

0

主题

39

回帖

20

积分

注册会员

积分
20
发表于 2016-4-18 21:31:55 | 显示全部楼层
都不知道回复什么了
回复

使用道具 举报

2

主题

48

回帖

57

积分

注册会员

积分
57
 楼主| 发表于 2016-4-19 09:43:57 | 显示全部楼层
回复 5# 735582557
  ]& j# h/ E, u7 L# \! g
- n" O4 l0 y8 b* L: e6 z
' \# H$ S( l2 C6 s  R5 g3 f8 }    前辈抱歉。我转换简体也请你帮忙一下。6 E+ q9 ~- u$ V0 q
因为我需要一个AC的五轴后处理。自己学着该看看。出来的NC似乎完全不正确能帮忙看一下问题出在哪里吗?/ M# Q' |) c* Y$ e0 G5 r6 n' V2 u2 N
我想另外请教一下.MASTERCAM在设定五轴的部份.机床是不是也要设定到对应的轴向位置?还是只需要更改后处理的对应轴向就可以了?
回复

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014266
发表于 2016-4-19 18:01:35 | 显示全部楼层
回复 6# t0143921 , [$ U* f: J9 X0 J

- `0 F# Z  b2 L0 [+ Y
0 W3 t3 ?: |2 V    你的软件版本太高了,我打不开,只能支持X5以下的版本
回复

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014266
发表于 2016-4-19 18:15:14 | 显示全部楼层
回复 3# t0143921 ) r5 t( P. Q" I2 _& u

/ ?: R5 L, W8 [7 j- P7 W7 n8 I应按照你的描述该是这种设置
' S. a, ]3 h0 Y# h0 U" qrotaxis1$ = vecy  #Zero       ! ?* A& v4 Y6 C0 `! s9 w4 Z
rotdir1$  = vecx  #Direction  
, X5 M* ~+ y7 p/ Frotaxis2$ = vecz  #Zero        ( \( a& e3 e( f( U2 G
rotdir2$  = vecy #Direction
回复

使用道具 举报

2

主题

48

回帖

57

积分

注册会员

积分
57
 楼主| 发表于 2016-4-21 22:40:08 | 显示全部楼层
回复 8# 若枫 . \4 ^' V* A  [
4 i5 w# t* c  u& }  P% t5 H4 c+ M7 @

/ k/ M) Y6 F# V* L8 _    謝謝楓大..我等下來試試看
回复

使用道具 举报

8

主题

61

回帖

56

积分

注册会员

积分
56
QQ
发表于 2016-4-23 21:49:18 | 显示全部楼层
楼主是哪里人,为什么要用繁体字,看的好辛苦
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2026-8-23 07:43 , Processed in 0.195089 second(s), 29 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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