MasterCAM9.1的刀具清单功能.doc
《MasterCAM9.1的刀具清单功能.doc》由会员分享,可在线阅读,更多相关《MasterCAM9.1的刀具清单功能.doc(20页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。
1、/MasterCAM9.1后处理自动生成刀具清单,使用方法: 将下面的内容复制到记事本内,并将其更名为Mpfan.pst,pst为后缀,再将该文件拷贝至MasterCAM9.1的安装目录C:Mcam9MillPosts,覆盖原文件,然后启动软件,可以在NC程序开头生成刀具清单。经典版本,绝对好用!# Post Name : MPFAN# Product : MILL# Machine Name : FANUC# Control Name : 6M# Description : GENERIC FANUC 6M STYLE POST# Associated Post :# Mill/Turn :
2、 NO# 4-axis/Axis subs. : NO# 5-axis : NO# Executable : MP 4.03# *# *-*# * POST PROCESSOR INTENDED FOR VERSION 6 BETA TESTING *# * *# * D O N O T D I S T R I B U T E ! ! ! *# *-*# *# - #| REVISION LOG |# -# Programmers Note:# CNC 8/15/2005 - grt - Updated for Mill Version 6 # - #| FEATURES: |# -# Use
3、rs Note:# Following Misc_Reals & Misc_Integers are used:# mi1 - Work coordinate system # 0 = Reference return is generated and G92 with the # X, Y and Z home positions at file head.# 1 thru 3 = Reference return is generated and G92 with the # X, Y and Z home positions at each tool.# 4 thru 9 = The W
4、CS of G54 thru G59 respectively at each tool.# Options / Usage:# It is recommended to start and end cutter compensation on a linear move.# Rotary axis assumes a Z plunge at feed into part, position of the# substituted axis at absolute zero position and the retraction from path # by the post call to
5、the G28 machine Z home position.# -# DEBUG/PROGRAM SWITCHES, debugging and program switches# -bug1 : 1 # 1 = Output post to screen, 2 = output leader to screenbug2 : 0 # Append postline labels, non-zero is column position? bug3 : 0 # Append whatline no. to each NC line?bug4 : 0 # Append NCI line no.
6、 to each NC line?whatno : yes # Do not perform whatline branches?strtool_v7 : 2 #Use Version 7 toolname, 1= path components, 2=stringget_1004 : 1 #Find gcode 1004 with getnextop?rpd_typ_v7 : 1 #Use Version 7 style contour flags? arcoutput : 2 # 0 = IJK, 1 = R no sign, 2 = R signed neg. over 180break
7、arcs : 0 #Break arcs, 0 = no, 1 = quadrants, 2 = 180deg. max arcsstagetool : 0 # 0 = Do not pre-stage tools, 1 = Stage toolsuse_gear : no # Set to yes to output gear range codes# -# FORMAT STATEMENTS - n=nonmodal, l=leading, t=trailing, i=inc, d=delta# -fs 1 0.3 #Decimal, absolute, 4 placefs 2 0.4d
8、#Decimal, deltafs 3 1 0 #Integer, not leadingfs 4 2 0l #Integer, two leadingfs 5 3 0l #Integer, three leadingfs 6 4 0l #Integer, four leadingfs 7 0.1 #Decimal, absolute, 1 placefs 8 0.2 #Decimal, absolute, 2 placefs 9 0.3 #Decimal, absolute, 3 placefs 10 0 4t #No decimal, absolute, four trailingfs 1
9、1 0.4t #Decimal, absolute, four trailing# -# FORMAT ASSIGNMENTS# -# Axis output formats - Linear# -fmt X 1 x # X axis positionfmt Y 1 y # Y axis positionfmt Z 1 z # Z axis positionfmt X 1 xr # X rapid position from tool changefmt Y 1 yr # Y rapid position from tool changefmt Z 1 zr # Z rapid positio
10、n from tool changefmt X 1 xh # X home positionfmt Y 1 yh # Y home positionfmt Z 1 zh # Z home position# -# Axis output formats - Circular# -fmt I 2 i # Arc center description in Xfmt J 2 j # Arc center description in Yfmt K 2 k # Arc center description in Zfmt R 1 arcrad # Arc Radiusfmt R- 1 arcradm
11、 # Arc Radius over 180 degree sweep# -# Axis output formats - Rotary substitution# -fmt A 9 xs # Linear to rotary calculation of Xfmt B 9 ys # Linear to rotary calculation of Y# -# Program & Sequence number format# -fmt O 6 progno # Program numberfmt N 3 n # Sequence nos.# -# Tool format# -fmt T 3 t
12、 # Tool Nofmt T 3 first_tool# First Tool Used (bldnxtool: yes)fmt T 3 next_tool # Next Tool Used (bldnxtool: yes)fmt D 3 tloffno # Diameter Offset Nofmt H 3 tlngno # Length Offset Nofmt T 1 tnote # Note formatfmt D- 1 toffnote # Note formatfmt H- 1 tlngnote # Note formatfmt Dia- 2 tldia # Note forma
13、t# -# Spindle Speeds & Feedrate output formats# -fmt S 6 speed # Spindle Speedfmt F 8 fr # Feedratefmt F 7 frdeg # Feedrate for rotaryfmt M 3 gear # Gear range# -# Drill variable formats# -fmt G 3 drillref # Initial / Reference Toggle (G98/G99)fmt P 10 dwell # Dwellfmt Z 1 initht # Initial Heightfmt
14、 R 1 refht # Reference Heightfmt Z 1 depth # Depthfmt Q 2 peck1 # First peck increment (positive)fmt 1 peck2 # Second or last peck (positive)fmt 1 peckclr # Safety distancefmt 1 retr # Retract heightfmt F 8 frplunge # Plunge feedrate in drill cycles# -# Miscellaneous output formats# -fmt M 5 ssrange
15、 # Spindle Speed Rangefmt C 4 coolant # Coolant# -# INITIALIZE - initialize system variables and define user variables# -qtoolpln : no # MP386 - Enable tool plane optionqtoolopt : no # MP386 - Enable tool optimizationarctype : 2 # Arc center 1=abs, 2=St-Ctr, 3=Ctr-St, 4=unsigned inc.do_full_arc : 0
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- mastercam9 刀具 清单 功能
限制150内