找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1287|回复: 7

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

[复制链接]

6

主题

12

回帖

27

积分

注册会员

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

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

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

×
本帖最后由 christzyy 于 2011-12-4 08:42 编辑 6 i  r4 E8 L1 D' B7 n( f* s
7 P& R, m" z2 p; d  _
1111111222222.jpg
8 F( {- n8 B6 ~2 T9 c这是谷歌翻译的:后处理器的软件,你可以去Mastercam的网站,并寻找到教育后处理器。 DM2800,你可以免费下载有一个......下面的计算机系统将能够工作的一次对话的语言编写的程序转移......0 E1 m, G9 j. l7 P/ {( N6 z
机床( s7 ~# e1 l/ e1 d
b.jpg
* x  u, v. `7 o/ S. w& k$ Q- L' J3 |! x& [1 ?; x7 Y' B
这是DYNA自家的代码 一种对话式高级编程语言- q! ^) G' N( ?9 D5 A) g
1;TD=0.1250% ^" M  X  V+ J; i. Q( s+ V& _
2;FR XYZ=10.0- w, Q( h0 b3 C3 M6 ]  u
3;SETUO>zcxyu8 n* Q1 o3 O$ C* P$ \* V# Q
4;Go X 0.50257 h2 F( b/ q: v' ~7 C5 ]
5;Y 2.0000! I) H5 G8 `8 R! W7 j0 ]
6;Go Z -0.0400+ ^# [7 O* r; O' U3 j, n
7;Go Y 2.6750
0 d3 v: O; o) T  m1 l/ p7 `" p2 ?8;Go X 0.6825
' q! Q9 l! {. B) f9;ZERO AT
1 L3 l: v4 l; {# w10; X 0.6825( g$ i7 n" ?4 c% E& f& q6 F3 n& V
11;Y 2.4850
: z8 i2 V; B1 \+ O12;GR a -90.000
: G  k( n6 e) [# G4 n0 n13;Go Y -0.29509 e: h& f3 b" x, j( U' i
14;ZERO Y
" R1 F/ B4 x  \) g+ F15:Go a -90.000& e9 J# x$ m2 ^5 M* X* _; a& a$ w
16;Go X -0.1800! q3 \$ p- L* Y7 i" o- J
17;Z>C" F! U+ F  `# d% W) V
18;>REF COODS
, ?$ b& a# e) }3 N19;Go X 1.2250/ S, J7 i. [4 _3 R
20:Go Z -0.0400! \4 s* ^- X  V( p, ?( O2 j2 d& U% }
21;Go Y 2.3346
0 ], `2 S  i5 U5 ^7 \* K: C22;ZERO XY8 A0 y" T6 [  `6 h$ W4 {
23:Go r 0.3700
4 A- P3 @4 n0 f$ `* s9 ~24;a 60.000$ w  b: f! K# p
25;Go r0.0000
2 U2 A! Z8 l- o& d4 l: L; }26;Go r0.3700) d. u2 W; P4 |' Y
27;a 120.000# z# v2 j% |6 s+ L' {) {) D
28;Z>C
: i6 J/ ?1 d0 I4 Y& a1 G7 m9 {29;>REF COODS
$ b6 R- @$ k. D5 ]6 {' b30;Go X 1.58252 ]6 F; F! k, Y& p: W+ y! e
31;Y 2.00000 A* d/ D/ ~- t. d3 W0 G( y1 N
32;Go Z -0.0400
+ _# @# ?* k3 q  y6 l( L# ~3 @+ e33;Go Y 2.6750
4 a7 u0 S0 s  k! j2 `34;Go X1.9525- y* }3 S" Z" m: o9 T' n. O8 [
35; Y 2.0000
4 u% E8 c5 v/ S: t! ?7 I36;Go Y2.67504 e: Z7 \6 M! ~/ {
37;Z>C: W* b2 |; n: M3 V% D
38;Go X 2.1225* A- f! J0 I! D; N8 J6 D8 k
39; Y 2.00004 s: ?- m0 T% _# Q' Y2 b/ N) v
40;Go Z -0.0400
9 w" P8 n" v! m- n5 v
+ ~: p2 F+ `, W5 X+ r, L我现在找不到这个后处理 愿意付费 以前一直学的是UG 现在忽然需要用Mastercam 实在措手不及 麻烦高手指点一下 那个版本的Mastercam最稳定 另外可不可以用UG做出刀路 然后再用Mastercam做后处理 谢谢

6

主题

12

回帖

27

积分

注册会员

积分
27
 楼主| 发表于 2011-12-4 08:20:37 | 显示全部楼层
本帖最后由 christzyy 于 2011-12-4 08:42 编辑
! x$ g0 y& l2 b* a( b; P! \& g1 R! k( G& B6 C1 ^
这是我的机床 刚买到 努力学习中5 v0 N' t# Y2 p* X' l% I6 R
链接发不上来 百度(DYNA MYTE 2800工业数控小铣)就能找到 超多图
* x1 _, m: g" L9 N+ h: G& a个人业余爱好 没事自己做做小零件 欢迎交流 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 编辑 / i4 x7 v8 R" ]6 _, C5 U  E

- s) v  }. k8 V9 y& A3 _% B不好意思全是E文 我有时间会翻译好 这里不是针对2800的 但和2800有千丝万缕的联系
9 D% `+ ~4 A2 j" V- C2 Z  d/ R1 S4 g代码的编号是从000开始到900结束 长代码也要按这个方式断开 开头是第几段编码 用(*** START INS ** 开头代码是不是必须这样我不确定) 结尾必须是(*** END NEWPART)(*** END)   *表示数字/ |- H; c; `- l) P# @
一楼的代码是我用软件编辑过 所以编号不对 发上来时忘记改回来了
& j- {: r* {. O4 ^. v1 R& `
- Y2 w. Q5 j- Z* n" CLine 849 - Shows start of program, inches mode, prog. no. 20
: c! v% h# ?4 K: ?. fLine 850 - Tool Dia. .125 in" x6 I$ K: I: C6 p  k8 q1 L' t
Line 851 - Feed Rate on X and Y axes to 16 in/min
# C$ B$ R/ w3 `: HLine 852 - Feed Rate on Z axis to 5 in/min& q# E2 M- e9 s2 @
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)
7 g! l3 v+ x) kLine 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)
3 V0 _( T/ w& ~8 hLine 855 - "GO Fast" (rapid traverse) to X = -.31258 G* m( S( w. _5 p; N0 l9 k
Line 859 - GO to Z = -.3750 (at defined feedrate)
2 @, l- k0 d5 ~2 C, U% aLine 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)0 a. `+ P% g) K6 g
Line 873 - turns off the coolant that was mysteriously never turned on using the COOLANT ON command.
- W+ q" ]3 N, K! J, e8 d( fLine 874 - raises spindle above clearance plane3 U& t. d  e4 Z
Line 875 - turns off spindle
' n! I7 o# C6 @/ c$ R/ Z! gLine 876 - shows where program ends and gets machine ready to run it again.( P/ x9 i5 |0 Y% n& q

* k, o# O* ]" G...../ _7 h8 ]( P1 ?
849 START INS 20
+ z3 M& y0 P9 ]4 f' [% c/ T850 TD = .1258 ~/ l3 d1 s7 \! P& a4 H
851 FR XY = 161 E1 P+ ^8 ^! Y# Y+ ^
852 FR Z = 5
5 S0 e0 _7 ]8 O853 SETUP >ZCXYU
7 O. n: D- y  U9 \3 l854 SPINDLE ON
8 R% j! P- i2 g  Z' X+ V855 GOF X-.31256 e. |- `( Q4 {! O6 {
856 GOF Y-1.1875
0 [8 O) H& A0 I857 GOF Z.1000
& P4 U; b* G, D5 R858 FR XYZ = 4.1* }3 m5 C9 A+ z3 G& }, `9 ^
859 GO Z- .3750' @7 a4 K3 X! d9 o9 r$ k$ _8 m% X+ B
860 GOF Z.10009 ]( {4 e' y. J- R/ J$ _
861 GOF X-1.62506 m; d+ g6 T2 I7 V# D5 _7 H
862 GOF Y-.4297
& x# \! I% Z: z, i863 FR XYZ = 4.1. b. _0 x3 s8 Z$ a. X
864 GO Y- .4297
$ Z* @0 l3 _5 B865 Z- .3750
+ C, l% n  X& l. e- ^9 H8 J- S- ]866 GOF Z.1000
6 Q! V0 O' b( K867 GOF X-1.6250
$ w- a: A) S5 j8 s868 GOF Y-1.9453; z' K+ `0 g) Y; C
869 FR XYZ = 4.1
1 B, x/ ~: E6 Z5 u- E870 GO Y- 1.94536 z% y! N" B+ U* o4 o( B* w9 n
871 Z- .3750
0 V+ _+ k' F1 j' m% s6 ]872 GOF Z.1000( A& ~2 N/ c! r% ~6 o" A+ Y* L
873 COOLANT OFF
: o# g+ x- W( g# Z874 Z>C6 C$ V+ }* B; Y9 L
875 SPINDLE OFF
- [" K  L4 p3 h+ Y0 a/ ~) @- t; N876 END NEWPART! K& {, y) u) [+ j3 u: ^5 I
.....! ^7 P1 F7 G/ O* e

3 o. W# B0 {% E  S+ y( ]Next segment of code show how to implement a tool change.
) h1 D' E) S: Eprogram is running until line 354, which raises the z axis all the way up.* S2 n9 h  }9 C
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
9 g$ V. f9 g4 w$ u' T6 X+ r2 ].....3 k( _8 R3 [2 }5 U# u2 g$ g9 A
352 Z- .3750 / l* w: K: r) r% P* ^
353 GOF Z.1000
$ R- |, Q$ ]4 C- |354 Z>ZMAX
9 I) S- V, F) I3 c1 u/ {355 SPINDLE OFF * S- s3 Z" c4 l( }5 L
356 HALT ( J. m4 A# t% M, K, v
357 SPINDLE ON
3 ?2 [; {) h# p! Z6 _& Q- z358 GOF Z.2500 ; o5 R9 Y7 M/ u! [7 K
359 GOF X5.0938
( ]* F% @' b" F/ @5 d( e  G+ y8 ].....
: l0 R# N; R+ A9 _. g1 X! F; l, I% e
This next segment show how circular interpolation can be specified.; |) J5 ?, r% E
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.
) Y7 y. A- r& |8 u2 m  `.....: F" C* B: h8 W
012 GO Z- .0938' m' `! ]" G+ T, e1 G
013 FR XYZ = 12.0
! }  a7 Y3 e7 \0 e3 L3 r: v' O5 C! H2 m014 ZERO AT
; [( Z5 J4 [! O  }7 ]) K1 ^. p( h! p8 H015 GO X .0000
! ?, n: ]9 M) H016 Y .0000/ B+ K( ~; ~  @2 X( W8 K
017 GR a 90.
$ `% H0 |& @9 c5 u) V  c018 >REF COODS
' _. g. v4 ^9 O( x( b2 P0 Z, @.....& P  m& `+ L  D. {! H
下面是一些相关资料
' R. `. C; ^1 c3 v 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 L& ?) R% w% s: }' v9 j+ L( R5 O6 Y) @9 P; D+ z0 _' B

8 i- E. m& A/ G. I" v7 r8 S9 ^    这个后处理应该可以满足你的要求。你可以把生产的代码进行相关的上机测试即可
回复

使用道具 举报

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 r" L9 m& c$ f- J4 _7 w( a8 m
, o/ z1 Z' C4 n
% z2 O+ }: D$ c* t4 D; q& U
    工作量太大。不做
回复

使用道具 举报

8

主题

253

回帖

478

积分

中级会员

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

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2026-8-14 12:47 , Processed in 0.138444 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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