找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1313|回复: 7

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

[复制链接]

6

主题

12

回帖

27

积分

注册会员

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

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

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

×
本帖最后由 christzyy 于 2011-12-4 08:42 编辑
) f0 @# f1 q  Q1 H* U2 m' h: A+ l& p; s- v0 C8 c, r+ l* O2 K
1111111222222.jpg " F6 N% S2 W+ y
这是谷歌翻译的:后处理器的软件,你可以去Mastercam的网站,并寻找到教育后处理器。 DM2800,你可以免费下载有一个......下面的计算机系统将能够工作的一次对话的语言编写的程序转移......0 i5 B2 t: C. q  h
机床
. C9 B2 E: U& t5 g b.jpg
- [' F) G, e$ M: z
9 u6 L2 G# ]1 ]2 z: ~这是DYNA自家的代码 一种对话式高级编程语言5 j! z% f" ]9 H6 J7 R$ X
1;TD=0.1250
& [% e6 w8 P9 f$ m; i2;FR XYZ=10.0( L5 j5 E& X; z; \% d. a
3;SETUO>zcxyu* B5 w" B* S4 S( p
4;Go X 0.50258 ~4 N, \% a% y/ `8 l  R
5;Y 2.0000
5 J+ z4 r% v3 f; X  ?6;Go Z -0.0400
" z2 z* c: `6 c; e$ D4 J& }( e7;Go Y 2.6750, `1 }- M, K, M
8;Go X 0.6825
# o) l: ?1 T  v6 h% m, I5 l0 \9;ZERO AT
) P1 ?6 P! ~- q5 N10; X 0.6825
3 P/ Y& F8 {0 z. T# l11;Y 2.4850
0 u0 ?. e' j! t" l! Y, J1 B/ S, w12;GR a -90.000
9 H: L  D) h+ }" P4 b13;Go Y -0.29508 ^" U3 e, ]1 Y
14;ZERO Y
/ [# e: ?( A. u& }0 g% T15:Go a -90.000
% k; S+ n  ~/ i" h16;Go X -0.1800" `) D9 V8 A1 V$ p' O) v% k
17;Z>C
$ y6 U# `3 O" f+ d$ M18;>REF COODS# f% ~5 F( u, G, o
19;Go X 1.2250
% m7 @$ A% ?( w20:Go Z -0.0400$ d) v- [: |. o- {6 |' q# G3 V
21;Go Y 2.3346
+ i( N' y0 L8 J) m- u22;ZERO XY
5 C* Y/ H0 Y! n' }7 E4 F1 v23:Go r 0.3700& U4 T( Y- [' ]5 C8 ~8 f
24;a 60.000
# ]$ N3 |: G4 k) J9 A25;Go r0.0000
7 D  p' V0 Y, B/ l26;Go r0.3700! h  U: T2 s% L) I( u$ {
27;a 120.000
) s! q# d- @* ]# w3 y7 r- V28;Z>C
9 s" ?/ u% V+ x3 w' o* J& Q29;>REF COODS4 t+ }- F! D( B7 }: V0 A
30;Go X 1.5825
+ d6 Y2 ?7 d+ A" x- o31;Y 2.00005 u$ N9 E, E% ]: r# z$ t5 r
32;Go Z -0.0400
: S% @; e4 e6 ^# `( g) D& _6 s33;Go Y 2.67500 \4 V+ F- _7 _
34;Go X1.95251 l( L3 u4 |, z6 L- q5 w4 T
35; Y 2.0000
$ C+ t0 F* {7 U1 w( X+ L36;Go Y2.6750  `; L: A: E3 m* E
37;Z>C1 ]  r( X( l" K0 n; I( y% |3 t+ N1 C
38;Go X 2.1225: A+ E$ r3 S& v! R1 y; f$ o) o! `
39; Y 2.0000& N+ e& M: q% D1 O
40;Go Z -0.0400
" t8 L2 ^) E+ ?: X+ k& U8 M' @! Q. S( T8 i  D
我现在找不到这个后处理 愿意付费 以前一直学的是UG 现在忽然需要用Mastercam 实在措手不及 麻烦高手指点一下 那个版本的Mastercam最稳定 另外可不可以用UG做出刀路 然后再用Mastercam做后处理 谢谢

6

主题

12

回帖

27

积分

注册会员

积分
27
 楼主| 发表于 2011-12-4 08:20:37 | 显示全部楼层
本帖最后由 christzyy 于 2011-12-4 08:42 编辑
1 q# o1 e  {+ J3 R" X& D
& s( ?9 v4 {4 k7 }% p% u这是我的机床 刚买到 努力学习中# H9 M! G8 M3 w7 N' i. G
链接发不上来 百度(DYNA MYTE 2800工业数控小铣)就能找到 超多图. o, T0 s; r  Q: J+ w5 i
个人业余爱好 没事自己做做小零件 欢迎交流 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 编辑
. ^: s2 S- Q2 @3 d" f5 Z) L) d; L: F6 g& K# ~( k+ [+ H, b
不好意思全是E文 我有时间会翻译好 这里不是针对2800的 但和2800有千丝万缕的联系: t! U2 t- `6 \5 w5 }) b
代码的编号是从000开始到900结束 长代码也要按这个方式断开 开头是第几段编码 用(*** START INS ** 开头代码是不是必须这样我不确定) 结尾必须是(*** END NEWPART)(*** END)   *表示数字1 K+ n1 i) F" p& C
一楼的代码是我用软件编辑过 所以编号不对 发上来时忘记改回来了
0 P2 D  a9 W! W: D6 s7 I/ P
+ J6 t0 d! o2 @- o7 C! E& lLine 849 - Shows start of program, inches mode, prog. no. 20: k+ n) C$ ]7 U2 R; r% I: i) p
Line 850 - Tool Dia. .125 in
) b" Z6 V( U' aLine 851 - Feed Rate on X and Y axes to 16 in/min
8 k0 b. s  r. JLine 852 - Feed Rate on Z axis to 5 in/min; T) C& r% I  Y& _: n5 v9 Z2 b
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)% y1 z; n' a+ }0 B: \
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)- q, |2 o/ Z/ ^9 Z
Line 855 - "GO Fast" (rapid traverse) to X = -.3125
3 }! C* ?: q+ z+ n$ [1 `Line 859 - GO to Z = -.3750 (at defined feedrate)$ L4 e; z6 A" ^( K# S$ V
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)3 ]$ {' ^  {1 S) e
Line 873 - turns off the coolant that was mysteriously never turned on using the COOLANT ON command.  Z0 g+ v" e. u( J4 k! y% ?  A
Line 874 - raises spindle above clearance plane5 Q+ U( t8 {3 i# B) Q4 [) `
Line 875 - turns off spindle, v# }  [, T$ G" _
Line 876 - shows where program ends and gets machine ready to run it again.
% v8 l' x. }/ z6 U/ ?, h
/ @  M/ Q4 X  ^+ K/ l.....
. X$ {6 m5 m/ r" L( O849 START INS 20
' \3 }4 h$ T: @850 TD = .125
( D) r$ J+ T$ ?6 G# _851 FR XY = 16; U2 \! d5 b; \) |2 g
852 FR Z = 5
: H5 ^; i* X9 ~8 z" e5 n4 ]853 SETUP >ZCXYU5 u7 N0 L0 D  {( [2 ^8 S
854 SPINDLE ON
5 d% Y, k6 f5 T" r4 Z9 y* N8 o- A855 GOF X-.31250 r* W- q' B: a& {. d6 R' U
856 GOF Y-1.1875
2 e! _8 e+ t- y4 W8 Q* [& x! E9 ]% O857 GOF Z.1000& j( x9 g4 E, I& [
858 FR XYZ = 4.1. M- A' y) u. Q" c7 T- f
859 GO Z- .3750
! r* z; |" N2 T- j860 GOF Z.10009 {" l$ t8 \, y% ~' l7 k6 ?
861 GOF X-1.62502 y+ y8 `( U# @& _5 [, w: D0 N  C
862 GOF Y-.42970 T* [* q8 `: P) W! E0 j
863 FR XYZ = 4.1
$ s0 d2 _8 V0 f  k% E864 GO Y- .4297/ e' H& v' ^/ M- s5 R) r
865 Z- .37503 d# X( z/ r) }$ f4 ]
866 GOF Z.1000
* r$ t, L+ m+ R3 K867 GOF X-1.62502 o* s6 p; S9 K2 X% I
868 GOF Y-1.9453( X6 p1 C  M' H3 I; s
869 FR XYZ = 4.1
5 X" d& e% @, {2 O* v& z870 GO Y- 1.9453
0 k+ z* h. a5 e' `( @/ H% H871 Z- .3750$ u( k% }* t+ d+ L/ D8 H' h
872 GOF Z.1000
9 W/ A2 ]8 Q" H$ Q- ~0 _) v, m873 COOLANT OFF
3 `2 s. F/ S# E* G! S874 Z>C5 ~' z% k+ A! w' U, ]' }2 n
875 SPINDLE OFF
. [! l' L4 x2 U, {5 c876 END NEWPART5 e/ K. e1 c; ~& b' ?8 ~
.....+ D* I8 ]3 c6 T! X5 B9 y3 B/ s
- D- R6 I" Z1 W* q* P% t$ O0 V
Next segment of code show how to implement a tool change.
- V1 p: A. C6 s$ C5 w  w5 r, _2 Yprogram is running until line 354, which raises the z axis all the way up.5 I8 q) S3 \- I, W0 B9 g& ~% l
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% B  k! o5 p; I9 a8 o5 U5 e: q
.....- X9 e7 M/ l1 h0 y- e
352 Z- .3750 9 Y: A8 g! A# c
353 GOF Z.1000
% [2 K' f+ i+ g) T& l354 Z>ZMAX   F6 C# \; d" G" ?; w
355 SPINDLE OFF # O* E( W! K! B7 P* q
356 HALT
/ j/ i$ U! f# l& J" ^. R, b+ t357 SPINDLE ON
7 m# G+ t" V2 [+ }: ~) |( [358 GOF Z.2500
% M$ z0 O' l0 K4 U$ @. S359 GOF X5.0938
7 S$ e* I$ \5 V% h.....- Q: I% J; Z2 d/ ~( Y1 `

% H0 z/ [3 T: c( e: i8 o) eThis next segment show how circular interpolation can be specified.
+ [+ p8 V" h3 q( k3 T( s8 [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.- i( x. `* R4 z2 q
....." O$ v! D& @$ t; s7 q# b: J7 O! S
012 GO Z- .0938$ n3 a4 z6 G( K
013 FR XYZ = 12.04 z. w8 d* L- ]
014 ZERO AT
  a7 t2 h! |: R1 B. e) O015 GO X .0000
8 t  L4 B3 b: B2 N- x) o# \& P; k016 Y .00006 T  O% A0 O+ e( Z- v' F0 y. F
017 GR a 90.7 ~9 f; A5 T* ]$ g! }
018 >REF COODS% v8 [! E  J- ]# b& |7 B
.....( H' C$ V1 [- K
下面是一些相关资料$ F  f' w0 Q/ @6 p# u2 U; X, r
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
  y" t- A' f2 q. z6 K4 L1 V3 y2 \
& v6 h" b) Z; l2 f" {* i) i
$ m! X9 i9 J- X- z. O* _5 u8 X    这个后处理应该可以满足你的要求。你可以把生产的代码进行相关的上机测试即可
回复

使用道具 举报

6

主题

12

回帖

27

积分

注册会员

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

使用道具 举报

433

主题

5759

回帖

901万

积分

管理员

积分
9014266
发表于 2011-12-11 01:44:59 | 显示全部楼层
回复 6# christzyy
& b& n8 I$ D! Z) m- ?' @2 p) J- c! V% [4 K4 y: R. O
; f/ }8 V8 l* ^+ R  Q
    工作量太大。不做
回复

使用道具 举报

8

主题

253

回帖

479

积分

中级会员

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

使用道具 举报

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

本版积分规则

关闭

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

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

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

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

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