MasterCAM的刀具清单功能Word文档下载推荐.docx

上传人:b****8 文档编号:22652279 上传时间:2023-02-05 格式:DOCX 页数:25 大小:58.92KB
下载 相关 举报
MasterCAM的刀具清单功能Word文档下载推荐.docx_第1页
第1页 / 共25页
MasterCAM的刀具清单功能Word文档下载推荐.docx_第2页
第2页 / 共25页
MasterCAM的刀具清单功能Word文档下载推荐.docx_第3页
第3页 / 共25页
MasterCAM的刀具清单功能Word文档下载推荐.docx_第4页
第4页 / 共25页
MasterCAM的刀具清单功能Word文档下载推荐.docx_第5页
第5页 / 共25页
点击查看更多>>
下载资源
资源描述

MasterCAM的刀具清单功能Word文档下载推荐.docx

《MasterCAM的刀具清单功能Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《MasterCAM的刀具清单功能Word文档下载推荐.docx(25页珍藏版)》请在冰豆网上搜索。

MasterCAM的刀具清单功能Word文档下载推荐.docx

ONOTDISTRIBUTE!

!

*

#

#|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:

move.

#Itisrecommendedtostartandendcuttercompensationonalinear

#Rotaryaxisassumesa"

Z"

plungeatfeedintopart,positionofthe

#substitutedaxisatabsolutezeropositionandtheretractionfrompath

#bythepostcalltotheG28machineZhomeposition.

#DEBUG/PROGRAMSWITCHES,debuggingandprogramswitches

#bug1:

1#1=Outputposttoscreen,2=outputleadertoscreenbug2:

0#Appendpostlinelabels,non-zeroiscolumnposition?

bug3:

0#Appendwhatlineno.toeachNCline?

bug4:

0#AppendNCIlineno.toeachNCline?

whatno:

yes#Donotperformwhatlinebranches?

strtool_v7:

2#UseVersion7toolname,1=pathcomponents,2=stringget_1004:

1#Findgcode1004withgetnextop?

rpd_typ_v7:

1#UseVersion7stylecontourflags?

arcoutput:

2#0=IJK,1=Rnosign,2=Rsignedneg.over180breakarcs:

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

0#0=Donotpre-stagetools,1=Stagetoolsuse_gear:

no#Settoyestooutputgearrangecodes

#FORMATSTATEMENTS-n=nonmodal,l=leading,t=trailing,i=inc,d=deltafs10.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,3placefs1004t#Nodecimal,absolute,fourtrailingfs110.4t#Decimal,absolute,fourtrailing

#FORMATASSIGNMENTS

#Axisoutputformats-Linear

fmtX1x#Xaxisposition

fmtY1y#Yaxisposition

fmtZ1z#Zaxisposition

fmtX1xr#XrapidpositionfromtoolchangefmtY1yr#YrapidpositionfromtoolchangefmtZ1zr#ZrapidpositionfromtoolchangefmtX1xh#Xhomeposition

fmtY1yh#Yhomeposition

fmtZ1zh#Zhomeposition

#Axisoutputformats-Circular

#fmtI2i#ArccenterdescriptioninX

fmtJ2j#ArccenterdescriptioninY

fmtK2k#ArccenterdescriptioninZ

fmtR1arcrad#ArcRadius

fmtR-1arcradm#ArcRadiusover180degreesweep

#Axisoutputformats-Rotarysubstitution

#fmtA9xs#LineartorotarycalculationofXfmtB9ys#LineartorotarycalculationofY#

#Program&

Sequencenumberformat

#fmtO6progno#ProgramnumberfmtN3n#Sequencenos.

#Toolformat

fmtT3t#ToolNo

fmtT3first_tool#FirstToolUsed(bldnxtool:

yes)fmtT3next_tool#NextToolUsed(bldnxtool:

yes)fmtD3tloffno#DiameterOffsetNofmtH3tlngno#LengthOffsetNo

fmt"

T"

1tnote#Noteformat

D-"

1toffnote#Noteformat

H-"

1tlngnote#Noteformat

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#Safetydistancefmt1retr#Retractheight

fmtF8frplunge#Plungefeedrateindrillcycles

#Miscellaneousoutputformats

fmtM5ssrange#SpindleSpeedRange

fmtC4coolant#Coolant

#INITIALIZE-initializesystemvariablesanddefineuservariables

qtoolpln:

no

#MP386-Enabletoolplaneoption

qtoolopt:

#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:

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

planeonly

bldnxtool:

yes#Buildnexttooltable

ldrcode:

65

#Leadercharacterdec.equiv.(fleaderoutputscode)

ncldr:

20#No.ofleadercharacters(fleaderoutputscode)

nobrk:

#Omitbreakupofx/y&

zrapidmoves

omitcrlf:

no#OmitCR/LFomitrefht:

no#Don'

tusereferenceheightonfirstnon-cannedZmoveomitseq:

yes#Omitsequenceno.

omitz:

progname:

1

#OmitfirstZmovementfornon-canned-cycles

#Useuppercaseforprogramnamescalex:

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

scaley:

scalez:

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

9999#Max.sequenceno.

skipmotest:

no#Skipmotiontestinlinearspaces:

1#No.ofspacestoaddbetweenfieldstooltable:

1#Readfortooltableandpwrttabsswp:

0#Absolutesweepdrlgsel:

-1#DrillSelectInitializemaxfrdeg:

9999#Limitforfeedindeg/minabsinc:

0#Absolute/Incrementaltoggleformodalitytcnt:

0#Countthenumberoftoolchangesadelta:

0#Calculationfordeg/minldelta:

0#Calculationfordeg/minzdelta:

0#Calculationfordeg/minalzdelta:

0#Calculationfordeg/minfrdelta:

0#Calculationfordeg/min

frdegcalc:

0#Calculationfordeg/mincircum:

0#Calculationfordeg/minrotstrt:

1#Flagforfirstrotarypositionnewglobal:

1#ErrorCheck(Leavethisvariablesetto1)#

#FORMULAS-globalformulas

ssrange

=mi3

#GearRangeSelect

speed

=abs(ss)

#Absolutespindlespeed

arcradm

=arcrad

#Negativearcrad

spdlsel

fsg3(ss)

#Spindleonselectorbasedonpos.orneg

ss

#CANNEDCYCLES-selectlongorshortcodeusecandrill:

yes#Usecannedcyclefordrillusecanpeck:

yes#UsecannedcycleforPeckusecanchip:

yes#UsecannedcycleforChipBreakusecantap:

yes#UsecannedcycleforTapusecanbore1:

yes#UsecannedcycleforBore1usecanbore2:

yes#UsecannedcycleforBore2usecanmisc1:

yes#UsecannedcycleforMisc1usecanmisc2:

yes#UsecannedcycleforMisc2##Lookuptabledefinitions-formathfunctionsFLOOKandFRANGE

#flktbl13#Lookuptabledefinitions-tableno.-no.entries

401000#Lowgearrange

412500#Medgearrange

425000#Higearrange

#Strings-Stringlabelsmuststartwith'

s'

-theyarenotpre-assigned

#Selectoperationnote

sop00

NULL

#Stringdefinition

sop01

END-MIll

#"

"

sop02

sop03

DRIll

sop04

sop05

S-MILL

sop06

2D-SWEPT.

.#"

sop07

3D-SWEPT.

sop08

REVOLVED

..#"

sop09

LOFT

sop10

COONS

sop11

TRIM

sop12

FILLET

sop13

ROUGH

sop14

OP14

sop15

OP15

fstrselsop00opcodesopnote

#SelectmotionGcode

sg00

G0

#Linearmovementatrapidfeedrate

sg01

G1

#Linearmovementatfeedrate

sg02

G2

#CircularinterpolationCW

sg03

G3

#CircularinterpolationCCW

sgcode

#Targetstring

fstrselsg00gcodesgcode

#SelectincrementalorabsoluteGcodesg90G90#AbsoluteGcodesg91G91#IncrementalGcodesgabsinc#Targetstringfstrselsg90absincsgabsinc

#Selectspindlestart

sm04M4#Spindlereversesm05M5#Spindleoffsm03M3#Spindleforwardspdlon#Targetstringfstrselsm04spdlselspdlon

#Cuttercompensationcodescc0"

"

#Cuttercompensationstatenotchangedsg40G40#Cancelcuttercompensationsg41G41#Cuttercompensationleftsg42G42#Cuttercompensationrightsg140G40#Lastlinearmovecancelcuttercomp(seenote)

#Note:

tocancelcompafterlastmove,removeG40string

pcancelcc"

#withsg140andremove"

#"

atthepostlinecallsccomp#Targetstring

fstrselscc0ccompsccomp

#SelectworkplaneGcodesg17G17#XYplanecodesg19G19#XZplanecodesg18G18#YZplanecodesgplane#Targetstringfstrselsg17planesgplane

#Workcoordinatesystem

sg50G92#WorkcoordinatesystemGcode

sg51

G92

IIIIII

sg52

sg53

sg54

G54

sg55

G55

sg56

G56

sg57

G57

sg58

G58

sg59

G59

sgwcs

fstrselsg50mi1sgwcs

#Canneddrillcyclestringselect

sg81G81#drill-nodwell

sg81dG82#drill-withdwell

sg83G83#peckdrill-nodwell

sg83dG83#peckdrill-withdwell

sg73G73#chipbreak-nodwell

sg73dG73#chipbreak-withdwell

sg84G84#tap-nodwell

sg84dG74#tap-withdwell(selectslefthand)

sg85G85#bore#1-nodwell

sg85dG89#bore#1-withdwell

sg86G86#bore#2-nodwell

sg86dG86#bore#2-withdwell

sgm1G81#misc#1-nodwell

sgm1dG82#misc#1-withdwell

sgm2G81#misc#2-nodwell

sgm2dG82#misc#2-withdwellsgdrill#Targetstringdrlgsel=drillcyc*2+fsg2(dwell)#16possiblecombinations:

#drillcyc=0

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

当前位置:首页 > 表格模板 > 表格类模板

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

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