找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1379|回复: 7

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

[复制链接]

6

主题

12

回帖

27

积分

注册会员

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

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

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

×
本帖最后由 christzyy 于 2011-12-4 08:42 编辑
9 Z. A, k$ L9 ]3 o( d5 V9 B, _9 J2 B& }- e; B
1111111222222.jpg / j8 H  }" x, i* v2 x
这是谷歌翻译的:后处理器的软件,你可以去Mastercam的网站,并寻找到教育后处理器。 DM2800,你可以免费下载有一个......下面的计算机系统将能够工作的一次对话的语言编写的程序转移......" s7 v* C, d5 l9 _. j
机床" @7 \4 p' |/ M. J; O" U$ S
b.jpg ( a5 a' W7 \2 p1 C( s4 |

6 [# H$ D1 l5 r9 _( g% q( S这是DYNA自家的代码 一种对话式高级编程语言
" a; Q+ H3 F% Q' C" A1;TD=0.1250& p* o" ~. s8 _& a: z( i
2;FR XYZ=10.0
; F0 A8 K3 o; v1 Z4 Z. U3;SETUO>zcxyu4 I; M7 X/ W- w$ O
4;Go X 0.5025) b- R4 \* n; I
5;Y 2.00002 n; e8 M8 {  E2 S/ e! A
6;Go Z -0.0400
- _( `! l* R! Y$ ]7;Go Y 2.6750
/ |1 o8 X8 V! i5 t2 o7 o' q8;Go X 0.6825
0 D  D+ h8 C% ]9;ZERO AT. e6 S% J- @5 l5 y5 a- N
10; X 0.6825
7 U, d8 X6 F: [. p11;Y 2.4850& }* {/ `, C( n! d: q* ^
12;GR a -90.0001 }8 n! _2 b: A9 N. w6 ^
13;Go Y -0.2950
+ ?7 ~7 l& B  _# n8 j# l% Z14;ZERO Y/ a! F0 X" u  w* P+ Z5 z
15:Go a -90.000
! O( @: T- W; O1 K$ v& h16;Go X -0.1800
3 [3 B  u( G  u) _. @17;Z>C/ s" e0 @$ n  {+ u3 f7 \
18;>REF COODS# h* K% n1 e' F0 N4 J# U1 S
19;Go X 1.2250
" ?1 t2 m0 X0 @7 ~5 Z5 C20:Go Z -0.0400( x! I- ?" M" }1 A2 V
21;Go Y 2.3346' f' x. ?, f5 l6 ?; t
22;ZERO XY8 P  N, k) I. y% a  L: {
23:Go r 0.37006 S% O. ?$ l3 L( q3 E
24;a 60.0009 `& g+ C  e) {' A$ i6 T! l8 h
25;Go r0.0000
4 T/ p) E5 N8 F26;Go r0.3700' E5 q8 H' u- ]; [- ]
27;a 120.0001 x# _( R9 v" r! `6 p5 M
28;Z>C
* K2 I% w* B7 X; h* t6 ~29;>REF COODS  f  h$ t) `+ ^1 x7 o
30;Go X 1.5825
( w. q/ @4 {9 `* H3 M31;Y 2.00009 d: M, ?7 h  S: W3 r" `' a- K+ \
32;Go Z -0.0400
( S7 L8 m, u5 Q7 C! g8 I33;Go Y 2.6750
+ ~; u6 S$ [* W% g7 @; E34;Go X1.9525/ ]6 R/ S3 O# x
35; Y 2.0000( K) H2 B2 u9 \) K2 ~. ?) ?
36;Go Y2.6750
0 @0 h) B- g, K) M  S" T% a! Z# J37;Z>C
4 P3 a, `) S( z* g) B0 h+ J38;Go X 2.1225! h; |. V7 y3 X$ l' x7 }1 {
39; Y 2.0000
5 b, C) ]  U; I' u& j40;Go Z -0.0400% Y( E6 `3 ^6 {

5 @* k- Q, v, e6 L0 t我现在找不到这个后处理 愿意付费 以前一直学的是UG 现在忽然需要用Mastercam 实在措手不及 麻烦高手指点一下 那个版本的Mastercam最稳定 另外可不可以用UG做出刀路 然后再用Mastercam做后处理 谢谢

6

主题

12

回帖

27

积分

注册会员

积分
27
 楼主| 发表于 2011-12-4 08:20:37 | 显示全部楼层
本帖最后由 christzyy 于 2011-12-4 08:42 编辑
, s: _+ G2 \. |$ h0 u) ?2 z* y. F* R; O0 q3 l8 D6 `
这是我的机床 刚买到 努力学习中3 P, U8 e6 y/ {( {% u2 R4 R
链接发不上来 百度(DYNA MYTE 2800工业数控小铣)就能找到 超多图8 U! U% K" A0 C. W  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 编辑
7 x! j; {2 m1 `3 a7 O  m, Z# D
不好意思全是E文 我有时间会翻译好 这里不是针对2800的 但和2800有千丝万缕的联系
0 |" z0 F( o$ ~" g3 h9 ~8 i3 M代码的编号是从000开始到900结束 长代码也要按这个方式断开 开头是第几段编码 用(*** START INS ** 开头代码是不是必须这样我不确定) 结尾必须是(*** END NEWPART)(*** END)   *表示数字
" J, ]7 |' L5 f( s5 a2 g1 v一楼的代码是我用软件编辑过 所以编号不对 发上来时忘记改回来了& y% X, Y+ h- T8 {' P
, c; f* K; G) c8 u+ l  s% t- x
Line 849 - Shows start of program, inches mode, prog. no. 206 T' i. a; a! l$ o% ]; h
Line 850 - Tool Dia. .125 in6 R6 o9 O7 L4 i1 v6 w
Line 851 - Feed Rate on X and Y axes to 16 in/min! Z5 `0 u$ L$ s* }* p0 o9 t
Line 852 - Feed Rate on Z axis to 5 in/min
, U5 }/ t1 b  O9 MLine 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)8 ]. N! p. x- Q" \* a9 i# p
Line 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)4 E/ y8 U0 A# r: c) H* o
Line 855 - "GO Fast" (rapid traverse) to X = -.3125' B) H0 \% w7 K% H  y
Line 859 - GO to Z = -.3750 (at defined feedrate)
5 S4 y$ D% L2 a$ o" Q5 V9 D9 yLine 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 m* M3 b+ X( ~# \
Line 873 - turns off the coolant that was mysteriously never turned on using the COOLANT ON command.
5 B5 [' g, @2 ^+ f7 m9 {* xLine 874 - raises spindle above clearance plane6 n! _' R8 J- ^
Line 875 - turns off spindle! ]: k- G: c5 X, P  A( F# I  x
Line 876 - shows where program ends and gets machine ready to run it again.6 W+ E2 u( F8 E6 J, a

3 Z$ f* ?0 O. t0 }6 w9 x, I. W# ^.....0 ~/ M. \1 q1 s, O& n8 f* ]
849 START INS 20! b) v4 |- p0 _$ j8 C+ q
850 TD = .125
. q7 M# T' {' x5 O2 R' Q851 FR XY = 168 f. z4 Y9 Z/ i7 ]% l, O
852 FR Z = 5, G- h& O7 x0 p) T" ?
853 SETUP >ZCXYU4 d7 ~: n/ q- g; O$ y
854 SPINDLE ON4 ^7 S; D. z3 m+ i* N' A, e
855 GOF X-.3125% N, s: K1 P6 x4 w
856 GOF Y-1.1875
9 @& l) S; z1 p  K857 GOF Z.1000
% |: V7 S. q3 |, y  W- X858 FR XYZ = 4.1
8 s) Z4 o# ^2 Y' W/ O859 GO Z- .37507 F) V6 [: `. I% Q8 J% z4 D
860 GOF Z.1000
' L6 q, H1 z5 S7 d! ]861 GOF X-1.6250( r( z$ h9 O8 h* f/ R
862 GOF Y-.4297$ I1 D9 [( [6 M' O1 [! O( k
863 FR XYZ = 4.1
+ e6 K; e' h0 @: j/ k+ F6 B- u864 GO Y- .4297
. U" y4 N- i4 j865 Z- .3750
) ^1 L) H8 w% b866 GOF Z.10003 c0 D8 K* k8 ^6 F# A
867 GOF X-1.6250
; E, m' F0 N$ T! {868 GOF Y-1.9453" g3 M5 U/ i4 w1 t9 o8 d
869 FR XYZ = 4.1
9 j6 S' ]! X2 E- o& }: B3 h; }9 E870 GO Y- 1.9453) g' u% U& ?. |
871 Z- .37500 b" q7 q' `: A8 W3 v: O% g
872 GOF Z.1000
) O& ~& M- l+ w; r5 d6 R5 h9 `' |873 COOLANT OFF' H7 o/ E$ ~9 J
874 Z>C( p& j+ I" _, m7 t
875 SPINDLE OFF0 O* p! C8 y) \$ d8 s  [1 M3 P3 }
876 END NEWPART
1 a; [9 L* m( `- W# |; P.....
% ]0 ^7 U0 }* q0 c$ P4 n, }/ a- ?, I
Next segment of code show how to implement a tool change.) p5 ]) F$ Z# M8 Q2 Y* k
program is running until line 354, which raises the z axis all the way up.& B; o; C8 N- R( P3 `) A
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
7 v7 z0 o7 N2 ?2 |; ~% P0 j, Y1 M.....- p8 b1 F* |' Y4 A' P
352 Z- .3750 9 l# q$ Q* f  f9 Q- s8 K
353 GOF Z.1000 ) t( o. N* A, b2 ^* ?
354 Z>ZMAX . Q7 t, x( S, F" ~
355 SPINDLE OFF
. _/ k. w( \  P/ d7 q. |+ c356 HALT 7 Q* [8 I. i1 b3 R4 F$ I5 `
357 SPINDLE ON 0 d3 p2 q" @  r
358 GOF Z.2500
3 ?4 v# ?# K- M$ Q# o; \359 GOF X5.09388 k" Z0 T6 N6 F- Z( |: K: o" H
.....  D& E) m% ^% b4 n# i! J
8 d6 p, v6 W6 T/ s6 t* E# V
This next segment show how circular interpolation can be specified.
; b7 d; ]0 S) w( C& v$ [- ?% B* o; T+ ystarting 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.9 y* ?. d! T* q3 l
.....7 t* ^" s0 D' G: V/ L; Q+ Z% i' k
012 GO Z- .0938
2 t9 ^7 m- p8 F5 P# Q013 FR XYZ = 12.0
: a. x6 |& l4 w3 R- N014 ZERO AT
& j! ?. u/ {1 u0 C, ]& H, X015 GO X .0000
, Y( L1 s& _6 O& g" Q- D016 Y .0000
. W  ]0 I# n  D3 Q! o; W% f017 GR a 90.
+ }" ~+ S8 E3 I% r5 A* z9 H018 >REF COODS
, O* k3 I) f8 }3 ~$ J.....
  C+ W3 I+ P" F! l下面是一些相关资料
/ N4 T$ l- m1 S0 g& F( a& { 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
- g/ T# c# Q- h" v7 j# ~" e5 x/ A. D4 Z7 K  L) h, R
, [4 V9 k# W4 R% D
    这个后处理应该可以满足你的要求。你可以把生产的代码进行相关的上机测试即可
回复

使用道具 举报

6

主题

12

回帖

27

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014271
发表于 2011-12-11 01:44:59 | 显示全部楼层
回复 6# christzyy
! h: V2 N, V! B9 w5 ]! \$ L8 f! C  z" p- ?+ F* K. W
. {$ ^9 j8 g% O' n) j/ b9 r2 i
    工作量太大。不做
回复

使用道具 举报

8

主题

253

回帖

483

积分

中级会员

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

使用道具 举报

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

本版积分规则

关闭

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

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

GMT+8, 2026-9-28 17:24 , Processed in 0.165084 second(s), 24 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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