ImageVerifierCode 换一换
格式:DOCX , 页数:10 ,大小:114.87KB ,
资源ID:8528913      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/8528913.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(UG后处理变量讲解学习.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

UG后处理变量讲解学习.docx

1、UG后处理变量讲解学习UG后处理变量UG后处理变量 global mom_seqnum global mom_part_name global mom_logname global mom_date global mom_spindle_speed global mom_output_file_basename MOM_set_seq_off set mom_seqnum 100# MOM_output_literal (# TASK : $mom_part_name #)# MOM_output_literal (# Created By : $mom_logname)# MOM_outpu

2、t_literal (# Creation Date: $mom_date)# MOM_output_literal (#)# MOM_suppress always N MOM_output_literal G28 G91 Z0.0 MOM_output_literal M30 MOM_output_literal % MOM_output_literal (Date: $mom_date)# MOM_suppress off N MOM_output_literal (name: $mom_output_file_basename.nc ) MOM_output_literal ($mom

3、_part_name)# MOM_output_literal O$mom_output_file_basename# MOM_set_seq_on global max_z min_z set zmax string trimright format %.4f $max_z 0 set zmin string trimright format %.4f $min_z 0 MOM_output_literal (MAXZ = $zmax , MINZ = $zmin) global mom_machine_time MOM_output_literal (Total Machine Time:

4、format %.2f $mom_machine_time min)Tool_Name:$mom_tool_name Tool_No:$mom_tool_number $mom_operation_type global max_z min_z set zmax string trimright format %.4f $max_z 0 set zmin string trimright format %.4f $min_z 0 MOM_output_literal (MAXZ = $zmax , MINZ = $zmin) global mom_machine_time MOM_output

5、_literal (Total Machine Time:format %.2f $mom_machine_time minglobal toolnumglobal toolinfoglobal mom_group_nameglobal mom_tool_nameglobal mom_tool_diameterglobal mom_tool_corner1_radiusglobal mom_stepover_percentglobal mom_stock_partglobal mom_stock_floorglobal mom_cut_level_max_depthglobal mom_cut

6、_level_min_depthglobal max_zglobal min_zglobal max_xglobal min_xglobal max_yglobal min_yglobal mom_operation_nameglobal mom_machine_timeglobal mom_tool_flute_lengthglobal mom_dateglobal mom_part_nameglobal mom_lognameglobal mom_cutting_timeglobal pre_tool_nameglobal pre_machine_timeglobal pre_timegl

7、obal mom_spindle_rpmglobal mom_feed_cut_valueglobal alex_depthglobal alex_stepoverglobal tol global mom_tool_number mom_next_tool_number global mom_coolant_status mom_coolant_mode global mom_spindle_rpm global mom_warning_info global anchor_flag global coolant_flag global first_tool global mom_tool_

8、name global mom_tool_diameter global mom_tool_length_adjust_register global mom_tool_corner1_radius global mom_tool_flute_length global mom_work_coordinate_number global msys mom_stock_part global mom_stock_floor global mom_inside_outside_tolerances global mom_global_cut_depth global mom_stepover_di

9、stance global mom_global_cut_depth global mom_stepover_distance global mom_stepover_scallop global mom_stepover_variable_passes global mom_stepover_percent global mom_stepover_type global mom_depth_of_cut_type global mom_cut_level_max_depth global mom_depth_per_cut 后处理加速度详解1.找到后处理TCL文件用写字板打开2.找到proc

10、 PB_start_of_program 此处加入:PB_CMD_init_turbo3.找到proc PB_CMD_kin_before_motion并且在其上面加入如下:距上一命令空两行#=proc PB_CMD_init_turbo #=# This custom command may only be used with Post Builder 3.2.1# or later and NX2 or later.# Place this custom command with the Start of Program marker.# This custom command will

11、activate the turbo process mode for# the 3-axis mill posts. The execution time will be about 5 to# 10 times faster than the normal process.# Special Blocks are included in any 3-axis mill post created# by Post Builder v3.2.1 and on.# The blocks being output are formatted similar to that of the# Fanu

12、c type of controllers.# The following turbo blocks will appear in the Block section# of N/C Data Definitions in Post Builder:# linear_move_turbo# circular_move_turbo# rapid_move_turbo# sequence_number_turbo# In Post Builder, you may modify the Word parameters from# the N/C Data Defitions dialog to c

13、onfigure the output of that# word used within the turbo blocks. You may also modify the Format# parameters. You may not, however, edit the expression in the# words, remove or add words in any turbo block.# All rapid motion is output in a single move. Any custom # commands in the linear move, circula

14、r move, rapid move and # mom_before_motion event markers will be ignored.# global mom_kin_machine_type if $mom_kin_machine_type = 3_axis_mill uplevel #0 set mom_kin_is_turbo_output TRUE MOM_reload_kinematics 距下一命令空两行 空两行 空两行 修改圆弧最大半径在后处理器里面:后处理变批处理其实想让你的后处理摇身一变,成为批处理,也不是什么难事,我有个方法,大家可以试试,不过记得回贴,不然我会

15、鄙视你有。1:先打开你的后处理*.TCL文件找到SET MOM_SYS_GROUP_OUTPUT 设为ON2:打开你的UG安装目录下NX3.0MACHRESOURCEpostprocessor下的UGPOST_BASE.TCL文件找到set grp_ptp_name $mom_output_file_basename_$group_name_lowercase$output_extn改成set grp_ptp_name $group_name_lowercase$output_extn3:找到proc mom_start_of_group下面的if $mom_sys_ptp_output =

16、ON MOM_open_output_file $ptp_file_name 改成if $mom_sys_ptp_output = ON MOM_remove_file $ptp_file_name4:继续找到proc mom_end_of_group下面的if $mom_sys_ptp_output = ON MOM_open_output_file $ptp_file_name 改成if $mom_sys_ptp_output = ON MOM_remove_file $ptp_file_name5:保存 UGPOST_BASE.TCL文件6进入UG加工模块,点最上面的NC PROGRAM组上面进行后处理就OK了!但还是有一点点小问题,如图(1)只能以父系名处理一个单独的程式,如图(2)就可以处理几个单独的程式,有懂这个的朋友也帮忙处理一下这个问题

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1