找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1333|回复: 7

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

[复制链接]

6

主题

12

回帖

27

积分

注册会员

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

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

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

×
本帖最后由 christzyy 于 2011-12-4 08:42 编辑 6 i7 I' Z! x' b

* t. g# S% x# H3 J; c2 U 1111111222222.jpg
4 `# B( a6 }6 Z- h这是谷歌翻译的:后处理器的软件,你可以去Mastercam的网站,并寻找到教育后处理器。 DM2800,你可以免费下载有一个......下面的计算机系统将能够工作的一次对话的语言编写的程序转移......+ W) U/ o/ Q& v
机床+ K! q+ a* {5 i# ~" S# S
b.jpg
2 F+ Z5 J& b: _; `/ G0 X5 o6 [9 L% f" I, \
这是DYNA自家的代码 一种对话式高级编程语言
! `( i3 G& e6 c. z5 T8 }( P+ p" |1;TD=0.12506 W" S, @: W. o
2;FR XYZ=10.0) d- ]$ G4 G( u3 X( E' D
3;SETUO>zcxyu
1 ?! d' J" s5 r' ^4;Go X 0.5025
- g% g3 v5 T3 x' V5;Y 2.0000
" v9 k8 A: ]) Y6;Go Z -0.0400+ @) Q% N! F' }7 k, g  ~8 `! y+ J- T
7;Go Y 2.6750
: h2 y: J9 P( W5 e4 u8;Go X 0.6825
) b& j, V" z  `2 v  o: z$ ]# T9;ZERO AT
- t" f' j5 a* v! Z1 Y; ]* R10; X 0.6825$ N4 U- d, d0 m: v
11;Y 2.4850
; d- D3 T, Y2 O* T; ?7 r3 Z% h12;GR a -90.000, W! o' `  A" Q0 N
13;Go Y -0.29501 V. J" h6 u% L2 `3 u
14;ZERO Y
/ r' T* j; ?( l2 ~15:Go a -90.000
' b( f  S! K$ Y5 y) n- v! D16;Go X -0.1800
0 d7 H, [$ J" p% k6 C17;Z>C
, l& k8 B. Z* d8 M7 |$ d2 t8 O18;>REF COODS
& M  q( p  j( m' @& R5 @19;Go X 1.2250  R% U6 `% _$ I! {) B4 u- N
20:Go Z -0.04002 A  P( a. n3 C5 J( {' |! t, I
21;Go Y 2.3346
7 h$ ?- ~6 Q0 Q5 X. z22;ZERO XY4 [* Y7 y5 r2 _5 s
23:Go r 0.3700
! V3 J' Q# p; ~/ {) ?24;a 60.000: m  g/ v# O* v0 o
25;Go r0.0000
; m. S( u3 U" h3 a1 `' @3 v26;Go r0.3700, ]( M  n) {9 M/ D6 G, F3 a
27;a 120.000
9 @% D" T; y0 ?. t28;Z>C9 S: I3 n$ F3 J; e9 r5 x
29;>REF COODS. z( @* Z9 i+ \% k* z1 \3 q
30;Go X 1.58259 i7 o: g! d, }! ]0 \
31;Y 2.0000
( Q: q- p8 X# b- C1 R32;Go Z -0.0400
: K0 i: Q( E) [- K33;Go Y 2.6750
3 k4 S1 b  h: u+ R* Y/ n3 p( K9 O* e34;Go X1.9525' O: G  @& c! p6 l( ~$ j
35; Y 2.0000
, U- _' f% S% r/ L' i36;Go Y2.6750
, L1 r' Z7 J% h, M& ?5 m; f7 T/ c37;Z>C
9 i, T) Q# C* Y4 l38;Go X 2.1225# h0 ]0 f" `6 k$ S
39; Y 2.0000
- E8 p$ i4 ^9 A* E( S, ?0 J1 q- A40;Go Z -0.0400
. v" s' _. e% P4 t9 F
% q5 L) g* Y9 x/ c. b6 Q2 [我现在找不到这个后处理 愿意付费 以前一直学的是UG 现在忽然需要用Mastercam 实在措手不及 麻烦高手指点一下 那个版本的Mastercam最稳定 另外可不可以用UG做出刀路 然后再用Mastercam做后处理 谢谢

6

主题

12

回帖

27

积分

注册会员

积分
27
 楼主| 发表于 2011-12-4 08:20:37 | 显示全部楼层
本帖最后由 christzyy 于 2011-12-4 08:42 编辑
; e4 B$ Q8 h( w( D9 j7 |& C% u+ R; G; Q
这是我的机床 刚买到 努力学习中
% b! |3 M8 T# X链接发不上来 百度(DYNA MYTE 2800工业数控小铣)就能找到 超多图
* i3 k' b7 s( x( h/ V2 A* W) R个人业余爱好 没事自己做做小零件 欢迎交流 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 编辑
- l( W& y$ m. b6 m5 S$ I
' D. Q! r* K# N( c( X1 @- Y' r不好意思全是E文 我有时间会翻译好 这里不是针对2800的 但和2800有千丝万缕的联系
, W# m; \# `! r; t& ^9 n代码的编号是从000开始到900结束 长代码也要按这个方式断开 开头是第几段编码 用(*** START INS ** 开头代码是不是必须这样我不确定) 结尾必须是(*** END NEWPART)(*** END)   *表示数字
7 _: p' `; w9 X8 f7 }1 `3 W一楼的代码是我用软件编辑过 所以编号不对 发上来时忘记改回来了
" |, n9 Y! g6 ]- L% d- b" l4 w
0 B- @* K9 O$ E9 RLine 849 - Shows start of program, inches mode, prog. no. 20& n6 X/ ?* {2 Q# L1 ^
Line 850 - Tool Dia. .125 in
( b5 B( M) G9 Y( Z6 [) F, s# WLine 851 - Feed Rate on X and Y axes to 16 in/min
; j# ~2 Q, x  M) d' l- I7 y/ zLine 852 - Feed Rate on Z axis to 5 in/min0 K  [; j( Q- l' o+ t0 U* g
Line 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)
2 O6 l. S3 @9 H0 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)
/ F9 C! h: q/ A% f( H/ YLine 855 - "GO Fast" (rapid traverse) to X = -.3125
' j0 v- l. p. h5 n* {Line 859 - GO to Z = -.3750 (at defined feedrate): R3 \" Z) D  ?' g+ o8 E7 e
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)
: S; Z. A5 C* L$ I) ALine 873 - turns off the coolant that was mysteriously never turned on using the COOLANT ON command." E8 S' ?2 N  ~9 O; D
Line 874 - raises spindle above clearance plane
6 `0 D4 f$ \3 N' G. `Line 875 - turns off spindle8 o: x! U9 x3 L% L5 Y; T9 B
Line 876 - shows where program ends and gets machine ready to run it again.
: W! s: I! K0 q) s. ], f0 O0 j
+ d4 _$ Q# F) N  q.....
8 V2 y! @& f7 L! N! V849 START INS 20
9 p. E- E. D) y4 N( d850 TD = .125
$ Q9 E- a7 s: l851 FR XY = 16
4 j4 F/ e0 ]( X  f  _" _+ r2 ]852 FR Z = 5
4 V- m: y2 a1 ^( {) _, }1 Z853 SETUP >ZCXYU: @1 d7 x: r6 ~' l- |6 B
854 SPINDLE ON: Y$ @' I& y2 ?$ U
855 GOF X-.3125
7 P4 M* U! m3 N1 j856 GOF Y-1.1875' C9 U; d0 p0 K" [" @4 |/ V/ |
857 GOF Z.1000: r# O& v9 R- F
858 FR XYZ = 4.1
; a9 b" Z" |% N! p5 f# o859 GO Z- .3750
' B8 Z; U8 O0 r( I/ t) w9 K9 n860 GOF Z.1000
, Q* @0 W; z+ i: K. s$ O861 GOF X-1.62509 H0 F4 O) F0 A
862 GOF Y-.42978 I1 S5 V, T; K2 |5 V$ o; X
863 FR XYZ = 4.1
3 L' K: R1 v, S. {) G1 r* v864 GO Y- .4297' I. H+ K6 g- k; C' {9 b2 I* E5 O
865 Z- .37505 E/ r4 X7 Z; B& Z  ]3 B  m% f
866 GOF Z.1000
' F3 [7 f5 \( I) l% `8 a  T867 GOF X-1.6250
  V; A+ u7 @' j5 n! |' f868 GOF Y-1.9453
$ q" e" P& p1 Y8 o869 FR XYZ = 4.11 n( v7 w1 x7 J4 Q; m
870 GO Y- 1.9453
% j7 }3 h" j: E4 \$ o2 w871 Z- .3750
- v) L* a. P$ ~% C; T4 S4 ~2 k872 GOF Z.10006 I5 T/ Q/ N7 r1 X$ r5 F0 V
873 COOLANT OFF
. F, i* Y3 `3 C. f- Y, K874 Z>C
, k& C+ M' d$ Y# m* h1 i* ?( t( r$ a875 SPINDLE OFF
, f5 X4 m4 Q" Q876 END NEWPART
5 e0 y8 ?( V, W" u( s% n* k: u2 a.....
: S3 i8 V8 y- g
, A  O& j; R, D/ _3 SNext segment of code show how to implement a tool change.3 }4 O# `7 ~! j8 U  n( K- o
program is running until line 354, which raises the z axis all the way up.* r; Y$ r, J) Y
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
  V! `- C) t: b4 j4 e.....
1 e% p# W: P7 n& E4 V1 _2 R352 Z- .3750
9 }7 W- f2 D! X$ o1 M' [5 Q353 GOF Z.1000   m- ~6 m. q' |% E
354 Z>ZMAX ' ~. b0 q! Q+ N& X
355 SPINDLE OFF ! n0 |& w1 w' B: Z' u% Z3 z3 n
356 HALT 8 @  H( h' c& B( C- R
357 SPINDLE ON ; j% t, ]: s) T0 x
358 GOF Z.2500
1 Y: y$ u$ a" U7 @359 GOF X5.0938
, A5 x+ H' f# d$ R* r: p.....  A# X& Z. s4 G
9 G7 A: }% w4 [2 W
This next segment show how circular interpolation can be specified.8 O, x' M- |( _8 {# B# X* K+ {+ a
starting 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.# E: n* S, D: x1 O/ B- v- @( [
.....8 [- P& D) ^( }0 F( ~0 T
012 GO Z- .0938
* C" C- M: q2 j: }5 g  [9 T; H' ?013 FR XYZ = 12.0
9 Z5 N) R0 d7 e( L014 ZERO AT% o; t. d6 {, N+ @, Q' f2 s
015 GO X .00004 u7 g" Q: @0 }! k6 o
016 Y .0000+ }3 X; ?( E' a. K( b
017 GR a 90.1 Z' P7 q6 \) ~/ [
018 >REF COODS
' w5 `! R, Q1 W% y" j" }6 z.....1 ^+ K# U! ]5 O" z  @
下面是一些相关资料: q9 ~& |' w4 m
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万

积分

管理员

积分
9014269
发表于 2011-12-10 15:18:34 | 显示全部楼层
回复 4# christzyy
2 q) X" ?8 ]3 E, ?0 e4 E) K7 Q* E% G! c1 g' r3 f# X3 K9 v) i0 z
- Z+ g( m" [9 c$ q9 o: P
    这个后处理应该可以满足你的要求。你可以把生产的代码进行相关的上机测试即可
回复

使用道具 举报

6

主题

12

回帖

27

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014269
发表于 2011-12-11 01:44:59 | 显示全部楼层
回复 6# christzyy
9 s4 i9 t/ d! V% s6 B/ D) r* Z
/ X7 d# P0 y6 {# T" d
; N$ m2 f( o( W% U1 E    工作量太大。不做
回复

使用道具 举报

8

主题

253

回帖

481

积分

中级会员

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

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2026-9-3 04:26 , Processed in 0.196076 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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