找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1668|回复: 7

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

[复制链接]

6

主题

12

回帖

27

积分

注册会员

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

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

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

×
本帖最后由 christzyy 于 2011-12-4 08:42 编辑 . j: G0 s% b* B, ~) p5 T1 G7 ]

* O- B: ?0 F8 r5 Z/ N% ]7 f+ C 1111111222222.jpg
$ O  J$ u0 K) F$ r$ M这是谷歌翻译的:后处理器的软件,你可以去Mastercam的网站,并寻找到教育后处理器。 DM2800,你可以免费下载有一个......下面的计算机系统将能够工作的一次对话的语言编写的程序转移......
% m1 D; a* g! }" d- ]" |6 G# }机床
# u" f1 w6 F% ]1 w6 d+ A b.jpg
# Y2 R  ~5 H5 F: \! N: f$ b/ `- f7 Y+ z  \( r! f- P. f
这是DYNA自家的代码 一种对话式高级编程语言5 b: r: u$ \9 x; w! V( Z( h! p
1;TD=0.1250
4 w$ E+ k5 g! [' L( @1 d2;FR XYZ=10.0
; F+ z& j# B7 E! _4 Z) C" }3;SETUO>zcxyu
0 T: G! q0 ~9 {% _" J/ T4;Go X 0.50252 ^" V/ U$ ~- G- u  ^- G( E
5;Y 2.00009 w4 I+ p- E/ z
6;Go Z -0.0400
! F, [* m( q, @* K+ i7;Go Y 2.67509 m! ~" r% r8 q  G: f. L
8;Go X 0.6825
0 M/ ]5 S, T% j( G0 |9;ZERO AT
2 |2 ^5 [/ Q/ m, Z10; X 0.6825* N" Q! `* K9 h/ K3 h! ?" U
11;Y 2.4850. c  ?3 i; X# I" ^6 W
12;GR a -90.000
5 I) r" c9 W  {8 m; g( A13;Go Y -0.29509 ^4 A* m4 E  q$ E
14;ZERO Y2 V6 K: b5 X  x2 l! @
15:Go a -90.000
" P- w" T7 f! D; G9 e16;Go X -0.1800
+ ]: v& w8 l/ s3 a- Q9 G. w17;Z>C- r2 w* _1 ~8 p  J
18;>REF COODS
! E& e6 ]  Z/ w( d19;Go X 1.2250
' p- m/ H/ n; F20:Go Z -0.04009 B" e$ r! T5 l& \/ P
21;Go Y 2.3346( ~/ C; @7 C$ J. c# i5 `. X# @
22;ZERO XY- _! i1 M: d% P- K( n$ N. N. M8 @
23:Go r 0.3700# t& l6 ?  S; Z. @4 c, {
24;a 60.000- O! R1 c) m5 r: V
25;Go r0.0000, \* y* V8 `# ~, I4 l
26;Go r0.3700
5 C/ U; n) c4 O2 h( x2 L/ d27;a 120.000
0 ]2 q6 K9 w- x! |4 W2 j* e28;Z>C
. D& M* S# s7 u29;>REF COODS
( Q; |8 V3 R. v* Z8 h30;Go X 1.5825
7 T  S1 W7 U. I+ _31;Y 2.0000
0 W  |) u6 \% s: I32;Go Z -0.0400
/ `+ H3 L: }1 R8 J33;Go Y 2.6750
7 L$ q# J1 v! l1 e34;Go X1.9525
8 D' J0 ]: \# u4 A35; Y 2.0000
: @7 n5 u- {; K36;Go Y2.67500 v2 H- C' |5 {$ h, k
37;Z>C
' l9 j; l! y9 t% g- V9 S6 y38;Go X 2.1225
& r, `: x! }. u- q% ]+ _39; Y 2.0000
; ?1 _5 x) |9 |5 u2 ^& _) W6 i5 ^40;Go Z -0.0400
- g6 E! M" K+ t; ]  b; w" N7 o( `+ \
我现在找不到这个后处理 愿意付费 以前一直学的是UG 现在忽然需要用Mastercam 实在措手不及 麻烦高手指点一下 那个版本的Mastercam最稳定 另外可不可以用UG做出刀路 然后再用Mastercam做后处理 谢谢

6

主题

12

回帖

27

积分

注册会员

积分
27
 楼主| 发表于 2011-12-4 08:20:37 | 显示全部楼层
本帖最后由 christzyy 于 2011-12-4 08:42 编辑
/ _( I9 F3 W- R( L% ]; S; t2 z8 I! i, y6 E4 l; f8 @. w$ j
这是我的机床 刚买到 努力学习中
6 Z, N0 W1 g) H9 G( G0 p链接发不上来 百度(DYNA MYTE 2800工业数控小铣)就能找到 超多图
8 Q- z+ V8 c  f, f个人业余爱好 没事自己做做小零件 欢迎交流 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 编辑
0 [% g' q8 m* T5 k% I0 e3 U! f0 K& x+ p7 P
不好意思全是E文 我有时间会翻译好 这里不是针对2800的 但和2800有千丝万缕的联系. v& b* L6 ]# W- a4 ~
代码的编号是从000开始到900结束 长代码也要按这个方式断开 开头是第几段编码 用(*** START INS ** 开头代码是不是必须这样我不确定) 结尾必须是(*** END NEWPART)(*** END)   *表示数字' G3 a# p1 p1 @$ A
一楼的代码是我用软件编辑过 所以编号不对 发上来时忘记改回来了$ f6 C3 A& C5 X' o. @" o; Z  ]

+ `( K2 p5 a/ |% h" B: rLine 849 - Shows start of program, inches mode, prog. no. 20. `3 J5 S' F3 O7 X
Line 850 - Tool Dia. .125 in
! l: [+ @# }7 MLine 851 - Feed Rate on X and Y axes to 16 in/min# y5 J8 w7 s# }: x" z8 R
Line 852 - Feed Rate on Z axis to 5 in/min
7 q+ `+ g7 t9 e7 M( GLine 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)
7 Z! `4 y4 m& C! _3 e2 h; GLine 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)
1 c5 j- \7 `' Y& ALine 855 - "GO Fast" (rapid traverse) to X = -.31253 p1 p3 g3 U1 d2 H1 r( _
Line 859 - GO to Z = -.3750 (at defined feedrate)
& R4 `1 I# F, O2 k" T: Z- sLine 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)
; m# T. i' i, C6 v8 q, _Line 873 - turns off the coolant that was mysteriously never turned on using the COOLANT ON command.
3 L8 Q9 L9 T" D% s! f/ bLine 874 - raises spindle above clearance plane# H+ h+ e4 j/ Y: h
Line 875 - turns off spindle
# Y4 p  s/ D% l) s( O( `5 CLine 876 - shows where program ends and gets machine ready to run it again.1 P. {/ X, d% c
. c( f1 {$ H& |
.....8 G7 ^; f2 `) F) _5 S" X
849 START INS 20
. y0 G2 H, F; S7 P' Q  }5 z0 X' d850 TD = .125
7 l+ t2 j3 {) G- A/ k851 FR XY = 16" r, s' ]- p4 u0 y- O% V
852 FR Z = 5
1 A! _, v9 Z: ^( w$ v853 SETUP >ZCXYU
3 ^( v0 Y- j" X% m3 A854 SPINDLE ON
+ A2 G* f- s3 @# H9 O( J3 [4 E, t855 GOF X-.3125
3 ~4 Z) t& Y5 K0 C# z8 U  z' W856 GOF Y-1.1875  E, w7 R" z, k" S3 f% ]
857 GOF Z.1000
, Q& w! m0 m- ]4 q$ M, J/ m" o0 C858 FR XYZ = 4.1
2 E+ b5 K( M- }. \1 A5 D1 ]3 r859 GO Z- .3750
8 k3 W) ^# Y/ `/ {860 GOF Z.10006 [4 X" A. h/ Z( h5 A" s! d1 Q
861 GOF X-1.6250
* G" e3 {( z2 }: k) ^+ F862 GOF Y-.4297$ v: y% l7 v* ^; \! M
863 FR XYZ = 4.1
& ?7 y6 _: X( i/ ~( n864 GO Y- .4297
- ?! ^8 U# F- _0 a% `865 Z- .37502 e- Z" ]2 `5 f8 Z* k
866 GOF Z.10007 q/ g$ c6 L9 [4 l: v# @
867 GOF X-1.6250
2 O9 V- d  ?" I5 I! b868 GOF Y-1.9453. ~7 F  \, x; ~) _( S
869 FR XYZ = 4.19 ~' j2 Q- ?# s; E' R. Z
870 GO Y- 1.9453/ T* d4 X. ?3 [( r  G1 A
871 Z- .3750
' }$ g1 _) q* Q3 S* N9 r872 GOF Z.1000
: W' u' s% ^" K& w' g873 COOLANT OFF5 R4 \- g% z9 @) ^  y% Y' r
874 Z>C
- F  q- U! d2 t+ Y. c875 SPINDLE OFF
( \: a) O- J: h8 D+ \$ I& Z* h876 END NEWPART
5 ^, J8 T* A0 [5 A! ?. J" F! q/ W.....) d6 i, h9 B4 s+ Z4 K
, c1 X' m/ i7 v' r, h" z* k3 z' Z
Next segment of code show how to implement a tool change.
4 {, q0 a2 u7 hprogram is running until line 354, which raises the z axis all the way up.% _1 P( m; P6 \) _# ?1 ?
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 again+ S7 p- L/ t. U( E" P* H
.....0 q  Q' A: `% A5 k! @, `
352 Z- .3750
: D1 K5 }6 l0 L) Y; \, q353 GOF Z.1000
0 J% J% z; G' J6 z7 F354 Z>ZMAX
4 Y3 l1 ?5 ]! o1 m355 SPINDLE OFF
3 @; c) U6 N( a; Y356 HALT
! ~% t9 \$ Z" M1 t3 m% a* c, ~( d357 SPINDLE ON # h% u3 m% t: p9 B
358 GOF Z.2500 + Q$ a- r3 ~# C* [0 `; G
359 GOF X5.0938
) [* [4 l7 W7 e$ ^& f# `5 m: `3 a.....9 v1 R/ t% T9 y% |2 Q9 k8 P3 w2 ?, v

4 W8 E+ Y9 l  t& b% S4 RThis next segment show how circular interpolation can be specified.
. `4 Y/ _0 S9 [: C, p9 xstarting 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.
5 n5 {. X3 E1 ]7 i4 Z+ f! u, ^.....
- A6 B5 w3 n( Y& S# J012 GO Z- .09386 e0 t; t7 `, H9 f9 H5 ?
013 FR XYZ = 12.0, c1 O- M7 |& I3 ~( t& `) k/ U
014 ZERO AT7 B* h: P  a: n' {8 Z: ?2 \% ~6 Q
015 GO X .0000
' `/ R2 w( `, M8 C7 k1 Q7 r5 O, [016 Y .0000: v8 e  P, a- A' ^  @& S
017 GR a 90.4 V+ x* h8 }1 P9 R7 b# l) T3 m1 c4 ?
018 >REF COODS3 X3 c' y  _) T6 P
.....
. }( `# }3 M$ E: c下面是一些相关资料
+ Z7 ~  [1 S. V+ b' t7 U4 O4 @ 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)
回复

使用道具 举报

438

主题

5759

回帖

901万

积分

管理员

积分
9014289
发表于 2011-12-10 15:18:34 | 显示全部楼层
回复 4# christzyy 6 I. l0 R0 z8 y- o  w- S; I

$ \9 A3 z& O0 f2 u& N, w1 K8 K' m' `! L+ @
    这个后处理应该可以满足你的要求。你可以把生产的代码进行相关的上机测试即可
回复

使用道具 举报

6

主题

12

回帖

27

积分

注册会员

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

使用道具 举报

438

主题

5759

回帖

901万

积分

管理员

积分
9014289
发表于 2011-12-11 01:44:59 | 显示全部楼层
回复 6# christzyy ( N; v+ E" N( v! Q3 w
' v) y6 c/ T6 ~  L( x
: H6 c$ z* t7 m; N# L" C$ x
    工作量太大。不做
回复

使用道具 举报

8

主题

253

回帖

483

积分

中级会员

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

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2026-11-18 08:23 , Processed in 0.223251 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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