找回密码 注册 QQ登录
开思网工业级高精度在线3D打印服务

iCAx开思网

CAD/CAM/CAE/设计/模具 高清视频【积分说明】如何快速获得积分?快速3D打印 手板模型CNC加工服务在线3D打印服务,上传模型,自动报价
打印 上一主题 下一主题

【推荐】UG后处理的问题提问区

[复制链接]
111
发表于 2004-9-29 17:28:37 | 只看该作者
你压缩后作为附件贴上去
112
发表于 2004-9-30 08:31:29 | 只看该作者
WVAE版主:  
我将*.def  *.pui *.tcl压缩后作为附件贴了上去

本帖子中包含更多资源

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

x
113
发表于 2004-9-30 09:01:04 | 只看该作者
  
  
  确实是选择里的公差不对!  
  还有UG里象你这样选择是有问题的  
  应该在交线处做一个小圆弧的,R0。01 [/quote]
  
我已经把成链公差改为0.01了,可还是报警,你说的要做一个小圆弧,作了之后,我选择驱动面时还要选择这个我做的小R吗?斑竹你会用UG的车削模块吗?还有它的后置处理程序吗?我想问一下,如何让生成出来的车程序,用直径表示,我用UG生出来的程序都是半径值呀???
114
发表于 2004-9-30 10:40:56 | 只看该作者
ws132 wrote:
  
      
  确实是选择里的公差不对!   
  还有UG里象你这样选择是有问题的   
  应该在交线处做一个小圆弧的,R0。01

  
  我已经把成链公差改为0.01了,可还是报警,你说的要做一个小圆弧,作了之后,我选择驱动面时还要选择这个我做的小R吗?斑竹你会用UG的车削模块吗?还有它的后置处理程序吗?我想问一下,如何让生成出来的车程序,用直径表示,我用UG生出来的程序都是半径值呀??? [/quote]
  
1.小圆弧,作了之后,选择驱动面时还要选择
2.UG的车削模块,在后处理里改成直径输出就可以了
  
UG里所有机床类型的后处理我都做过的,MILL,LATH,WEDM,全能满足要求的,如有问题则是你的后处理没做好的原因
呵呵~~~
115
发表于 2004-9-30 10:44:10 | 只看该作者
wuweiping wrote:
WVAE版主:   
  我将*.def  *.pui *.tcl压缩后作为附件贴了上去  

  
兄弟,你做的后处理,机床格式是对的,四轴机床,X Y Z A
  
细节上还不完善,希望你继续改进工作,有问题直接提出来
116
发表于 2004-9-30 22:53:58 | 只看该作者
wave wrote:
   
  
  前年就做好了  
  你需要?

  
WAVE斑竹真是厉害!能让小弟见识一下PUI文件吗?让我们也学习学习!
117
发表于 2004-10-5 13:34:08 | 只看该作者
请教WAVE版主,我用圆弧输出为R的后处理(自己在原3轴IJK的基础上改的),可为什么G3输出时有时会在某一段没有R,只有XY啊,G2正常,一直未找到原因,望版大指点,谢了。
118
发表于 2004-10-6 17:17:01 | 只看该作者
已自己搞定了。
119
发表于 2004-10-6 19:04:39 | 只看该作者
請求助  版大 要改那才有
N1
N2
N3
N4
.
.
.
##############################################################################
# Description
#     This is the definition file for mill3ax
#
# Revisions
#
#   Date        Who   Reason
# 02-jul-1998   whb   Original
# 31-jul-1998   whb   load_tool_number now tool_number
# 20-apr-1999   whb   feed rates are now feed(set in FEEDRATE_SET)
# 19-may-1999   whb   add opt for mom_cycle_delay
# 02-Jun-1999   whb   fix commentary
# 24-jun-1999   whb   convert FORMATS from % to & formats
#                     rename Socket_x FORMATS
# 29-jul-1999   vb    modify turret configuration
# 29-Jul-1999   whb   default Seqno to 5 digits, default Coordinate to 5 digits
# 24-Aug-1999   jm    Modify holding system in POCKET description
#                     to 330 (taper shank 50) so that some milling
#                     tools of the library fit.
# 31-aug-1999   mjr   Add holders 300,310,320 to all pockets. Increase pockets
#                     from 12 to 30 total.
# 02-Sep-1999   whb   remove carriage returns which were added by NT.
# 16-Nov-1999   gbs   Include the ude file for udes
# 25-Jan-2000   whb   update for usable output
# 14-Feb-2000   whb   fix nurbs_start ADDRESS precision_g leader to G from G0
# 27-Jun-2000   whb   add zero formats for M D H
# 08- 09-2000   Brian  
# $HISTORY$
#
###############################################################################
MACHINE mill3ax
  
INCLUDE
{
   $UGII_CAM_USER_DEF_EVENT_DIR/ude.cdl
}
  
FORMATTING
{
  
  WORD_SEPARATOR     " "
  END_OF_LINE        ""
# SEQUENCE Seq_no    10  10 1
  
  FORMAT  Coordinate "&__5.3_"
  FORMAT  Dwell_sec  "&__3.3_"
  FORMAT  Spindle    "&__5_00"
  FORMAT  Seqno      "&__5_00"
  FORMAT  nurb_code  "&_02.1_"
  FORMAT  Register_2 "&_02_00"
  FORMAT  Register_3 "&_03_00"
  FORMAT  Register_5 "&_05_00"
  FORMAT  T_Register "&_02_00"
  FORMAT  Feed_IPM   "&__3.2_"
  FORMAT  Feed_IPR   "&__4.2_"
  FORMAT  Feed_MMPM  "&__5.1_"
  FORMAT  Feed_MMPR  "&__6.2_"
  FORMAT  Feed_FRN   "&__4.3_"
  FORMAT  Feed_INV   "&__6.2_"
  FORMAT  Feed_DPM   "&__6.2_"
  FORMAT  Feed       "&__7.1_"
  FORMAT  zero       "&_02_00"
  FORMAT  zero_coord "&_01.3_"
  FORMAT  zero_spin  "&_01_00"
  
  FORMAT  EventNum   "%-5d"
  FORMAT  AbsCoord   "%9.4f"
  FORMAT  RotCoord   "%8.3f"
  FORMAT  ComFeed    "%7.2f"
  FORMAT  Rev        "%5d"
  FORMAT  Minutes    "%9.4f"
  
  ADDRESS N  {
              FORMAT Seqno
              FORCE  off
              MAX    99990
            }
  ADDRESS G  {
              ZERO_FORMAT zero
              FORMAT Register_2
              MAX    99
              MIN    0
              FORCE  always
            }
  ADDRESS motion_g {
              LEADER "G"
              ZERO_FORMAT zero
              FORMAT Register_2
              FORCE  off
            }
  ADDRESS plane_g {
              LEADER "G"
              ZERO_FORMAT zero
              FORMAT Register_2
              FORCE  off
            }
  ADDRESS cutcom_g {
              LEADER "G"
              ZERO_FORMAT zero
              FORMAT Register_2
              FORCE  off
            }
  ADDRESS return_g {
              LEADER "G"
              ZERO_FORMAT zero
              FORMAT Register_2
              FORCE  off
            }
  ADDRESS mode_g {
              LEADER "G"
              ZERO_FORMAT zero
              FORMAT Register_2
              FORCE  off
            }
  ADDRESS X  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  off
            }
  ADDRESS Y  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  off
            }
  ADDRESS Z  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  off
            }
  ADDRESS A  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  off
            }
  ADDRESS B  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  off
            }
  ADDRESS C  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  off
            }
  ADDRESS R  {  
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  always
            }
  ADDRESS I  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  always
            }
  ADDRESS J  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  always
            }
  ADDRESS K  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  always
            }
  ADDRESS RISE  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  off
            }
  ADDRESS cycle_dwell  {
              FORMAT Dwell_sec
              MAX    99999.999
              MIN    0.001
              FORCE  off
              LEADER ""
            }
  ADDRESS dwell  {
              FORMAT Dwell_sec
              MAX    99999.999
              MIN    0.001
              FORCE  off
              LEADER ""
            }
  ADDRESS cycle_step  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  off
              LEADER "Q"
            }
  ADDRESS cycle_nodrag  {
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              MAX    9999.9999
              MIN    -9999.9999
              FORCE  off
              LEADER "Q"
            }
  ADDRESS F  {
              FORMAT Feed
              MAX    9999.9
              MIN    0.1
              FORCE  off
            }
  ADDRESS S  {
              ZERO_FORMAT zero_spin
              FORMAT Spindle
              MAX    99999
              MIN    0
              FORCE  always
            }
  ADDRESS T  {
              FORMAT T_Register
              MAX    99
              MIN    0
              FORCE  off
            }
  ADDRESS coolant_m  {
              LEADER "M"
              FORMAT Register_2
              FORCE  off
            }
  ADDRESS spindle_m  {
              LEADER "M"
              FORMAT Register_2
              FORCE  off
            }
  ADDRESS M  {
              ZERO_FORMAT zero
              FORMAT Register_2
              MAX    99
              MIN    0
              FORCE  off
            }
  ADDRESS D  {
              ZERO_FORMAT zero
              FORMAT Register_2
              MAX    99
              MIN    0
              FORCE  off
            }
  ADDRESS H  {
              ZERO_FORMAT zero
              FORMAT Register_2
              MAX    99
              MIN    0
              FORCE  off
            }
  ADDRESS precision_g {
              LEADER "G"
              FORMAT Register_2
              FORCE always
            }
  ADDRESS precision {
              LEADER ""
              FORMAT Register_5
              FORCE off
            }
  ADDRESS knot {
              LEADER "K"
              ZERO_FORMAT zero_coord
              FORMAT Coordinate
              FORCE always
            }
  ADDRESS order {
              LEADER ""
              FORMAT Register_2
              FORCE off
            }
  
# Addresses for the lpt file output
  
  ADDRESS ENUM  {
              FORMAT EventNum
              FORCE  always
              LEADER ""
            }
  ADDRESS ABSX  {
              FORMAT AbsCoord
              FORCE  always
              LEADER ""
            }
  ADDRESS ABSY  {
              FORMAT AbsCoord
              FORCE  always
              LEADER ""
            }
  ADDRESS ABSZ  {
              FORMAT AbsCoord
              FORCE  always
              LEADER ""
            }
  ADDRESS AXIS4  {
              FORMAT RotCoord
              FORCE  always
              LEADER ""
            }
  ADDRESS AXIS5  {
              FORMAT RotCoord
              FORCE  always
              LEADER ""
            }
  ADDRESS FEED  {
              FORMAT ComFeed
              FORCE  always
              LEADER ""
            }
  ADDRESS RPM  {
              FORMAT Rev
              FORCE  always
              LEADER ""
            }
  ADDRESS TIME {
              FORMAT Minutes
              FORCE  always
              LEADER ""
            }
  
            BLOCK_TEMPLATE Seq_no  { N[$mom_seqnum]  }
  
            BLOCK_TEMPLATE from    {   
                                     X[$mom_pos(0)]
                                     Y[$mom_pos(1)]
                                     Z[$mom_pos(2)]
                                   }
  
            BLOCK_TEMPLATE rapid_xy {   
                                     motion_g[$mom_sys_rapid_code]
                                     mode_g[$mom_sys_output_code($mom_output_mode)]\opt
                                     X[$mom_pos(0)]
                                     Y[$mom_pos(1)]
                                   }
  
            BLOCK_TEMPLATE rapid_z {  
                                     motion_g[$mom_sys_rapid_code]
                                     Z[$mom_pos(2)]
#                                     H[$mom_tool_length_adjust_register]\opt
#                                     coolant_m[$mom_sys_coolant_code($mom_coolant_status)]\opt
                                   }
  
            BLOCK_TEMPLATE cycle_plane_change {  
                                     motion_g[$mom_sys_rapid_code]
                                     X[$mom_cycle_clearance_pos(0)]
                                     Y[$mom_cycle_clearance_pos(1)]
                                     Z[$mom_cycle_clearance_pos(2)]
                                   }
  
            BLOCK_TEMPLATE linear  {  
             cutcom_g[$mom_sys_cutcom_code($mom_cutcom_status)]\opt
#                                     plane_g[$mom_sys_cutcom_plane_code($mom_cutcom_plane)]\opt
                                     motion_g[$mom_sys_linear_code]
                                     X[$mom_pos(0)]
                                     Y[$mom_pos(1)]
                                     Z[$mom_pos(2)]
                                     F[$feed]
                                     D[$mom_cutcom_adjust_register]\opt
                                   }
  
            BLOCK_TEMPLATE circle  {  
             cutcom_g[$mom_sys_cutcom_code($mom_cutcom_status)]\opt
                                     plane_g[$g_plane]
                                     motion_g[$mom_sys_circle_code($mom_arc_direction)]
                                     X[$mom_pos(0)]
                                     Y[$mom_pos(1)]
                                     Z[$mom_pos(2)]
                                     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)]
#                                     R[$mom_arc_radius]
                                     F[$feed]
                                   }
  
            BLOCK_TEMPLATE helix   {  
             cutcom_g[$mom_sys_cutcom_code($mom_cutcom_status)]\opt
                                     plane_g[$g_plane]
                                     motion_g[$mom_sys_circle_code($mom_arc_direction)]
                                     X[$mom_pos(0)]
                                     Y[$mom_pos(1)]
                                     Z[$mom_pos(2)]
                                     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)]
                                     RISE[$mom_helix_pitch]
                                     F[$feed]
                                   }
  
            BLOCK_TEMPLATE cycle_drill {  
                                     motion_g[$mom_sys_cycle_drill_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
                                     F[$feed]
                           }
            
            BLOCK_TEMPLATE cycle_drill_dwell {  
                                     motion_g[$mom_sys_cycle_drill_dwell_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
             cycle_dwell[$mom_cycle_delay]\opt
                                     F[$feed]
                                   }
  
            BLOCK_TEMPLATE cycle_drill_deep {  
                                     motion_g[$mom_sys_cycle_drill_deep_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
             cycle_step[$mom_cycle_step1]
                                     F[$feed]
                           }
  
            BLOCK_TEMPLATE cycle_breakchip {  
                                     motion_g[$mom_sys_cycle_breakchip_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
             cycle_step[$mom_cycle_step1]
                                     F[$feed]
                           }
  
            BLOCK_TEMPLATE cycle_tap {  
                                     motion_g[$mom_sys_cycle_tap_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
                                     F[$feed]
                           }
  
            BLOCK_TEMPLATE cycle_bore {  
                                     motion_g[$mom_sys_cycle_bore_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
                                     F[$feed]
                           }
            
            BLOCK_TEMPLATE cycle_bore_dwell {  
                                     motion_g[$mom_sys_cycle_bore_dwell_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
             cycle_dwell[$mom_cycle_delay]\opt
                                     F[$feed]
                           }
  
            BLOCK_TEMPLATE cycle_bore_drag {  
                                     motion_g[$mom_sys_cycle_bore_drag_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
                                     F[$feed]
                           }
  
            BLOCK_TEMPLATE cycle_bore_no_drag {  
                                     motion_g[$mom_sys_cycle_bore_no_drag_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
             cycle_nodrag[$mom_cycle_retract_to]\opt
                                     F[$feed]
                           }
  
            BLOCK_TEMPLATE cycle_bore_back {  
                                     motion_g[$mom_sys_cycle_bore_back_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
             cycle_nodrag[$mom_cycle_retract_to]\opt
                                     F[$feed]
                           }
  
            BLOCK_TEMPLATE cycle_bore_manual {  
                                     motion_g[$mom_sys_cycle_bore_manual_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
                                     F[$feed]
                           }
  
            BLOCK_TEMPLATE cycle_bore_manual_dwell {  
                                     motion_g[$mom_sys_cycle_bore_manual_code]
                                     X[$mom_cycle_feed_to_pos(0)]
                                     Y[$mom_cycle_feed_to_pos(1)]
                                     Z[$mom_cycle_feed_to_pos(2)]
                                     R[$mom_cycle_rapid_to_pos(2)]
             cycle_dwell[$mom_cycle_delay]\opt
                                     F[$feed]
                           }
  
            BLOCK_TEMPLATE cycle_off { motion_g[$mom_sys_cycle_off] }
  
            BLOCK_TEMPLATE nurbs_start {
                              precision_g[$mom_sys_nurbs_precision_code]
                              precision[$nurbs_precision]
                            }
  
            BLOCK_TEMPLATE anchor_point {
                        motion_g[$mom_sys_linear_code]
                        X[$mom_nurbs_points(0,0)]
                        Y[$mom_nurbs_points(0,1)]
                        Z[$mom_nurbs_points(0,2)]
                      }
  
            BLOCK_TEMPLATE nurbs {
                        motion_g[$mom_sys_nurbs_code]
                        order[$mom_nurbs_order]
                        knot[$mom_nurbs_knots($nurbs_knot_count)]
                        X[$mom_nurbs_points($nurbs_knot_count,0)]
                        Y[$mom_nurbs_points($nurbs_knot_count,1)]
                        Z[$mom_nurbs_points($nurbs_knot_count,2)]
                        F[$feed]\opt\nows
                      }
  
            BLOCK_TEMPLATE knots {
                        knot[$mom_nurbs_knots($nurbs_knot_count)]\nows
                      }
  
            BLOCK_TEMPLATE spindle_start  { S[$mom_spindle_rpm]
                                            spindle_m[$mom_sys_spindle_direction_code($mom_spindle_direction)]
                                          }
       
            BLOCK_TEMPLATE spindle_off    { spindle_m[$mom_sys_spindle_direction_code(OFF)]}  
            
            BLOCK_TEMPLATE coolant_off    { coolant_m[$mom_sys_coolant_code(OFF)] }
  
            BLOCK_TEMPLATE cutcom_off  
120
发表于 2004-10-6 19:23:27 | 只看该作者
# SEQUENCE Seq_no 10 10 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

3D打印手板模型快速制作服务,在线报价下单!

QQ 咨询|手机版|联系我们|iCAx开思网  

GMT+8, 2025-1-23 05:57 , Processed in 0.028583 second(s), 9 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2025 www.iCAx.org

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