




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
4INTERPOLATIONFUNCTIONS4.1POSITIONING(G00)4.2LINEARINTERPOLATION(G01)4.3CIRCULARINTERPOLATION(G02,G03)4.4HELICALINTERPOLATION(G02,G03)4.5HYPOTHETICALAXISINTERPOLATION(G07)4.6THREADCUTTING(G33)4.1POSITIONING(G00)
TheG00commandmovesatooltothepositionintheworkpiecesystemspecifiedwithanabsoluteoranincrementalcommandatarapidtraverserate.
Intheabsolutecommand,coordinatevalueoftheendpointisprogrammed.
Intheincrementalcommand,thedistancethetoolmovesisprogrammed.FormatG00IP-;
IP-:foranabsolutecommand,thecoordinatesofanendposition,andforanincrementalcommand,thedistancethetoolmoves.Explanations
Eitherofthefollowingtoolpathscanbeselectedaccordingtobit1ofparameterLRPNo.1401.·Nonlinearinterpolationpositioning
Thetoolispositionedwiththerapidtraverserateforeachaxisseparately.Thetoolpathisnormallystraight.·Linearinterpolationpositioning
Thetoolpathisthesameasinlinearinterpolation(G01).Thetoolispositionedwithintheshortestpossibletimeataspeedthatisnotmorethantherapidtraverserateforeachaxis.
TherapidtraverserateinG00commandissettotheparameterNo.1420foreachaxisindependentlybythemachinetoolbuilder.InthepositioningmodeactuatedbyG00,thetoolisacceleratedtoapredeterminedspeedatthestartofablockandisdeceleratedattheendofablock.Executionproceedstothenextblockafterconfirmingtheinposition.Fig.4.1LinearandNonlinearinterpolationpositioning“Inposition”meansthatthefeedmotoriswithinthespecifiedrange.
Thisrangeisdeterminedbythemachinetoolbuilderbysettingtoparameter(No.1826).
Inpositioncheckforeachblockcanbedisabledbysettingbit5(NCI)ofparameterNo.1601accordingly.Limitations
TherapidtraverseratecannotbespecifiedintheaddressF.
Eveniflinearinterpolationpositioningisspecified,nonlinearinterpolationpositioningisusedinthefollowingcases.Therefore,becarefultoensurethatthetooldoesnotfoultheworkpiece.
G28specifyingpositioningbetweenthereferenceandintermediatepositions.4.2LINEARINTERPOLATION(G01)
Toolscanmovealongaline.FormatG01IP-F-;
F-:speedoftoolfeed(feedrate)
IP-:foranabsolutecommand,thecoordinatesofanendpoint,andforanincrementalcommand,thedistancethetoolmoves.Explanations
AtoolmovesalongalinetothespecifiedpositionatthefederatespecifiedinF.
ThefeedratespecifiedinFiseffectiveuntilanewvalueisspecified.Itneednotbespecifiedforeachblock.
ThefeedratecommandedbytheFcodeismeasuredalongthetoolpath.
IftheFcodeisnotcommanded,thefeedrateisregardedaszero.
Thefeedrateofeachaxisdirectionisasfollows:G01ααββγγζζFf;Feedrateofαaxisdirection:Fα=
×fFeedrateofβaxisdirection:Fβ=
×fFeedrateofγaxisdirection:Fγ=
×fFeedrateofζaxisdirection:Fζ=
×f
Thefeedrateoftherotaryaxisiscommandedintheunitofdeg/min(theunitisdecimalpointposition).
Whenthestraightlineaxisα(suchasX,Y,orZ)andtherotatingaxisβ(suchasA,B,orC)arelinearlyinterpolated,thefeedrateisthatinwhichthetangentialfeedrateintheαandβcartesiancoordinatesystemiscommandedbyF(mm/min).
βaxisfeedrateisobtained;atfirst,thetimerequiredfordistributioniscalculatedbyusingtheaboveformula,thentheβaxisfeedrateunitischangedtodeg/min.
Acalculationexampleisasfollows:
G91G01X20.0B40.0F300.0;
ThischangestheunitoftheCaxisfrom40.0degto40mmwithmetricinput.Thetimerequiredfordistributioniscalculatedasfollows:ThefeedratefortheCaxisis
Insimultaneous3or4axescontrol,thefeedrateiscalculatedthesamewayasin2axescontrol.Examples·LinearinterpolationFig.4.2(a)Linearinterpolation·FeedratefortherotationaxisFig.4.2(b)Feedratefortherotationaxis4.3CIRCULARINTERPOLATION(G02,G03)
Thecommandbelowwillmoveatoolalongacirculararc.Format
ArcintheXpYpplaneArcintheZpXpplaneArcintheYpZpplaneExplanations·Directionofthecircularinterpolation“Clockwise”(G02)and“Counterclockwise”(G03)ontheXpYpplane(ZpXpplaneorYpZpplane)aredefinedwhentheXpYpplaneisviewedinthepositivetonegativedirectionoftheZpaxis(YpaxisorXpaxis,respectively)intheCartesiancoordinatesystem.Seethefigurebelow.Fig.4.3(a)Feedratefortherotationaxis·Distancemovedonanarc
TheendpointofanarcisspecifiedbyaddressXp,YporZp,andisexpressedasanabsoluteorincrementalvalueaccordingtoG90orG91.
Fortheincrementalvalue,thedistanceoftheendpointwhichisviewedfromthestartpointofthearcisspecified.·Distancefromthestartpointtothecenterofarc
ThearccenterisspecifiedbyaddressesI,J,andKfortheXp,Yp,andZpaxes,respectively.ThenumericalvaluefollowingI,J,orK,however,isavectorcomponentinwhichthearccenterisseenfromthestartpoint,andisalwaysspecifiedasanincrementalvalueirrespectiveofG90andG91,asshownbelow.I,J,andKmustbesignedaccordingtothedirection.Fig.4.3(b)Distancefromthestartpointtothecenterofarc
I0,J0,andK0canbeomitted.WhenXp,Yp,andZpareomitted(theendpointisthesameasthestartpoint)andthecenterisspecifiedwithI,J,andK,a360°arc(circle)isspecified.G021;Commandforacircle.
Ifthedifferencebetweentheradiusatthestartpointandthatattheendpointexceedsthepermittedvalueinaparameter,anP/Salarmoccurs.·Arcradius
Thedistancebetweenanarcandthecenterofacirclethatcontainsthearccanbespecifiedusingtheradius,R,ofthecircleinsteadofI,J,andK.Inthiscase,onearcislessthan180°,andtheotherismorethan180°areconsidered.Whenanarcexceeding180°iscommanded,theradiusmustbespecifiedwithanegativevalue.IfXp,Yp,andZpareallomitted,iftheendpointislocatedatthesamepositionasthestartpointandwhenRisused,anarcof0°isprogrammedG02R;(Thecutterdoesnotmove.)Fig.4.3(c)Arcradius·Feedrate
ThefeedrateincircularinterpolationisequaltothefeedratespecifiedbytheFcode,andthefeedratealongthearc(thetangentialfeedrateofthearc)iscontrolledtobethespecifiedfeedrate.
Theerrorbetweenthespecifiedfeedrateandtheactualtoolfeedrateis±2%orless.However,thisfeedrateismeasuredalongthearcafterthecuttercompensationisapplied.Restrictions
IfI,J,K,andRaddressesarespecifiedsimultaneously,thearcspecifiedbyaddressRtakesprecedenceandtheotherareignored.
Ifanaxisnotcomprisingthespecifiedplaneiscommanded,analarmisdisplayed.
Forexample,ifaxisUisspecifiedasaparallelaxistoXaxiswhenplaneXYisspecified,anP/Salarm(No.028)isdisplayed.
Whenanarchavingacenterangleapproaching180°isspecified,thecalculatedcentercoordinatesmaycontainanerror.Insuchacase,specifythecenterofthearcwithI,J,andK.ExamplesFig.4.3(d)ProgrammingexamplesTheabovetoolpathcanbeprogrammedasfollows:·InabsoluteprogrammingG92X200.0Y40.0Z0;
G90G03X140.0Y100.0R60.0F300.;G02X120.0Y60.0R50.0;
ORG92X200.0Y40.0Z0;G90G03X140.0Y100.0I-60.0F300.;G02X120.0Y60.0I-50.0;·Inincrementalprogramming
G91G03X-60.0Y60.0R60.0F300.;G02X-20.0Y-40.0R50.0;
ORG91G03X-60.0Y60.0I-60.0F300.;G02X-20.0Y-40.0I-50.0;4.4HELICALINTERPOLATION(G02,G03)
Helicalinterpolationwhichmovedhelicallyisenabledbyspecifyinguptotwootheraxeswhichmovesynchronouslywiththecircularinterpolationbycircularcommands.Format
SynchronouslywitharcofXpYpplaneSynchronouslywitharcofZpXpplaneSynchronouslywitharcofYpZpplane
α,β:Anyoneaxiswherecircularinterpolationisnotapplied.
Uptotwootheraxescanbespecified.Explanations
Thecommandmethodistosimplyorsecondaryaddamovecommandaxiswhichisnotcircularinterpolationaxis.AnFcommandspecifiesafeedratealongacirculararc.Therefore,thefeedrateofthelinearaxisisasfollows:
Determinethefeedratesothelinearaxisfeedratedoesnotexceedanyofthevariouslimitvalues.Bit0(HFC)ofparameterNo.1404canbeusedtopreventthelinearaxisfeedratefromexceedingvariouslimitvalues.Fig.4.4HelicalinterpolationRestrictions
Cuttercompensationisappliedonlyforacirculararc.
Tooloffsetandtoollengthcompensationcannotbeusedinablockinwhichahelicalinterpolationiscommanded.4.5
HYPOTHETICALAXIS
INTERPOLATION(G07)
Inhelicalinterpolation,whenpulsesaredistributedwithoneofthecircularinterpolationaxessettoahypotheticalaxis,sineinterpolationisenabled.
Whenoneofthecircularinterpolationaxesissettoahypotheticalaxis,pulsedistributioncausesthespeedofmovementalongtheremainingaxistochangesinusoidally.Ifthemajoraxisforthreading(theaxisalongwhichthemachinetravelsthelongestdistance)issettoahypotheticalaxis,threadingwithafractionalleadisenabled.TheaxistobesetasthehypotheticalaxisisspecifiedwithG07.FormatG07_1;HypotheticalaxiscancelG07_0;Hypotheticalaxissetting
Where,-isanyoneoftheaddressesofthecontrolledaxes.Explanations·Sineinterpolation
The_axisisregardedasahypotheticalaxisfortheperiodoftimefromtheG07_0commanduntiltheG07_1commandappears.
SupposesineinterpolationisperformedforonecycleintheYZplane.
ThehypotheticalaxisisthentheXaxis.X2+Y2=r2(ristheradiusofanarc.)(listhedistancetraveledalongtheZaxisinonecycle.)Fig.4.5(a)Hypotheticalaxisinterpolation·Interlock,strokelimit,andexternaldeceleration
Interlock,strokelimit,andexternaldecelerationcanalsoapplytothehypotheticalaxis.·Handleinterrupt
Aninterruptcausedbythehandlealsoappliestothehypotheticalaxis.
Thismeansthatmovementforahandleinterruptisperformed.Limitations·Manualoperation
Thehypotheticalaxiscanbeusedonlyinautomaticoperation.·Movecommand
Specifyhypotheticalaxisinterpolationonlyintheincrementalmode.·Coordinaterotation
Hypotheticalaxisinterpolationdoesnotsupportcoordinaterotation.Examples·SineinterpolationFig.4.5(b)Sineinterpolation
N001G07X0;
N002G91G17G03X-20.2Y0.0I-10.0Z20.0F100;
N003G01X10.0;
N004G07X1;
FromtheN002toN003blocks,theXaxisissettoahypotheticalaxis.
TheN002blockspecifieshelicalcuttinginwhichtheZaxisisthelinearaxis.SincenomovementtakesplacealongtheXaxis,movementalongtheYaxisisperformedwhileperformingsineinterpolationalongtheZaxis.
IntheN003block,thereisnomovementalongtheXaxis,andsothemachinedwellsuntilinterpolationterminates.
·Changingthefeedratetoformasinecurve
(Sampleprogram)
G07Z0;TheZaxisissettoahypothetical
axis.
G02X0Z0I10.0F4.;ThefeedrateontheXaxis
changessinusoidally.
G07Z1;TheuseoftheZaxisasahypothetical
axisiscancelled.Fig.4.5(c)Changingthefeedratetoformasinecurve4.6THREADCUTTING(G33)
Straightthreadswithaconstantleadcanbecut.Thepositioncodermountedonthespindlereadsthespindlespeedinrealtime.Thereadspindlespeedisconvertedtothefeedrateperminutetofeedthetool.FormatFig.4.6ThreadcuttingExplanations
Ingeneral,threadcuttingisrepeatedalongthesametoolpathinroughcuttingthroughfinishcuttingforascrew.Sincethreadcuttingstartswhenthepositioncodermountedonthespindleoutputsa1turnsignal,threadingisstartedatafixedpointandthetoolpathontheworkpieceisunchangedforrepeatedthreadcutt
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年二手汽车交易合同范文撰写技巧
- 2025年中外合作企业工伤保险合同规范
- 2025年临时活动板房租用合同
- 2025年商业街商铺租赁合同模板
- 2025年原材料供应与采购合同范例
- 2025年仓储保管箱租赁合同
- 2025年高速公路设计与施工合同范本
- 2025年个人合租住宅合同范文
- 2025年技术采购合同范文
- 2025年新能源车展租赁合同
- 碳酸钙脱硫剂项目可行性研究报告立项申请报告模板
- 山东省泰安市新泰市2024-2025学年(五四学制)九年级上学期1月期末道德与法治试题(含答案)
- DB3502T 160-2024 工业产品质量技术帮扶和质量安全监管联动工作规范
- 燃气农村协管员培训
- 春节后复工安全教育培训
- 提高发票额度的合同6篇
- 车站信号自动控制(第二版) 课件 -3-6502部分
- 2024安徽教师统一招聘考试《小学英语》试卷真题及答案
- TPO防水卷材在商业建筑屋面施工方案
- 2024解析:第九章大气压强-基础练(解析版)
- 《会展概述》课件
评论
0/150
提交评论