找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1310|回复: 7

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

[复制链接]

6

主题

12

回帖

27

积分

注册会员

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

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

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

×
本帖最后由 christzyy 于 2011-12-4 08:42 编辑
2 V+ p5 q  f: o9 _. n/ t, h' e" j; b  u* s% B4 N: r
1111111222222.jpg
3 X) ^" A* n0 M' f. y这是谷歌翻译的:后处理器的软件,你可以去Mastercam的网站,并寻找到教育后处理器。 DM2800,你可以免费下载有一个......下面的计算机系统将能够工作的一次对话的语言编写的程序转移......, k# W6 p$ i0 l
机床
5 j! z- _8 l/ |* O! e& c8 I b.jpg
. P8 Y+ f2 R8 r) s0 A" n; y+ q  v% F. ]' N% |3 U9 ~; l% m
这是DYNA自家的代码 一种对话式高级编程语言1 e5 B7 j' U. Z* v8 _7 @# V4 g
1;TD=0.1250
+ k2 q3 B# r9 {! `$ }: e2;FR XYZ=10.0
* {4 x# W, P( c+ c: T8 I3;SETUO>zcxyu
% g* B0 r0 N0 ?6 o8 T4;Go X 0.50251 K9 V5 n# M! t( p- l
5;Y 2.0000, ]9 V$ p" k5 C  M) W  x) L
6;Go Z -0.0400( F& v5 [' X( n: F# y2 e( t' W% t
7;Go Y 2.6750
/ L+ O7 |- Z  L. L7 I; P8;Go X 0.6825
6 |! b% T0 g$ i9;ZERO AT
1 A: {' r+ [8 Z/ J2 a& a' W: B10; X 0.6825
* \& h; b/ p* @1 d) ?11;Y 2.48505 G/ V% ?: G+ j5 z# c4 T: X5 T
12;GR a -90.0007 B3 o7 V( h  S+ b3 z
13;Go Y -0.2950/ X) K# k3 o: B: z' w% y/ c
14;ZERO Y  t! L& d; d- f" O5 V
15:Go a -90.000
0 u8 E! O  ]3 \16;Go X -0.1800% O, i$ y; T& U, M0 l
17;Z>C4 D9 z2 z. e  t
18;>REF COODS
& T* w0 S6 r2 @$ e. F- k  B19;Go X 1.2250
- }/ V) ?! s$ @+ C20:Go Z -0.0400* _5 [* @% a: z2 _) U6 e( w% V
21;Go Y 2.33463 E: L3 c* _. X: a  j
22;ZERO XY' |' l8 C( v1 q3 ^0 \% m/ S
23:Go r 0.3700
- x0 E, h5 X6 M24;a 60.000
. x- g+ s3 c* ?, J' D% C3 v: q25;Go r0.0000
: o6 o. C7 v. L9 r  t5 u26;Go r0.3700
: D2 n. ^2 x6 j- B27;a 120.000
, G- i% h4 i* U) g: ?* v- J, W28;Z>C
/ v" x$ R5 o" M0 D29;>REF COODS& |. e; a5 `# P' `( ?
30;Go X 1.58250 m0 G" S3 ^2 c
31;Y 2.0000, C- V/ m) O$ j% i
32;Go Z -0.0400, w; A3 G* l+ K# v9 p2 t2 B2 M
33;Go Y 2.6750# i: @5 }; s/ V9 i8 D  o- e& X
34;Go X1.9525
  B$ E% ?, ]) ?+ T5 u" Z35; Y 2.0000: k" a: P3 g2 q
36;Go Y2.6750
( C1 r4 T% x& _6 k: B; i& f8 W& m- \37;Z>C
8 V/ O4 e4 ]* Q4 _& u1 ~38;Go X 2.12259 l4 ?) |$ ~' _) T. f8 K& i$ B
39; Y 2.00004 a. Q  q+ B7 o7 x/ H6 O
40;Go Z -0.0400& D/ M& ^) o* X! ~

$ Z9 p/ _: x+ ]/ g. E我现在找不到这个后处理 愿意付费 以前一直学的是UG 现在忽然需要用Mastercam 实在措手不及 麻烦高手指点一下 那个版本的Mastercam最稳定 另外可不可以用UG做出刀路 然后再用Mastercam做后处理 谢谢

6

主题

12

回帖

27

积分

注册会员

积分
27
 楼主| 发表于 2011-12-4 08:20:37 | 显示全部楼层
本帖最后由 christzyy 于 2011-12-4 08:42 编辑
7 \+ K6 v7 L: n) b) B& U9 ]& }6 @4 Y9 O( H
这是我的机床 刚买到 努力学习中
5 p* O$ a2 n& l1 i5 e: S3 d链接发不上来 百度(DYNA MYTE 2800工业数控小铣)就能找到 超多图
: [9 G" ]  }, d, I$ t$ H! s5 X个人业余爱好 没事自己做做小零件 欢迎交流 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 编辑 ) d8 S- x: H+ s) l. _( _5 E

/ ?7 \) E! M' J不好意思全是E文 我有时间会翻译好 这里不是针对2800的 但和2800有千丝万缕的联系
1 {- z0 m: W" \代码的编号是从000开始到900结束 长代码也要按这个方式断开 开头是第几段编码 用(*** START INS ** 开头代码是不是必须这样我不确定) 结尾必须是(*** END NEWPART)(*** END)   *表示数字+ j; s- r. O, O# V$ ~3 I
一楼的代码是我用软件编辑过 所以编号不对 发上来时忘记改回来了
, P4 g- Z: ]& t; @( F# b4 X4 K& V! }2 z; Z: I) Q0 V
Line 849 - Shows start of program, inches mode, prog. no. 20
  h* H" k  V: @2 Z# x# Q$ l. `& ]Line 850 - Tool Dia. .125 in% G5 k; M/ w. F! y0 K7 r- T5 v0 S
Line 851 - Feed Rate on X and Y axes to 16 in/min' `1 D  W4 B% z1 s6 o3 s! G" z; U
Line 852 - Feed Rate on Z axis to 5 in/min
: B) p5 B7 O$ `+ @/ c8 X* d; L2 pLine 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)
. V6 T; e4 ]6 g& l$ MLine 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)7 n+ f# X# i! h
Line 855 - "GO Fast" (rapid traverse) to X = -.3125
5 g, [9 e" H, Q- x) H# L& e5 vLine 859 - GO to Z = -.3750 (at defined feedrate)
! H! z) N2 L0 p$ Q3 S7 QLine 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)
3 i; P1 R/ o! l' }Line 873 - turns off the coolant that was mysteriously never turned on using the COOLANT ON command.
* l  }; p* ^5 @Line 874 - raises spindle above clearance plane8 v, F7 E# [1 R* z
Line 875 - turns off spindle
/ B, X+ {& ~4 T) ^$ E- p4 YLine 876 - shows where program ends and gets machine ready to run it again.
  I5 \: \: P2 \& |+ {3 g3 a" v! a5 F- E* t; Y" p, A
.....
: l- @- K: S. q2 M849 START INS 20
; G6 ?0 C. g1 Y6 r8 s" Y/ L* E850 TD = .125; g: K6 U8 {9 F, x& o% I- p
851 FR XY = 164 U, A5 W0 F- v6 s2 b
852 FR Z = 5) e2 r. H% G0 B$ X/ z: T
853 SETUP >ZCXYU0 Y* g# v& W5 B& _3 Y. L) I
854 SPINDLE ON# ]: {( `  G! m. y8 W+ Y& P: L
855 GOF X-.31259 z7 O% Q% I# M4 S* J6 @% R8 L6 a- x
856 GOF Y-1.1875- B- B8 a4 w0 O" M( D5 f( R% W
857 GOF Z.1000
! Z- t' D" U( S9 J. l858 FR XYZ = 4.1
" Y& L3 G/ T8 O/ J# E2 r% r859 GO Z- .3750
9 {. Q6 I; I- R$ N- A$ K8 {% k/ a- o860 GOF Z.1000
# z. F9 g7 _9 g% X1 F5 S861 GOF X-1.6250
& s6 y, O5 }! a6 _" l% B+ k1 b* q$ p. ^4 o862 GOF Y-.42979 `& q# R& C9 M# Q" i7 v2 h' K2 b
863 FR XYZ = 4.1
3 E) ]  I) k# c+ G3 `+ ~864 GO Y- .4297: J# i8 p0 U1 q5 s! h+ N6 W
865 Z- .3750
7 C: Q7 F' m9 o! |866 GOF Z.1000  [. Y8 A" E  |) i: R' `# ^
867 GOF X-1.62506 A$ C; y- K4 ]7 C: T
868 GOF Y-1.9453
8 b" Y/ C  K3 y# C5 A9 \869 FR XYZ = 4.1
3 o. A3 x: F. z( d, U870 GO Y- 1.9453; s& S7 t% E4 L% ~( t- q* X' x  ?
871 Z- .3750* M0 k0 I$ G9 u1 L" A
872 GOF Z.1000
8 A4 T; j7 W' D! `873 COOLANT OFF: y8 `+ r* t+ d2 F% I" N/ |
874 Z>C9 K; X1 C& i: V- F
875 SPINDLE OFF' u+ _% Z" c1 W) l) O* ^
876 END NEWPART( g. b' C' y5 r" e' h% e- P9 Z/ e
.....
( n, x7 u2 |1 v. C" @4 v1 f6 R
$ m$ k5 j& K- x6 H( d2 t( |Next segment of code show how to implement a tool change.
0 J% r5 R+ I* ]! C" qprogram is running until line 354, which raises the z axis all the way up.. @" o$ w; [2 {' K! ~
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 again2 [* q6 r6 E* U8 C
.....
1 }$ R6 I3 Z% o' j352 Z- .3750 ) P5 \5 X! b2 l2 ?- n$ ]) g6 W
353 GOF Z.1000
+ g- W9 g+ W, s) Y354 Z>ZMAX
2 J- y1 y7 H" Q9 q355 SPINDLE OFF
' P* S0 R, D& W* N5 Y4 a; C356 HALT 1 n* u0 M: ^. Z# q) j; u* O
357 SPINDLE ON
; h$ Z3 j6 [. n( g& ]358 GOF Z.2500
& m$ _+ K! M/ c: U' h/ y/ z359 GOF X5.0938! C% I4 f$ Z9 q- b. S7 ~& E
.....
" |/ c3 a: V4 \3 K! f. K; [2 E+ F( N$ D$ H, j
This next segment show how circular interpolation can be specified.
8 {7 |) D( k# S% g6 ?9 G- Istarting 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.
) G. a/ e) ?9 e  y' Z.....- A- [9 H; W. V9 r, b5 \
012 GO Z- .0938
* R; K/ }0 h$ s! x+ Z! f013 FR XYZ = 12.0
) @! z9 M9 @/ O* ?+ T9 Z014 ZERO AT: E% i' S  H0 e& n
015 GO X .0000
+ t) g) G( \9 S6 b: F! X016 Y .0000
3 r- x! x3 n0 W  |$ |& K- t017 GR a 90.2 ^1 G& G* i' S3 g  p' P
018 >REF COODS
% y7 u2 T9 n. c8 S4 M, O.....9 p' U5 p8 t+ h6 D: C7 D% [/ E! I
下面是一些相关资料
3 X/ F8 U6 b( C 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万

积分

管理员

积分
9014266
发表于 2011-12-10 15:18:34 | 显示全部楼层
回复 4# christzyy
& ^  }! ^3 i1 ^4 V. `6 E: a8 f, ~& Q9 n' R6 x
/ U& N* Z6 V2 @: G6 b* `) ]
    这个后处理应该可以满足你的要求。你可以把生产的代码进行相关的上机测试即可
回复

使用道具 举报

6

主题

12

回帖

27

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014266
发表于 2011-12-11 01:44:59 | 显示全部楼层
回复 6# christzyy 0 [4 G$ {$ I6 _

7 _$ M  `1 R8 c! b, y4 u* |
0 \# C# K4 U& b  o4 a    工作量太大。不做
回复

使用道具 举报

8

主题

253

回帖

479

积分

中级会员

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

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2026-8-22 15:45 , Processed in 0.216165 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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