UG后處理變量.doc_第1頁(yè)
UG后處理變量.doc_第2頁(yè)
UG后處理變量.doc_第3頁(yè)
UG后處理變量.doc_第4頁(yè)
UG后處理變量.doc_第5頁(yè)
已閱讀5頁(yè),還剩3頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

UG后處理變量 global mom_seqnum global mom_part_name global mom_logname global mom_date global mom_spindle_speed global mom_output_file_basenameMOM_set_seq_offset mom_seqnum 100# MOM_output_literal (# TASK : $mom_part_name #)# MOM_output_literal (# Created By : $mom_logname)# MOM_output_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_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: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_literal (Total Machine Time:format %.2f $mom_machine_time minglobaltoolnumglobaltoolinfoglobalmom_group_nameglobalmom_tool_nameglobalmom_tool_diameterglobalmom_tool_corner1_radiusglobalmom_stepover_percentglobalmom_stock_partglobalmom_stock_floorglobalmom_cut_level_max_depthglobalmom_cut_level_min_depthglobalmax_zglobalmin_zglobalmax_xglobalmin_xglobalmax_yglobalmin_yglobalmom_operation_nameglobalmom_machine_timeglobalmom_tool_flute_lengthglobalmom_dateglobalmom_part_nameglobalmom_lognameglobalmom_cutting_timeglobalpre_tool_nameglobalpre_machine_timeglobalpre_timeglobal 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_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_distance 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文件用寫(xiě)字板打開(kāi)2. 找到proc 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 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# Fanuc 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 configure 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, circular 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 距下一命令空兩行 空兩行 空兩行 修改圓弧最大半徑在后處理器里面:后處理變批處理其實(shí)想讓你的后處理?yè)u身一變,成為批處理,也不是什么難事,我有個(gè)方法,大家可以試試,不過(guò)記得回貼,不然我會(huì)鄙視你有。1:先打開(kāi)你的后處理*.TCL文件找到SET MOM_SYS_GROUP_OUTPUT 設(shè)為ON2:打開(kāi)你的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 = ON MOM_open_output_file $ptp_file_name 改成if $mom_sys_ptp_output = ON MOM_remove_file $ptp_file_name4:繼續(xù)找到proc mom_end_of_group下面的if $mom_sys

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論