找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1382|回复: 7

[求助] 求DM2800后处理程序 使用特殊dynacode代码

[复制链接]

6

主题

12

回帖

27

积分

注册会员

积分
27
发表于 2011-12-4 08:15:48 | 显示全部楼层 |阅读模式

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

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

×
本帖最后由 christzyy 于 2011-12-4 08:42 编辑 ( X0 `- @/ u6 h/ M+ W! q

$ a( U+ l0 i3 b 1111111222222.jpg ) U: B; S& L4 w1 N
这是谷歌翻译的:后处理器的软件,你可以去Mastercam的网站,并寻找到教育后处理器。 DM2800,你可以免费下载有一个......下面的计算机系统将能够工作的一次对话的语言编写的程序转移......  a+ }6 u0 H; k( a3 K6 \
机床
7 h: Y; D) S1 n' J# V b.jpg
3 U6 F) Q1 o7 ^( x; K  }5 z
# [4 w+ U' c* i这是DYNA自家的代码 一种对话式高级编程语言
# l' {: A$ _( _6 d1;TD=0.12505 L+ ^3 e  P7 V
2;FR XYZ=10.04 u6 g7 k) A0 @
3;SETUO>zcxyu
- ^8 i& s1 [( |8 V; C- d4;Go X 0.50253 Q6 F! k( b! g6 _
5;Y 2.0000
+ E8 P, t2 y. [' z6;Go Z -0.0400/ \" y) a0 h& g
7;Go Y 2.6750
% ?7 R3 P# t" d8;Go X 0.6825) D7 ^8 `. a7 V3 @% R# f
9;ZERO AT
- j* C+ T$ T; Y' U% X* X# Q2 j10; X 0.6825
  V% i% Y6 Q! S" R5 g. _" u! Y11;Y 2.4850. X; l, a3 z; `' X; P  }/ z  K
12;GR a -90.000
- G5 ?& ]0 y1 v0 S7 |1 e4 K. t5 M13;Go Y -0.2950
1 o+ r1 `5 ]2 \4 y. e# \. P, A14;ZERO Y
9 D/ I% P/ W6 {) {& m" d15:Go a -90.000
/ a$ @* N& o) P" R/ w16;Go X -0.1800; Q# W; R. Y/ H$ M% i+ T
17;Z>C2 J) e0 ^/ F" l+ P
18;>REF COODS
) Q9 j8 c8 }1 v* d( ^* j$ X19;Go X 1.2250
: R! K& ]- c% r+ r' @20:Go Z -0.0400
* g: V3 E( I- s21;Go Y 2.3346
2 R. u! U9 m* _9 [* D+ n22;ZERO XY
& \! R+ M3 p7 y8 m, t0 p# f' o3 l23:Go r 0.3700
& \7 R7 \3 {/ r' L8 k& z$ l24;a 60.000! b; K& V$ A: y  r% K
25;Go r0.00005 D3 Z+ o# R' \$ @& P- f3 x, l
26;Go r0.3700
& \6 Y! A  }( z$ O27;a 120.000: Q! t5 z6 Q) `/ b& W& I
28;Z>C7 P: G$ Y4 n/ H; }/ D
29;>REF COODS3 I, p4 m( Z0 D% U: G; r
30;Go X 1.58252 Y% _: X) T. ?' E4 ]3 o  c$ A) M/ d7 g
31;Y 2.00007 u4 w; }/ I6 J# Y2 V8 d
32;Go Z -0.0400
- N( G7 B; F9 K( d5 s33;Go Y 2.6750' v+ D6 S5 X/ ~' _3 K% n
34;Go X1.9525
1 d- ~7 l: {& h* T$ e. b! C( Q35; Y 2.0000
- t! o3 Q+ w& X6 k' d4 S8 }; T7 c8 O36;Go Y2.6750
' g9 ?4 @, q- u  T: T0 u  t37;Z>C6 X/ a1 l6 m7 G; V+ Y& p$ i9 G$ z% j
38;Go X 2.1225# m8 Y& a- R( ^9 B& r/ g6 M
39; Y 2.0000: Q; R" Y0 W- K) Q6 R2 F+ m
40;Go Z -0.04009 G; G: d) A( S: H$ S
  I5 [* [, s2 Z* O( p2 ]
我现在找不到这个后处理 愿意付费 以前一直学的是UG 现在忽然需要用Mastercam 实在措手不及 麻烦高手指点一下 那个版本的Mastercam最稳定 另外可不可以用UG做出刀路 然后再用Mastercam做后处理 谢谢

6

主题

12

回帖

27

积分

注册会员

积分
27
 楼主| 发表于 2011-12-4 08:20:37 | 显示全部楼层
本帖最后由 christzyy 于 2011-12-4 08:42 编辑 ; I' K% g+ L) Z$ |, @& v
& @& m9 k2 ]; _3 K' A  y
这是我的机床 刚买到 努力学习中$ u, d- e/ q7 m* r; s6 J
链接发不上来 百度(DYNA MYTE 2800工业数控小铣)就能找到 超多图6 t$ a- E8 _9 J2 F  ]2 G6 D" }
个人业余爱好 没事自己做做小零件 欢迎交流 QQ:804913212
回复

使用道具 举报

4

主题

85

回帖

62

积分

注册会员

积分
62
发表于 2011-12-4 17:06:37 | 显示全部楼层
是晃小瞊产产不为为
回复

使用道具 举报

6

主题

12

回帖

27

积分

注册会员

积分
27
 楼主| 发表于 2011-12-9 08:24:57 | 显示全部楼层
本帖最后由 christzyy 于 2011-12-9 08:43 编辑 / Y; |5 C5 S# R2 q. P: v0 V

# j/ R( b/ h, F, M5 X# v, l  h' g不好意思全是E文 我有时间会翻译好 这里不是针对2800的 但和2800有千丝万缕的联系% L) x0 l1 c& M/ `7 w! V4 G
代码的编号是从000开始到900结束 长代码也要按这个方式断开 开头是第几段编码 用(*** START INS ** 开头代码是不是必须这样我不确定) 结尾必须是(*** END NEWPART)(*** END)   *表示数字; X/ o; H% j, _$ X
一楼的代码是我用软件编辑过 所以编号不对 发上来时忘记改回来了
/ f) p! p$ r- f: \' s( F% H3 r9 q2 ?
Line 849 - Shows start of program, inches mode, prog. no. 20
( \4 u; `% |- q( pLine 850 - Tool Dia. .125 in5 c! ^) \8 r: E$ X! h* H
Line 851 - Feed Rate on X and Y axes to 16 in/min
( v. x# \: ^# B" NLine 852 - Feed Rate on Z axis to 5 in/min
1 U8 U. @  r9 O+ YLine 853 - Halts the program and prompts you to set up the axes (if that's not in the manual, let me know and i'll go into more explanation)
9 Y) m( ^; k9 X5 sLine 854 - Turns on the spindle, note on the left side of the spindle there's a switch that if turned off will keep the spindle from starting, also there's a local/program switch on the left front of the yellow box that transfers control of the spindle to the program)( W. t7 |+ ^/ h
Line 855 - "GO Fast" (rapid traverse) to X = -.3125# J5 o9 _" x3 G* F% D% k
Line 859 - GO to Z = -.3750 (at defined feedrate)# b! y8 D$ O1 P! k
Line 864 and 865 - using only one GO command and specifying two axes will do linear interpolation on those two axes (note that on this example that the Y axis is already there so it isn't obvious, this was a move to drill a hole, and mastercam likes to specify points that we're already at quite often)
* Z+ }6 u5 D) `" ULine 873 - turns off the coolant that was mysteriously never turned on using the COOLANT ON command.
8 V: E+ X, g- `& Q6 [Line 874 - raises spindle above clearance plane
: }1 C2 a# E9 q& p& s7 N2 F: q- jLine 875 - turns off spindle
+ p# R: T( Y! R) `9 R& w# X- WLine 876 - shows where program ends and gets machine ready to run it again.
% m$ @& R' r# z+ B6 u4 ~
% w) b- c! F+ ?5 c5 O.....  b  }( b0 Q& A/ r+ ~+ o! d
849 START INS 20
1 {1 H$ w' B; k8 |' E; H8 X3 _850 TD = .125
2 ?& d& n4 @4 n851 FR XY = 16
- v; v$ @4 A  [' u852 FR Z = 5! i0 a$ Z- X5 \! @# V0 X! i# j
853 SETUP >ZCXYU
6 x4 Q; b6 Y* j  x4 W3 E' O' N) Z854 SPINDLE ON
) z" }/ E* |9 u+ z9 d855 GOF X-.3125$ G% J" h; v9 f# c2 P
856 GOF Y-1.1875
4 P1 q2 H5 f0 X7 N857 GOF Z.1000
" W+ `2 J0 r9 J& S6 O; V858 FR XYZ = 4.1
+ B3 t/ V' o, L; J  l859 GO Z- .3750
  h1 c" b% g& o3 X  t0 p860 GOF Z.10005 t, m7 N" ]- }& U
861 GOF X-1.6250
8 Z+ W$ y5 ~6 n- D: U862 GOF Y-.4297
2 t8 V- G( K6 h! l/ B5 N& d( |863 FR XYZ = 4.1
0 u; i0 C2 ^; D5 {/ s864 GO Y- .4297% z# n  |: ^8 b3 V
865 Z- .3750
8 ~) s/ j* S8 s& M866 GOF Z.1000/ L# Z7 V" D2 x* z# Q' ]* }3 ~, z* a
867 GOF X-1.6250
/ ~6 w5 m0 Y" Q) w. w7 [, i4 w- D9 m868 GOF Y-1.9453
' f: j5 {# @  u9 T869 FR XYZ = 4.1
5 x  ]; G" h- a. _870 GO Y- 1.94536 Q' }+ y, J3 ^& a5 Z# Q$ B2 J
871 Z- .3750. G6 P% W. l# q2 h1 P
872 GOF Z.1000
8 m$ h% H" F! w873 COOLANT OFF: V$ e: L* z- x* p" I9 l2 B
874 Z>C
( N/ T& r2 G1 A$ D6 m; C2 v' \, l875 SPINDLE OFF
6 s/ ~- w2 ?  g0 u3 L( z. [" R: i2 _876 END NEWPART
. a7 `# z5 I8 l( K.....- J  o$ l/ z2 ?* L

! L" o7 c6 X& \) U# v, XNext segment of code show how to implement a tool change.
9 m( c# m! [  Y6 \8 T( _+ Jprogram is running until line 354, which raises the z axis all the way up.1 q6 o: e# p7 S/ B; v
then turns off the spindle. HALT will pause the program, allowing time for a tool change, until the "next" button on the keypad, which will resume program execustion, in this case it will turn the spindle back on and start motion again1 i% ]* M% q' z) h: G7 V2 l2 v
.....1 S2 \! T/ Z7 G% U0 k5 u) k
352 Z- .3750 ) e7 ~# E1 k: j+ V( N: t
353 GOF Z.1000 & ~. q4 P5 w1 r3 ^8 V
354 Z>ZMAX ) l" N0 x' F2 a; w# v# i5 q: V
355 SPINDLE OFF
$ d/ G+ H/ k" f7 H356 HALT 5 X% _0 \! d" w0 r% t& {
357 SPINDLE ON
5 I" W# L& e; k+ Q358 GOF Z.2500 / R3 @) c! r( z! \8 \! s4 ^
359 GOF X5.09388 \5 I& n2 `( ]0 B* z
...... \+ Z+ T* \0 N! @( z

: d  U8 |) ]3 gThis next segment show how circular interpolation can be specified.
( Q5 J2 a* m  S1 Ustarting at line 14 a local zero is specified to be at at 0,0 on lines 15 and 16. Line 17 tells it to "Go Relative angle" 90 degree CCW motion. (negative values indicate CW), i believe values up to 360 degrees can be used and there is a special command that needs to be used when the center is outside the machining envelope (i think it's an "i" or something, but i've never used it so i can't say for sure). Line 18 executes the move.
+ h8 [' b: |  `1 |) O/ }9 m....." j7 T* z) I2 @4 |
012 GO Z- .0938& E6 x2 Z6 M# l) ]
013 FR XYZ = 12.00 [% U. Z+ a: O9 ]6 ]1 d
014 ZERO AT
; q" t4 f7 q! k6 o015 GO X .0000: Z! O9 C. a# r+ l2 N3 I! X
016 Y .0000
$ L4 b4 ?/ J5 t6 K! `017 GR a 90.
, l1 s  T: u8 v+ c# S6 w018 >REF COODS
7 V" w4 R) P4 [$ h  t.....
3 U1 i" H8 x6 |- A/ C$ s下面是一些相关资料
+ e* S- s! Q  D1 x# `3 P0 s DYNAMYTE 2400 3 AXIS MILL.zip (58.02 KB, 下载次数: 4) MPD2400C.zip (31.22 KB, 下载次数: 2) MPD4400C.zip (31.74 KB, 下载次数: 1) mpdyna.zip (22.27 KB, 下载次数: 2)
回复

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014271
发表于 2011-12-10 15:18:34 | 显示全部楼层
回复 4# christzyy
. t% T& g0 g) \1 R. i( e6 s) }: |. N7 L7 d1 \# W
+ M  F* [! n% `
    这个后处理应该可以满足你的要求。你可以把生产的代码进行相关的上机测试即可
回复

使用道具 举报

6

主题

12

回帖

27

积分

注册会员

积分
27
 楼主| 发表于 2011-12-10 22:23:51 | 显示全部楼层
后处理可否做成UG使用的 Mastercam使用实在不习惯
回复

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014271
发表于 2011-12-11 01:44:59 | 显示全部楼层
回复 6# christzyy
5 V# U/ L5 A: r
' A  x: ]; r4 ?
$ t8 P3 p4 u6 E4 z1 @( R    工作量太大。不做
回复

使用道具 举报

8

主题

253

回帖

483

积分

中级会员

积分
483
发表于 2011-12-11 12:11:33 | 显示全部楼层
下载了看了一下,真是很特殊啊,看不懂那些代码。
回复

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2026-9-28 20:09 , Processed in 0.173700 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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