iCAx开思网

标题: UG_POST OUTPUT "R" for FANUC [打印本页]

作者: jinly    时间: 2004-4-7 20:47
标题: UG_POST OUTPUT "R" for FANUC
Hi, experts
  
    I am developing a postprocessor for FANUC 18M ....and got the following problems:
  
   for moom_circular_move, I want to output the "R" instead of "I J", I am using R[$mom_arc_radius], and the output in correct format. but the problem is:
  
   When I am doing a cicular movement whose sweep angle (A) is greater than 180, then the machine will just go along the small arc (360 -A), which will cause serious problem, and hurt the part.
  
  so, in this case, it is better to use R = -$R, using the negative R value.
  
  Then the problem comes: How can i decide the sweep angle is greater or smaller than 180?  I can not find a parameter available, and how can I do the calculation?
  
  In CLSF file of IDEAS, we can see the Sweep angle for a circular move, is there a similar one in UG ?
  
  Here is BLOCK:
  
  BLOCK_TEMPLATE circular_move  
  {
       G_cutcom[$mom_sys_cutcom_code($mom_cutcom_status)]\opt
       G_motion[$mom_sys_circle_code($mom_arc_direction)]\opt
       G_mode[$mom_sys_output_code($mom_output_mode)]
       X[$mom_pos(0)]
       Y[$mom_pos(1)]
       Z[$mom_pos(2)]
       R[$mom_arc_radius]
#        I[$mom_pos_arc_center(0) - $mom_prev_pos(0)]
#       J[$mom_pos_arc_center(1) - $mom_prev_pos(1)]
#       K[$mom_pos_arc_center(2) - $mom_prev_pos(2)]
       F[$feed]
#      S[$mom_spindle_speed]
  }
  
  
  
   I am so worrying about this problem, Please advise as soon as possible!
  
  Thanks and have a nice day!
  
Best regards
作者: jinly    时间: 2004-4-8 09:53
For more details, Please advise:




欢迎光临 iCAx开思网 (https://www.icax.net/) Powered by Discuz! X3.3