|
|
发表于 2011-8-8 21:04:03
|
显示全部楼层
mastercam 5轴处理的坐标算法与一般的算法不同.主要考虑有以下几点,这是个基本的方法- ?: ?! X ~' q/ y
1.机器的4,5轴模式
, G( K0 W0 c8 l, N% \) y9 q) \5 Nmastercam提供了6个5轴的方案.在使用5轴后处理时,你必需要清楚你的机器4,5的模式.如下
8 {# X/ T) x7 q3 Q! v- e. h7 @4 k" Z; ?4 C2 D. u7 ]7 C4 Q
mtype : 2 #Machine type (Define base and rotation plane below)
% D- J! s6 i2 E$ c! p8 L4 s #0 = Table/Table1 P u3 `+ I6 A: w+ y! h. k, r
#1 = Tilt Head/Table S1 P+ O( _' ^' X# v% U5 f7 a
#2 = Head/Head% o7 B) h. B9 @
#3 = Nutator Table/Table; C4 b- Z; i" u
#4 = Nutator Tilt Head/Table" }3 x, N! G6 f S9 N; A' k2 d
#5 = Nutator Head/Head$ ]# P) C* ^4 p0 q# { u" ?7 o8 `6 S+ m
2.Z轴及刀具长度的计算方式:* w: Q; P, V7 k$ S5 ?% \
use_tlength : 1 #Use tool length, read from tool overall length
- y0 C. _' Q" ~0 Z #0=Use 'toollength' var, 1=Mastercam OAL, 2=Prompt/ d# \0 @& o' P7 A9 }" w' G- z3 K
toollength : 0 #Tool length if not read from overall length
2 O3 k+ L/ r- v vshift_z_pvt : 0 #Shift Z by tool length, head/head program to pivot (Z axis only)
2 q# h: s3 g+ j& l# a5 ^7 A #0=Pivot, 1=Pivot-Z, 2=Tool Tip Programming (without zero length); f& u$ t; h! Z3 n
#Option 2, So we can still take advantage of brk_mv_head feature
6 G( u3 }8 {, [0 Y- m3.摆轴的长度计算' I% u6 O; P% b. U
saxisx : 0 #The axis offset direction?
8 i' L7 t- r* j. F! h+ rsaxisy : 0 #The axis offset direction?5 u/ Z+ h1 n! U) o
SAXISZ : 0 #FOR CHINA The axis offset direction?
& `3 y4 b" t. D7 t' e' j
/ ?1 S4 S( A6 \+ V8 V* q只要把以上几点整清楚了就好办了. |
|