MasterCAM91的刀具清单功能.docx

上传人:b****1 文档编号:13464813 上传时间:2023-06-14 格式:DOCX 页数:29 大小:23KB
下载 相关 举报
MasterCAM91的刀具清单功能.docx_第1页
第1页 / 共29页
MasterCAM91的刀具清单功能.docx_第2页
第2页 / 共29页
MasterCAM91的刀具清单功能.docx_第3页
第3页 / 共29页
MasterCAM91的刀具清单功能.docx_第4页
第4页 / 共29页
MasterCAM91的刀具清单功能.docx_第5页
第5页 / 共29页
MasterCAM91的刀具清单功能.docx_第6页
第6页 / 共29页
MasterCAM91的刀具清单功能.docx_第7页
第7页 / 共29页
MasterCAM91的刀具清单功能.docx_第8页
第8页 / 共29页
MasterCAM91的刀具清单功能.docx_第9页
第9页 / 共29页
MasterCAM91的刀具清单功能.docx_第10页
第10页 / 共29页
MasterCAM91的刀具清单功能.docx_第11页
第11页 / 共29页
MasterCAM91的刀具清单功能.docx_第12页
第12页 / 共29页
MasterCAM91的刀具清单功能.docx_第13页
第13页 / 共29页
MasterCAM91的刀具清单功能.docx_第14页
第14页 / 共29页
MasterCAM91的刀具清单功能.docx_第15页
第15页 / 共29页
MasterCAM91的刀具清单功能.docx_第16页
第16页 / 共29页
MasterCAM91的刀具清单功能.docx_第17页
第17页 / 共29页
MasterCAM91的刀具清单功能.docx_第18页
第18页 / 共29页
MasterCAM91的刀具清单功能.docx_第19页
第19页 / 共29页
MasterCAM91的刀具清单功能.docx_第20页
第20页 / 共29页
亲,该文档总共29页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

MasterCAM91的刀具清单功能.docx

《MasterCAM91的刀具清单功能.docx》由会员分享,可在线阅读,更多相关《MasterCAM91的刀具清单功能.docx(29页珍藏版)》请在冰点文库上搜索。

MasterCAM91的刀具清单功能.docx

MasterCAM91的刀具清单功能

MasterCAM9.1后处理自动生成刀具清单,使用方法:

将下面的容复制到记事本,并将其更名为Mpfan.pst,pst为后缀,再将该文件

拷贝至MasterCAM9.1的安装目录C:

\Mcam9\Mill\Posts,覆盖原文件,然后启动软件,

可以在NC程序开头生成刀具清单。

经典版本,绝对好用!

#PostName:

MPFAN

#Product:

MILL

#MachineName:

FANUC

#ControlName:

6M

#Description:

GENERICFANUC6MSTYLEPOST

#AssociatedPost:

#Mill/Turn:

NO

#4-axis/Axissubs.:

NO

#5-axis:

NO

#Executable:

MP4.03

#

#************************************************************************

#*----------------------------------------------------------------------*

#*POSTPROCESSORINTENDEDFORVERSION6BETATESTING*

#**

#*DONOTDISTRIBUTE!

!

!

*

#*----------------------------------------------------------------------*

#************************************************************************

#

#---------------

#|REVISIONLOG|

#------------------------------------------------------------------------

#ProgrammersNote:

#CNC8/15/2005-grt-UpdatedforMillVersion6

#

#---------------

#|FEATURES:

|

#------------------------------------------------------------------------

#UsersNote:

#

#FollowingMisc_Reals&Misc_Integersareused:

#

#mi1-Workcoordinatesystem

#0=ReferencereturnisgeneratedandG92withthe

#X,YandZhomepositionsatfilehead.

#1thru3=ReferencereturnisgeneratedandG92withthe

#X,YandZhomepositionsateachtool.

#4thru9=TheWCSofG54thruG59respectivelyateachtool.

#

#Options/Usage:

#Itisrecommendedtostartandendcuttercompensationonalinearmove.

#Rotaryaxisassumesa"Z"plungeatfeedintopart,positionofthe

#substitutedaxisatabsolutezeropositionandtheretractionfrompath

#bythepostcalltotheG28machineZhomeposition.

#--------------------------------------------------------------------------

#DEBUG/PROGRAMSWITCHES,debuggingandprogramswitches

#--------------------------------------------------------------------------

bug1:

1#1=Outputposttoscreen,2=outputleadertoscreen

bug2:

0#Appendpostlinelabels,non-zeroiscolumnposition?

bug3:

0#Appendwhatlineno.toeachNCline?

bug4:

0#AppendNCIlineno.toeachNCline?

whatno:

yes#Donotperformwhatlinebranches?

strtool_v7:

2#UseVersion7toolname,1=pathcomponents,2=string

get_1004:

1#Findgcode1004withgetnextop?

rpd_typ_v7:

1#UseVersion7stylecontourflags?

arcoutput:

2#0=IJK,1=Rnosign,2=Rsignedneg.over180

breakarcs:

0#Breakarcs,0=no,1=quadrants,2=180deg.maxarcs

stagetool:

0#0=Donotpre-stagetools,1=Stagetools

use_gear:

no#Settoyestooutputgearrangecodes

#--------------------------------------------------------------------------

#FORMATSTATEMENTS-n=nonmodal,l=leading,t=trailing,i=inc,d=delta

#--------------------------------------------------------------------------

fs10.3#Decimal,absolute,4place

fs20.4d#Decimal,delta

fs310#Integer,notleading

fs420l#Integer,twoleading

fs530l#Integer,threeleading

fs640l#Integer,fourleading

fs70.1#Decimal,absolute,1place

fs80.2#Decimal,absolute,2place

fs90.3#Decimal,absolute,3place

fs1004t#Nodecimal,absolute,fourtrailing

fs110.4t#Decimal,absolute,fourtrailing

#--------------------------------------------------------------------------

#FORMATASSIGNMENTS

#--------------------------------------------------------------------------

#Axisoutputformats-Linear

#--------------------------------------------------------------------------

fmtX1x#Xaxisposition

fmtY1y#Yaxisposition

fmtZ1z#Zaxisposition

fmtX1xr#Xrapidpositionfromtoolchange

fmtY1yr#Yrapidpositionfromtoolchange

fmtZ1zr#Zrapidpositionfromtoolchange

fmtX1xh#Xhomeposition

fmtY1yh#Yhomeposition

fmtZ1zh#Zhomeposition

#--------------------------------------------------------------------------

#Axisoutputformats-Circular

#--------------------------------------------------------------------------

fmtI2i#ArccenterdescriptioninX

fmtJ2j#ArccenterdescriptioninY

fmtK2k#ArccenterdescriptioninZ

fmtR1arcrad#ArcRadius

fmtR-1arcradm#ArcRadiusover180degreesweep

#--------------------------------------------------------------------------

#Axisoutputformats-Rotarysubstitution

#--------------------------------------------------------------------------

fmtA9xs#LineartorotarycalculationofX

fmtB9ys#LineartorotarycalculationofY

#--------------------------------------------------------------------------

#Program&Sequencenumberformat

#--------------------------------------------------------------------------

fmtO6progno#Programnumber

fmtN3n#Sequencenos.

#--------------------------------------------------------------------------

#Toolformat

#--------------------------------------------------------------------------

fmtT3t#ToolNo

fmtT3first_tool#FirstToolUsed(bldnxtool:

yes)

fmtT3next_tool#NextToolUsed(bldnxtool:

yes)

fmtD3tloffno#DiameterOffsetNo

fmtH3tlngno#LengthOffsetNo

fmt"T"1tnote#Noteformat

fmt"D-"1toffnote#Noteformat

fmt"H-"1tlngnote#Noteformat

fmt"Dia-"2tldia#Noteformat

#--------------------------------------------------------------------------

#SpindleSpeeds&Feedrateoutputformats

#--------------------------------------------------------------------------

fmtS6speed#SpindleSpeed

fmtF8fr#Feedrate

fmtF7frdeg#Feedrateforrotary

fmtM3gear#Gearrange

#--------------------------------------------------------------------------

#Drillvariableformats

#--------------------------------------------------------------------------

fmtG3drillref#Initial/ReferenceToggle(G98/G99)

fmtP10dwell#Dwell

fmtZ1initht#InitialHeight

fmtR1refht#ReferenceHeight

fmtZ1depth#Depth

fmtQ2peck1#Firstpeckincrement(positive)

fmt1peck2#Secondorlastpeck(positive)

fmt1peckclr#Safetydistance

fmt1retr#Retractheight

fmtF8frplunge#Plungefeedrateindrillcycles

#--------------------------------------------------------------------------

#Miscellaneousoutputformats

#--------------------------------------------------------------------------

fmtM5ssrange#SpindleSpeedRange

fmtC4coolant#Coolant

#--------------------------------------------------------------------------

#INITIALIZE-initializesystemvariablesanddefineuservariables

#--------------------------------------------------------------------------

qtoolpln:

no#MP386-Enabletoolplaneoption

qtoolopt:

no#MP386-Enabletooloptimization

arctype:

2#Arccenter1=abs,2=St-Ctr,3=Ctr-St,4=unsignedinc.

do_full_arc:

0#Allowfullcircleoutput?

0=no,1=yes

helix_arc:

0#Supporthelixarcoutput,0=no,1=allplanes,2=XYplaneonly

bldnxtool:

yes#Buildnexttooltable

ldrcode:

65#Leadercharacterdec.equiv.(fleaderoutputscode)

ncldr:

20#No.ofleadercharacters(fleaderoutputscode)

nobrk:

no#Omitbreakupofx/y&zrapidmoves

omitcrlf:

no#OmitCR/LF

omitrefht:

no#Don'tusereferenceheightonfirstnon-cannedZmove

omitseq:

yes#Omitsequenceno.

omitz:

no#OmitfirstZmovementfornon-canned-cycles

progname:

1#Useuppercaseforprogramname

scalex:

1.0#Scalingof.NCIatinput-x,y,z,i,j,k

scaley:

1.0#Scalingof.NCIatinput-x,y,z,i,j,k

scalez:

1.0#Scalingof.NCIatinput-x,y,z,i,j,k

seqmax:

9999#Max.sequenceno.

skipmotest:

no#Skipmotiontestinlinear

spaces:

1#No.ofspacestoaddbetweenfields

tooltable:

1#Readfortooltableandpwrtt

absswp:

0#Absolutesweep

drlgsel:

-1#DrillSelectInitialize

maxfrdeg:

9999#Limitforfeedindeg/min

absinc:

0#Absolute/Incrementaltoggleformodality

tcnt:

0#Countthenumberoftoolchanges

adelta:

0#Calculationfordeg/min

ldelta:

0#Calculationfordeg/min

zdelta:

0#Calculationfordeg/min

alzdelta:

0#Calculationfordeg/min

frdelta:

0#Calculationfordeg/min

frdegcalc:

0#Calculationfordeg/min

circum:

0#Calculationfordeg/min

rotstrt:

1#Flagforfirstrotaryposition

newglobal:

1#ErrorCheck(Leavethisvariablesetto1)

#--------------------------------------------------------------------------

#FORMULAS-globalformulas

#--------------------------------------------------------------------------

ssrange=mi3#GearRangeSelect

speed=abs(ss)#Absolutespindlespeed

arcradm=arcrad#Negativearcrad

spdlsel=fsg3(ss)#Spindleonselectorbasedonpos.orneg.ss

#--------------------------------------------------------------------------

#CANNEDCYCLES-selectlongorshortcode

#--------------------------------------------------------------------------

usecandrill:

yes#Usecannedcyclefordrill

usecanpeck:

yes#UsecannedcycleforPeck

usecanchip:

yes#UsecannedcycleforChipBreak

usecantap:

yes#UsecannedcycleforTap

usecanbore1:

yes#UsecannedcycleforBore1

usecanbore2:

yes#UsecannedcycleforBore2

usecanmisc1:

yes#UsecannedcycleforMisc1

usecanmisc2:

yes#UsecannedcycleforMisc2

#--------------------------------------------------------------------------

#Lookuptabledefinitions-formathfunctionsFLOOKandFRANGE

#--------------------------------------------------------------------------

flktbl13#Lookuptabledefinitions-tableno.-no.entries

401000#Lowgearrange

412500#Medgearrange

425000#Higearrange

#--------------------------------------------------------------------------

#Strings-Stringlabelsmuststartwith's'-theyarenotpre-assigned

#----------------------------------------

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > PPT模板 > 商务科技

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2