mastercam91四轴半四轴定面加工后处理1.docx

上传人:b****2 文档编号:2455024 上传时间:2023-05-03 格式:DOCX 页数:60 大小:30.95KB
下载 相关 举报
mastercam91四轴半四轴定面加工后处理1.docx_第1页
第1页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第2页
第2页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第3页
第3页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第4页
第4页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第5页
第5页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第6页
第6页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第7页
第7页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第8页
第8页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第9页
第9页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第10页
第10页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第11页
第11页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第12页
第12页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第13页
第13页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第14页
第14页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第15页
第15页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第16页
第16页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第17页
第17页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第18页
第18页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第19页
第19页 / 共60页
mastercam91四轴半四轴定面加工后处理1.docx_第20页
第20页 / 共60页
亲,该文档总共60页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

mastercam91四轴半四轴定面加工后处理1.docx

《mastercam91四轴半四轴定面加工后处理1.docx》由会员分享,可在线阅读,更多相关《mastercam91四轴半四轴定面加工后处理1.docx(60页珍藏版)》请在冰点文库上搜索。

mastercam91四轴半四轴定面加工后处理1.docx

mastercam91四轴半四轴定面加工后处理1

#PostName:

MPFAN

#Product:

MILL

#MachineName:

GENERICFANUC

#ControlName:

GENERICFANUC

#Description:

GENERICFANUCMILLPOST

#4-axis/Axissubs.:

YES

#5-axis:

NO

#Subprograms:

YES

#Executable:

MPv9.10

#

#WARNING:

THISPOSTISGENERICANDISINTENDEDFORMODIFICATIONTO

#THEMACHINETOOLREQUIREMENTSANDPERSONALPREFERENCE.

#

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

#Revisionlog:

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

#ProgrammersNote:

#CNC01/12/01-InitialpostupdateforV8.1

#CNC07/02/01-Addcantexttocanceldrillandtoolretract

#CNC01/09/02-InitialpostupdateforV9.0

#CNC01/31/02-Setusecandrill,usecanpeck,force_wcstoYES

#CNC02/22/02-ForcesoutputofI,J,Karccenters(arcoutput:

0)

#CNC04/12/02-Useoriginalpositionforinversefeedand4axpaths

#CNC05/01/02-Set"helix_arc:

2",supporthelixarcoutputinXYplane

#CNC05/07/02-Donotupdatesav_revwithaxissubstitution

#CNC11/06/02-Altered'F'eedrateoutputformatwhentapping(G74/G84)

#CNC01/06/03-movedfeedassignmentbelowpcom_movebtoaddressbugw/feedin4axis

#CNC01/17/03-Addedflagstoallowreversalofaxisorientations

#CNC02/04/03-InitialpostupdateforV9.1

#

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

#Features:

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

#ThispostsupportsGenericFanuccodeoutputfor3and4axismilling.

#ItisdesignedtosupportthefeaturesofMastercamMillV9.

#

#FollowingMisc.Integersareused:

#

#mi1-Workcoordinatesystem

#0=ReferencereturnisgeneratedandG92withthe

#X,YandZhomepositionsatfilehead.

#1=ReferencereturnisgeneratedandG92withthe

#X,YandZhomepositionsateachtool.

#2=WCSofG54,G55....basedonMastercamsettings.

#

#mi2-AbsoluteorIncrementalpositioningattoplevel

#0=absolute

#1=incremental

#

#mi3-SelectG28orG30referencepointreturn.

#0=G28,1=G30

#

#Cannedtext:

#EnteringcantextonacontourpointfromwithinMastercamallowsthe

#followingfunctionstoenable/disable.

#Cantextvalue:

#1=Stop=outputthe"M00"stopcode

#2=Ostop=outputthe"M01"optionalstopcode

#3=Bldon=turnonblockdeletecodesinNClines

#4=bLdoff=turnoffblockdeletecodesinNClines

#

#Millingtoolpaths(4axis)

#Layout:

#Theterm"ReferenceView"referstothecoordinatesystemassociated

#withtheTopview(Alt-F9,theuppergnomonofthethreedisplayed).

#Createthepartdrawingwiththeaxisofrotationabouttheaxis

#ofthe"ReferenceView"accordingtothesettingyouenteredfor

#'vmc'(verticalorhorizontal)and'rot_on_x'(machinerelative

#axisofrotation).

#vmc=1(verticalmachine)usesthetoptoolplaneasthebasemachine

#view.

#vmc=0(horizontalmachine)usesthefronttoolplaneasthebasemachine

#view.

#Relativetothemachinematrix-

#RotationzeropositionisontheZaxisforrotationonXaxis.

#RotationzeropositionisontheZaxisforrotationonYaxis.

#RotationzeropositionisontheXaxisforrotationonZaxis.

#Themachineviewrotatedabouttheselectedaxisasa"singleaxis

#rotation"aretheonlylegalviewsfor4axismilling.Rotation

#directionaroundthepartispositiveintheCCWdirectionwhen

#viewedfromtheplusdirectionoftherotatingaxis.Setthevariable

#'rot_ccw_pos'toindicatethesigneddirection.Alwayssetthework

#originatthecenterofrotation.

#

#ToolplanePositioning:

#CreatetheCplaneandTplaneastherotationofthemachineviewabout

#theselectedaxisofrotation.Thetoolplaneisusedtocalculate

#thepositionoftherotaryaxis.Thisisthedefaultsetting.

#

#3AxisRotary(Polar)

#PolarpositioningisofferedinMastercam3axistoolpathsthroughthe

#rotaryaxisoptionsdialog.Theselectedtoolpathisconvertedtoangle

#andradiusposition.Theaxisofrotationisforcedtozero.

#

#Axissubstitution:

#UsetheRotaryaxissubstitutionbydrawingthegeometryflattened

#fromthecylinder.Therotaryaxisbuttonmustbeactiveforaxis

#substitutioninformationtobeoutputtotheNCIfile.Theradiusof

#therotarydiameterisaddedtoalltheZpositionsatoutput.

#

#Simultaneous4Axis(11gcode):

#Full4axistoolpathscanbegeneratedfromvarioustoolpathsunderthe

#'multi-axis'selection(i.e.Rotary4axis).All5axispathsare

#convertedto4axispathswhereonlytheangleabouttherotationaxis

#isresolved.

#

#Drill:

#Alldrillmethodsaresupportedinthepost.SeeSimultaneous4Axis.

#

#AdditionalNotes:

#1)Disable4axisbysettingthenumberedquestion164.to'n'.

#2)G54callsaregeneratedwheretheworkoffsetentryof0=G54,

#1=G55,etc.

#3)MetricisappliedfromtheNCImet_toolvariable.

#4)Incrementalmodecalculatesmotionfromhomepositionattoolchanges.

#Thehomepositionisusedtodefinethelastpositionofthetool

#foralltoolchanges.

#5)Thevariable'absinc'isnowpre-defined,setmi2(Misc.Integer)for

#the'toplevel'absolute/incrementalprogramoutput.Subprogramsare

#updatedthroughtheMastercamdialogsettingsforsub-programs.

#6)Alwaysavoidmachiningtothecenterofrotationwithrotaryaxis!

#7)TransformsubprogramsareintendedforusewithG54..workshifts.

#

#END_HEADER$

#

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

#DebuggingandFactorySetProgramSwitches

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

m_one:

-1#Defineconstant

zero:

0#Defineconstant

one:

1#Defineconstant

two:

2#Defineconstant

three:

3#Defineconstant

four:

4#Defineconstant

five:

5#Defineconstant

c9k:

9999#Defineconstant

fastmode:

yes#EnableQuickPostProcessing,(settonofordebug)

bug1:

2#0=Nodisplay,1=Genericlistbox,2=Editor

bug2:

40#Appendpostlinelabels,non-zeroiscolumnposition?

bug3:

0#AppendwhatlinenumbertoeachNCline?

bug4:

1#AppendNCIlinenumbertoeachNCline?

whatno:

yes#Donotperformwhatlinebranches?

(leaveasyes)

skp_lead_flgs:

1#DoNOTusev9stylecontourflags

get_1004:

1#Findgcode1004withgetnextop?

rpd_typ_v7:

0#UseVersion7stylecontourflags/processing?

strtool_v7:

2#UseVersion7+toolname?

tlchng_aft:

2#Delaycalltotoolchangeuntilmoveline

cant_tlchng:

1#Ignorecantextentryonmovewithtlchng_aft

newglobal:

1#Errorcheckingforglobalvariables

getnextop:

0#Buildthenextvariabletable

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

#GeneralOutputSettings

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

sub_level:

1#Enableautomaticsubprogramsupport

breakarcs:

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

arcoutput:

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

arctype:

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

do_full_arc:

0#Allowfullcircleoutput?

0=no,1=yes

helix_arc:

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

arccheck:

3#Checkforsmallarcs,converttolinear

atol:

.01#Angularitytoleranceforarccheck=2

ltol:

.002#Lengthtoleranceforarccheck=1

vtol:

.0001#Systemtolerance

maxfeedpm:

500#Limitforfeedininch/min

ltol_m:

.05#Lengthtoleranceforarccheck=1,metric

vtol_m:

.0025#Systemtolerance,metric

maxfeedpm_m:

10000#Limitforfeedinmm/min

force_wcs:

yes#ForceWCSoutputateverytoolchange?

spaces:

0#Numberofspacestoaddbetweenfields

omitseq:

no#Omitsequencenumbers?

seqmax:

9999#Max.sequencenumber

stagetool:

0#0=Donotpre-stagetools,1=Stagetools

use_gear:

0#Outputgearselectioncode,0=no,1=no

max_speed:

10000#Maximumspindlespeed

min_speed:

50#Minimumspindlespeed

nobrk:

no#Omitbreakupofx,y&zrapidmoves

progname:

1#Useuppercaseforprogramname(sprogname)

xflip:

no#ReverseXaxisorientation-eap1/17/03

yflip:

no#ReverseYaxisorientation-eap1/17/03

zflip:

no#ReverseZaxisorientation-eap1/17/03

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

#RotaryAxisSettings

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

vmc:

1#0=HorizontalMachine,1=VerticalMill

rot_on_x:

1#DefaultRotaryAxisOrientation,Seeques.164.

#0=Off,1=AboutX,2=AboutY,3=AboutZ

rot_ccw_pos:

1#Axissigneddir,0=CWpositive,1=CCWpositive

index:

0#Useindexpositioning,0=FullRotary,1=Indexonly

ctable:

5#Degreesforeachindexstepwithindexingspindle

use_frinv:

1#UseInverseTimeFeedratesin4Axis,(0=no,1=yes)

maxfrdeg:

2000#Limitforfeedindeg/min

maxfrinv:

999.99#Limitforfeedinversetime

frc_cinit:

1#ForceCaxisresetattoolchange

ctol:

225#Toleranceindeg.beforerevflagchanges

ixtol:

.01#Toleranceindeg.forindexerror

frdegstp:

10#Steplimitforrotaryfeedindeg/min

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

#EnableCannedDrillCycleSwitches

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

usecandrill:

yes#Usecannedcyclefordrill

usecanpeck:

yes#UsecannedcycleforPeck

usecanchip:

yes#UsecannedcycleforChipBreak

usecantap:

yes#UsecannedcycleforTap

usecanbore1:

yes#UsecannedcycleforBore1

usecanbore2:

yes#UsecannedcycleforBore2

usecanmisc1:

yes#UsecannedcycleforMisc1

usecanmisc2:

yes#UsecannedcycleforMisc2

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

#

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

当前位置:首页 > 党团工作 > 入党转正申请

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

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