powermill后处理编写5轴_第1页
powermill后处理编写5轴_第2页
powermill后处理编写5轴_第3页
powermill后处理编写5轴_第4页
powermill后处理编写5轴_第5页
已阅读5页,还剩12页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、5轴主轴头选项文件设置 ( Up dated 31/01/2001 )以下链接给出的是一个5轴主轴头范例图示 :-  (  主轴头回转轴  ) 第4旋转轴和第5旋转轴要求 下面是多轴旋转加工需在选项文件中定义的内容。 :-    ( 范例中定义了三个主旋转轴, A , B , 和 C ,但实际应用中多旋转轴加工系统仅会使用其中两个。 )         define format ( A B C )    # 内建源文件中可能已经定义

2、            metric formats             leading zeros      = false             trailing zeros   

3、    = true             decimal point      = true             decimal places    =   3       

4、0;     imperial formats             leading zeros      = false             trailing zeros       = true   

5、          decimal point      = true             decimal places    =   4         end define     

6、        word order  =  ( + A B C )   # 仅当内建字排序列表中间没有时需要            block order = true                # 不考虑内建排序列表,使用

7、"define block xxx. " 排序         define keys             azimuth axis      =  C            #  第4旋转轴通常为方位角 

8、 ( 立柱回转 )             elevation axis    =  B            # 第5回转轴通常为仰角 ( 主轴回转  )         end define      &#

9、160;      # " A, 和 /或 B, 和 /或 C " 均需插入到 Rapid 快进和 Linear 线性程序段中,其和对齐轴相关。  ( 范例图示,B 绕Y 旋转,C 绕 Z 旋转)         define block move rapid             N ; G1 ; G2 ; G3 ; G6 ; X ;

10、 Y ; Z ; B ; C ; S ; H ; M1 ; M2         end define         define block move linear             N ; G1 ; G2 ; X ; Y ; Z ; B ; C ; F ; M1 ; M2      &#

11、160;  end define 旋转轴参数设置 以下参数需包含在旋转轴选项中。     spindle azimuth rotation     = true   # 旋转工作台缺省为 false     spindle elevation rotation  = true   # 旋转工作台缺省为false 上面定义了 立柱column / 主轴spindle 是回转轴。     azimuth axi

12、s parameters    =  ( 0   0   0    0   0   1  )     elevation axis parameters =  ( 0   0   0    0   1   0  ) 在此,两个轴的头三位数字都设置为  0  0

13、  0 ,它们通常是为工作台保留。 而主轴方位角  spindle azimuth 和仰角偏置 elevation offsets 通过 azimuth  和  elevation centre 参数设置。     azimuth centre                 =  (  0.  0.  0. 

14、; )        #  通常不会在方位角方向出现偏置 )     elevation centre              =  (  0.  0.  180.5  )  #  Z轴上偏置 180.5mm Z 第二组的三个数字定义工作台旋转时旋转轴是绕X轴还是绕Y轴或是绕Z轴旋转。

15、(方位轴和仰角轴不能同时对齐于同一轴。   方位角是主对齐角 )    ) 由此我们知道,上述范例表示了一个方位角绕Z轴旋转 ( 矢量 0. 0. 1. ),仰角绕Y轴旋转( 矢量 0. 1. 0.) 的机床。 ( 注 1 :-  这些数字可写成 ( 0. ) 带点或( 0 ) 不带点。 ) ( 注 2 :-  有些机床控制器可能会使用一些他们自己特有的代码将回转中心虚拟在刀尖中心。这种情况下请将方位角中心偏置elevation centre offset设置为零 。 额外参数 

16、60;       azimuth axis units             =  degrees    # 常规单位( 缺省可能为 none )         azimuth axis direction      =   posi

17、tive    # 需要的常规旋转方向 ( 缺省可能为 none )         elevation axis units          =  degrees    # 常规单位 ( 缺省可能为 none )         elevation axis direction 

18、60; =  positive    # 需要的常规旋转方向 ( 缺省可能为 none )         pcs origin                          =  (  0  

19、0   0    0   0   0  )  # ( 缺省, 仅用在某些5轴水平主轴对齐中 )                            # Azimuth Min   Max. 

20、0;  Elev'n Min    Max.     Tol.   Moves         rotary axis limits  = ( -99999  99999     -99999     99999     0.1    

21、60; 1  )    # 缺省 值,virtually 无限制回转 ( 设置范例 )        rotary axis limits  = (  -360.0    360.0    -110.0    110.0      0.1      4  )  

22、; # 主轴方位角立柱Spindle Azimuth Column 回转限制在任意方向一圈,主轴倾斜仰角 回转限制在 +/- 110 度。双边均为零 垂直Vertical ) 公差值 ( Tol. ) 是Ductpost在移动次数设置中保持的角度偏移公差。相应地保持公差和移动次数到最高和最低值可得到好的加工质量。  ( 从 DP1331 开始,移动功能 ( 最后的数字 ) 被" linearise multiaxis moves = true " 取代,它将自动调整移动次数,以满足公差设置。 ) ( 注 3 :-  在此我们

23、假设立柱 Column 是垂直的,刀具点垂直向下于C 0 , B 0 ,                      或立柱 Column 是水平的,刀具点水平于C 0, B 0 。                   &

24、#160;  如果立柱 Column 是水平的且 B 0 是垂直相似或向下,请于 Delcam Support 联系。) 请同时参考5-轴主轴范例 返回 :-  顶部  :  参数旋转5轴范例( 最新更新  24/02/2006 未完成 )以下范例是多轴加工需要的典型最小定义。某些格式如果已经在源代码中定义,这些格式就不再需要。因此事先检查一下,避免在选项文件中增加一些不必要的额外的内容。 5 轴加工也许需要比下面范例中给出信息更完整的信息,具体需要什么样的信息和控制器类型和控制器功能有关。本节最后部分对这方面内容做了一些阐述。 1/

25、   5轴工作台    2/   5轴主轴头和工作台联动    3/   5轴主轴头 4/  5轴45度, 回转头 ( DMG - DMU*P 系列 ) 5/  5轴 45度,回转工作台 ( DMG - DMU*V 系列 )配置参数1/ 5轴工作台      Azimuth 方位角倾斜工作台(A) 绕 X 轴旋转,Elevation 仰角工作台 (C)绕Z 轴旋转,(A)零 对齐于Z 轴  define w

26、ord M5address letter= “M”address width= 1field width= 2modal end define  define word M6address letter= “M”address width= 1field width= 2modal end define         define format ( A B C )#源文件中 A 没能正确定义。field width= 8modal metric formats   

27、0;        decimal point    = true             decimal places  = 3 trailing zeros= falseleading zeros= falseimperial formats           

28、decimal point    = true             decimal places  = 4trailing zeros= falseleading zeros= false        end define          word order  =  (

29、 +  A  C  )          define keys             azimuth axis     = A             elevation axis   = C  

30、       end define define codes#elevation clamping codes# 其它地方另行处理 ( 查看 Clamping )clamp on = M5 11clamp off = M5 12#azimuth clamping codesazimuth clamp on = M6 21azimuth clamp off = M6 22 end define         spindle azimuth rotation

31、    =  false         azimuth axis units          =  degrees         azimuth axis direction      =  positive    

32、0;    azimuth axis parameters    =  ( 0.0  0.0  0.0  1  0  0 )      # RTC 零。 查看下面的注-1   ( 类型 A )    或         azimuth axis parameters  =  ( 0.0 

33、0.0  55.0  1 0  0 )     # RTC   零点之上 55mm 。查看下面的注释  ( 类型 B )     或         azimuth axis parameters  =  ( 0.0  0.0 -55.0  1 0  0 )     # RTC -零点之下

34、 55mm 。查看下面的注释  ( 类型 C )         spindle elevation rotation  =  false         elevation axis units        = degrees         elevation axis d

35、irection     =  positive         elevation axis parameters  =  ( 0.0  0.0  0.0  0  0  1 )         linear axis limits         

36、 =  ( -1750.0  1200.0  -875.0  875.0  -250.0  250.0  )         rotary axis limits         =  (-95.0  35.0  -3600.0  3600.0    0.01    &

37、#160; 1  )   initial tool vector = ( 0 0 1 )# 主轴和Z轴对齐。 缺省 workplane angles =  none# 查看下面的注释-6         multiaxis coordinate transform  =  true          linearise multiaxis moves    

38、       =  true      retract at angular limit               =  true    # 缺省  = false        withdrawal amount &

39、#160;                 = 100.0         integer 3                       

40、           = 1          define block move rapid            N ; rapid ; G6 ; x coord ; y coord ; z coord ; azimuth axis ; elevation axis ; S ; H ; M1 ; M2  

41、       end define          define block move linear            N ; linear ; G2 ; x coord ; y coord ; z coord ; azimuth axis ; elevation axis ; tool radius ; feedrate ; M1 ; M2 

42、0;       end define  # This is the minimum requirement, it could well require additional embellishment to meet certain functions.#  It is not essential to have the rotary axes in the Rapid block as it isnt used for multi axis working. NOTE : For Heidenhai

43、n use G1 in place of “ rapid ” and “ linear ”, leave out G2, and us RR instead of “ tool radius ”( 返回顶部 )2/  5轴主轴头和工作台联动         回转刀具主轴(B) 绕Y回转,工作台C 绕 Z 旋转,B 为零 ( 垂直)   define format ( A B C  )field width= 8modal metric formats   

44、         decimal point    = true             decimal places  = 3 trailing zeros= falseleading zeros= falseimperial formats          

45、60; decimal point    = true             decimal places  = 4trailing zeros= falseleading zeros= false        end define          word order = ( + B C&#

46、160; )          define keys            azimuth axis   = B            elevation axis = C         end define  &#

47、160;       spindle azimuth rotation   =  true         azimuth axis units          =  degrees         azimuth axis direction  

48、 =  positive         azimuth centre                 =  ( 0.0   0.0  185.56  )        # 查看下面的注释-2     

49、;    azimuth axis parameters   =  ( 0.0  0.0  0.0  0  1  0 )          spindle elevation rotation =  false         elevation axis units     &

50、#160;  = degrees         elevation axis direction =  positive         elevation centre               =  ( 0.0  0.0  0.0  )  &

51、#160;      elevation axis parameters =  ( 0.0  0.0  0.0  0  0  1 )          linear axis limits          =  ( -1750 0  1200.0  -875.0  875.0&

52、#160; -250.0  250.0  )         rotary axis limits         =  ( -110.0   110.0  -3600.0  3600.0    0.01      1  )   initial tool vector = ( 0

53、 0 1 )# 主轴对齐于Z轴。 缺省 workplane angles =  none# 查看下面的注释-6         multiaxis coordinate transform  =  true         linearise multiaxis moves           =  true mini

54、mise multiaxis retraction = true        retract at angular limit               =  true    # 缺省  = false         withdrawal amount 

55、                  = 100.0         integer 3                       

56、;           = 1         define block move rapid            N ; G1 ; G6 ; x coord ; y coord ; z coord ; azimuth axis ; elevation axis ; S ; H ; M1 ; M2   &#

57、160;     end define           define block move linear            N ; G1 ; G2 ; x coord ; y coord ; z coord ; azimuth axis ; elevation axis ; tool radius ; feedrate ; M1 ; M2  

58、0;      end define  # This is the minimum requirement, it could well require additional embellishment to meet certain functions.#  It is not essential to have the rotary axes in the Rapid block as it isnt used for multi axis working. NOTE : For Heidenhain use

59、G1 in place of “ rapid ” and “ linear ”, leave out G2, and us RR instead of “ tool radius ” ( 返回顶部 )3/  5轴主轴头          回转主轴头(C) 绕 Z 回转,回转刀具(B) 绕 Y 回转,(C) 为零 对齐于 Y 轴  define format ( A B C  ) field width= 8modalmetric formatsdecima

60、l point    = truedecimal places  = 3trailing zeros= falseleading zeros= falseimperial formatsdecimal point    = truedecimal places  = 4trailing zeros= falseleading zeros= false        end define      

61、    word order  =  ( +  B C  )          define keys            azimuth axis   = C            elevation axis = B 

62、60;       end define          spindle azimuth rotation    = true         azimuth axis units          =  degrees    

63、     azimuth axis direction       =  positive         azimuth centre                 =  ( 0.0  0.0  0.0  ) 

64、60;       azimuth axis parameters   =  ( 0.0  0.0  0.0   0  0  1 )          spindle elevation rotation  = true         elevation axis units  

65、;      = degrees         elevation axis direction     =  positive         elevation centre               =

66、0; ( 0.0  0.0  193.25 )        # 查看下面的注释-3         elevation axis parameters =  ( 0.0  0.0  0.0   0 1  0 )          linear axis limits   

67、60;      = ( -1750 0  1200.0  -875.0  875.0  -250.0  250.0  )         rotary axis limits         = ( -200.0  320.0  -100.0  100.0    0.1

68、0;     1  )   initial tool vector = ( 0 0 1 )# 主轴对齐于Z轴。 缺省 workplane angles =  none# 查看注释-6        multiaxis coordinate transform  =  true         linearise multiaxis moves  &

69、#160;        =  true 或false        retract at angular limit               =  true    # 缺省  = false minimise multiaxis retraction =

70、 true        withdrawal amount                   = 100.0         integer 3           

71、                       = 1          define block move rapid            N ; rapid ; G6 ; x coord ; y

72、coord ; z coord ; azimuth axis ; elevation axis ; S ; H ; M1 ; M2         end define         define block move linear            N ; linear ; G2 ; x coord ; y coord ; z coord ; azi

73、muth axis ; elevation axis ; tool radius ; feedrate ; M1 ; M2         end define  # This is the minimum requirement, it could well require additional embellishment to meet certain functions.#  It is not essential to have the rotary axes in the Rapid block

74、 as it isnt used for multi axis working. NOTE : For Heidenhain use G1 in place of “ rapid ” and “ linear ”, leave out G2, and us RR instead of “ tool radius ”( 返回顶部 )4/   5轴 45度, 回转头 / 旋转工作台 ( DMG - DMU*P 系列 )  查看DMG 动画           

75、  回转头(B) 绕ZY轴旋转45度,仰角工作台(C) 绕Z 旋转,(B) 为零 ( 主轴头垂直 ).             ( 这种机床通常使用 Heidenhain 控制器 -也使用 Siemens 或 MillPLUS 控制器 )   define format (  B C  ) field width= 8modalmetric formatsdecimal point    = truedecimal

76、places  = 3trailing zeros= falseleading zeros= falseimperial formatsdecimal point    = truedecimal places  = 4trailing zeros= falseleading zeros= false        end define          word order  =

77、60; ( +  B C  )          define keys            azimuth axis   = B            elevation axis = C        

78、end define          spindle azimuth rotation   =  true         azimuth axis units          =  degrees         azimuth ax

79、is direction      =  positive         azimuth axis parameters  =  ( 0.0  0.0  0.0   0  1  1 )    #  注意 两个轴和其符号        azimuth cent

80、re                =  ( 0.0  0.0  0.0  )#        azimuth centre                =  ( 0.

81、0  0.0  329.22  )          # 查看下面的注释-4         spindle elevation rotation  =  false         elevation axis units       

82、= degrees         elevation axis direction     =  positive         elevation axis parameters =  ( 0.0  0.0  0.0   0  0  1 )        

83、0; linear axis limits          =  ( -710 0   710.0  -600.0  600.0  -325.0  325.0  )         rotary axis limits         =  (  

84、 0.0  180.0  -3600.0  3600.0    0.1      1  )   initial tool vector = ( 0 0 1 )# 主轴对齐于Z轴。 缺省 workplane angles =  none# 查看下面的注释-6       multiaxis coordinate transform  =  true   

85、60;     linearise multiaxis moves         =  true 或 false        retract at angular limit             = true     &#

86、160;   withdrawal amount                 = 100.0         integer 3                  &

87、#160;             = 1          define block move rapid            N ; G1 ; G6 ; x coord ; y coord ; z coord ; azimuth axis ; elevation axis ; S ;

88、 H ; M1 ; M2         end define                             #  It is not essential to have the rotary axes in the Rapid block

89、.         define block move linear            N ; G1 ; x coord ; y coord ; z coord ; azimuth axis ; elevation axis ; RR ; feedrate ; M1 ; M2         end define # This is the m

90、inimum requirement, it could well require additional embellishment to meet certain functions.#  It is not essential to have the rotary axes in the Rapid block as it isnt used for multi axis working.( 返回顶部 )5/    5轴 45度, 回转和旋转工作台 / 垂直主轴 ( DMG - DMU*V 系列 )  查看DMG 动画  

91、0;          回转方位角工作台Swivel Azimuth Table (B) 绕ZY轴旋转 45 度,旋转仰角工作台 Rotary Elevation Table (C) 绕 Z 轴旋转,B 为零 ( 工作台水平Table Horizontal).             ( 这些机床通常使用 Heidenhain 控制器 - 也使用 Siemens 或 MillPLUS 控制器 )

92、         word order  =  ( +  B C  )          define keys             azimuth axis     =  B      

93、;       elevation axis   =  C         end define          spindle azimuth rotation =  false         azimuth axis units =  deg

94、rees         azimuth axis direction =  positive         azimuth axis param =  ( 0.0   0.0   0.0    0   1 -1  )   # 注意 两个轴和符号。    &

95、#160;   azimuth axis param =  ( 0.0   0.0   159.325    0   1 -1  )   # MillPLUS          spindle elevation rotation   =  false       &#

96、160; elevation axis units = degrees         elevation axis direction =  positive           elevation axis param  =  ( 0.0   0.0   0.0    0   0  

97、1  )  # 查看下面的注释-5          linear axis limits          =  ( -500.0    500.0  -500.0  500.0   -325.0   325.0 )         ro

98、tary axis limits         =  (  -7.0  180.0   -7200.0   7200.0    0.1   1  )   initial tool vector = ( 0 0 1 )# 主轴对齐于Z轴。 缺省 workplane angles =  none# 查看下面的注释-6     &#

99、160;   multiaxis coordinate transform  =  false         linearise multiaxis moves          =  false         retract at angular limit    

100、0;         =  true        # 缺省  = false         withdrawal amount                  = 100.0

101、         integer 3                                 = 1          d

102、efine block move rapid            N ; G1 ; G6 ; x coord ; y coord ; z coord ; azimuth axis ; elevation axis ; S ; H ; M1 ; M2         end define         define block move linear .i

103、f ( Toolpath5axis ) if ( swb ) N ; G1 ; M3 128 ; “ ; Heidenhain RTCP ON CODE” N ; G1 ; M4 126 ; “ ; Heidenhain TAKE Shortest Rotation Path” unset swb end if           N ; G1 ; x coord ; y coord ; z coord ; azimuth axis ; elevation axis ; RR ; feedrat

104、e ; M1 ; M2 end if        end define  # This is the minimum requirement, it could well require additional embellishment to meet certain functions.#  It is not essential to have the rotary axes in the Rapid block as it isnt used for multi axis working.( 返回顶部 )注下面的这些注释包含了上面范例中的指出多个问题,但很不全面,因为每种类型的5轴加工需根据其自身情况来处理,需仔细周全地根据特殊的处理器和用户需要进行专门处理。 1a/    类型 A ,没有定

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论