版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
LearningSituation1CNCLatheMachiningTask3CNCProgramforLathe數(shù)控技術(shù)應(yīng)用專業(yè)英語Task3CNCProgramforLathePartATechnicalReadingPartBPracticeactivityPartCBroadenyourhorizon數(shù)控技術(shù)應(yīng)用專業(yè)英語1.PreparingforCNClatheprogram2.ProgramCodes3.ApplicationofCNCProgram
PartATechnicalReading
1Task3CNCProgramforLathe(1)Coordinatesystems坐標(biāo)系Machinecoordinatesystem機床坐標(biāo)系Thereferencepointofthemachineisdefinedasthemachinezeropoint.Themachinemanufacturersetsamachinezeropointforeachmachine.Themachinezeropointistheoriginofthemachinecoordinatesystem.
機床參考點被定義為機床零點。機床制造商為每一臺機床設(shè)置一個機床零點。機床零點是機床坐標(biāo)系的原點。1.PreparingforCNClatheprogramTask3CNCProgramforLatheWorkpiececoordinatesystem工件坐標(biāo)系Whentheoperatorwantstodeterminethepositionoftheworkpieceonthemachine,hemustsettheworkpiececoordinatesystems.Severalworkpiececoordinatesystemscanbesetforoneworkpiece.操作者想要確定零件在機床上的位置時,必須建立工件坐標(biāo)系。一個工件可以設(shè)置幾個工件坐標(biāo)系。1.PreparingforCNClatheprogramTask3CNCProgramforLatheLocalcoordinatesystem局部坐標(biāo)系Ifthedimensionofaworkpieceistoobig,theusercansetanothercoordinatesysteminalocalareaoftheworkpiece,thisisalocalcoordinatesystem.當(dāng)工件尺寸太大時,用戶可以在工件上的某一局部區(qū)域設(shè)定另一個坐標(biāo)系,這個坐標(biāo)系就是局部坐標(biāo)系。
1.PreparingforCNClatheprogramTask3CNCProgramforLathe(2)Programzero程序零點Theoriginpointforeachaxisiscommonlycalledtheprogramzeropoint,alsocalledworkpiecezero,workpieceoriginorzeropoint.每個坐標(biāo)軸的原點通常稱為程序零點,也稱為工件零點、工件原點或零點。Oneofthemainbenefitsofusingtherectangularcoordinatesystemisthatmanyofthecoordinatesusedwithintheprogramcanbetakenrightfromtheprint.使用直角坐標(biāo)系編程的主要好處是:程序中要用到的許多坐標(biāo)都可以直接從圖紙中得到。Task3CNCProgramforLathe1.PreparingforCNClatheprogramTheplacementofprogramzeroisdeterminedbytheprogrammer.Programzerocouldbeplacedanywhere.程序零點的位置由編程者確定,程序零點可以設(shè)定在任何位置。Thewiseselectionofaprogramzeropointwillmakeprogrammingmucheasier.合理選擇程序零點會使編程更加簡便。Youshouldalwaysmakeyourprogramzeropointalocationonthedatumsurfacesofyourworkpiece.程序零點應(yīng)選擇在零件的尺寸基準上。Thereisaprogramzeropointforeachaxis.每一個坐標(biāo)軸都有一個程序零點。Task3CNCProgramforLathe1.PreparingforCNClatheprogramTheprogramzeroofalatheisgenerallysetinthemidpointoftheworkpiece'srightsurface.
車床程序零點一般設(shè)在工件右端面中點。Task3CNCProgramforLathe1.PreparingforCNClatheprogram(3)Absoluteandincremental
絕對與增量Whenyouarespecifyingcoordinatesfromtheprogramzeropoint,itiscalledtheabsolutemodeofprogramming.
以程序零點確定坐標(biāo)值稱為絕對模式編程。Formachiningcenter(lathe)programming,theabsolutemodeisspecifiedbyaG90(X、Z)wordintheprogram.
加工中心(數(shù)控車床)用G90(X、Z)表示絕對模式編程。Task3CNCProgramforLathe1.PreparingforCNClatheprogramIntheincrementalsystem,everymeasurementreferstothepreviouslydimensionedposition.在增量系統(tǒng)中,每個運動都是相對于前一個位置的。Iftheprogrammermakesamistakeinincrementalprogram,everyincrementalmovementfromthatpointwillbeincorrect.
如果編程者在增量編程中把某點坐標(biāo)值弄錯,那么從那點后的每一個增量運動都是不正確的。Iftheprogrammermakesthesamemistakeinanabsoluteprogram,onlyonemovementwillbeincorrect.Anymotioncanbecommandedineithertheabsoluteortheincrementalmode.
如果編程者在絕對編程中出現(xiàn)同樣的錯誤,則只有一個運動是不正確的。任何運動都可以用絕對或增量來表示。Task3CNCProgramforLathe1.PreparingforCNClatheprogram(4)Programconfiguration
程序結(jié)構(gòu)Generallyspeaking,therearetwotypesofprograms:themainprogramandthesubprogram.一般來說,程序類型有兩種:主程序和子程序。Eitherthemainprogramorasubprogramcontainsthreeparts:theprogramnumber,theprogramcontentandtheprogramend.不論是主程序還是子程序,都由三部分組成:程序號、程序內(nèi)容、程序結(jié)束。
Task3CNCProgramforLathe1.PreparingforCNClatheprogramTask3CNCProgramforLathe1.PreparingforCNClatheprogramTheprogramnumberusuallystartswith“O”(or“%”).Thenumberafter“O”(or“%”)istheprogramnumber.Programnumbersrangefrom01to9999.程序號通常以“O”(或“%”)開始。O(或“%”)后面的數(shù)字是程序號。程序號的范圍從01至9999。Thecontentoftheprogramisthecoreofthewholeprogram.Itismadeupofmanyblocks程序內(nèi)容是整個程序的核心,由許多程序段組成。TheM02orM30commandisusedtostopthewholeprogram.
M02或M30指令用于整個程序的結(jié)束Task3CNCProgramforLathe1.PreparingforCNClatheprogram
(5)TheF,S,MandTcodesTheFcodecontrolsthespeedofthecuttingfeed.Itcanbeexpressedasfeedperminuteorfeedperrevolution.
F代碼控制切削進給速度??梢杂妹糠昼娺M給量或每轉(zhuǎn)進給量來表示。AFspecificationisamodalandremainsineffectinaprogramforallsubsequenttoolmovements.
F代碼是模態(tài)的,在隨后的刀具運動程序段中一直有效。Feedspeedcanbechangedfrequentlyinaprogram,asneeded.一個程序中可以根據(jù)需要改變進給速度。F、S、M和T代碼Task3CNCProgramforLathe1.PreparingforCNClatheprogram
TheScodecontrolsthespindlespeed.TheselectedspeedvaluerightfollowstheSaddress.
S代碼控制主軸轉(zhuǎn)速。S地址后面是所選擇的轉(zhuǎn)速值。TheScommandshouldbegiventogetherwiththespindlerevolutioncommand(M03orM04).
S指令通常和主軸旋轉(zhuǎn)指令(M03或M04)一起使用。Forexample,M03S1600directsthecontroltosettheCNCmachinespindle1600r/min.
例如,“M03S1600;”表示機床主軸轉(zhuǎn)速為每分鐘1600轉(zhuǎn)。Task3CNCProgramforLathe1.PreparingforCNClatheprogram
TheMcodesarecalledthemiscellaneouswordsandareusedtocontrolmiscellaneousfunctionofthemachine.
M代碼叫做輔助功能字,控制機床的輔助功能。Suchfunctionsincludeturnthespindleon/off,start/stopthemachine,turnon/offthecoolant,changethetoolandreturntothestartoftheprogram.包括主軸的轉(zhuǎn)動/停止、機床的啟動/停止、冷卻液的開/關(guān)、換刀和返回程序頭等功能。Task3CNCProgramforLathe1.PreparingforCNClatheprogram
TheTcodeisusedtospecifythetoolnumber.
T代碼用來指定刀具號OneTcodecanbecommandedinablock.一個程序段只能有一個T代碼。Task3CNCProgramforLathe1.PreparingforCNClatheprogram
(6)GcodeG代碼Gcodesareusuallyclassifiedintotwotypes.ThemodalGcodesspecificationwillremainineffectforallsubsequentblocksunlessreplacedbyanotherGcodeofsamegroup.Thenon-modalGcodesspecificationwillonlyaffecttheblockthatitappears.
G代碼通常放在程序段的開始。G代碼通常分為兩類。模態(tài)G代碼功能在隨后的程序段一直有效,直至被同組的另一個代碼代替。非模態(tài)G代碼功能僅在所出現(xiàn)的程序段內(nèi)起作用。Task3CNCProgramforLathe1.PreparingforCNClatheprogram
(1)Basicprogramcodes
基本編程代碼
·G00(rapidtraverse/positioning)G00(快速定位)
TheG00commandmovesatooltothepositionintheworkpiecesystemspecifiedwithanabsoluteoranincrementalcommandatarapidtraverserate.
G00指令是在工件坐標(biāo)系中以快速移動速度移動刀具到達由絕對或增量指令指定的位置。Theformatofcommandis“G00X(U)(W);”.
快速定位指令格式為:G00X(U)
Z(W)
;Task3CNCProgramforLathe2.ProgramCodes
G01(linearinterpolation)G01(直線插補)
TheG01commandmovesatoolalongalinetothespecifiedpositionatthefeedratespecifiedinFcode.
G01指令是將刀具以F代碼指定的進給速度沿直線移動到指定的位置。Theformatofcommandis“G01X(U)Z(W)F;”.Fisexpressedasspeedoftoolfeed(feedrate).
G01指令格式為:G01X(U)
Z(W)
F
;。Task3CNCProgramforLathe2.ProgramCodes
G02/G03(circularinterpolation)G02/G03(圓弧插補)Thecommandwillmoveatoolalongacirculararc.該指令使刀具沿圓弧運動。Theformatofcommandis“G02(G03)X(U)Z(W)R(orIK)F;”.
指令的格式為:G02(G03)X(U)
Z(W)
R
(或I
K
)F
;。Task3CNCProgramforLathe2.ProgramCodes
TheendpointofanarcisspecifiedbyX(U)andZ(W).Fortheincrementalvalue,thedistanceoftheendpointthatisviewedfromthestartpointofthearcisspecified.用X(U)和Z(W)指定圓弧終點。對于增量值,是指令從圓弧終點相對于圓弧起點的距離。ThearccenterisspecifiedbyaddressesIandKfortheXandZaxes,respectively.ThenumericalvaluefollowingIandK,however,isavectorcomponentinwhichthearccenterisseenfromthestartpoint.圓弧圓心用地址I和K(分別對應(yīng)于X和Z軸的坐標(biāo))指定。但是,I和K后面跟的數(shù)值是從圓弧起點向圓心看的矢量分量。Task3CNCProgramforLathe2.ProgramCodes
G04(dwell)G04(暫停)
Theexecutionofthenextblockisdelayedbythespecifiedtime.按指定的時間延遲執(zhí)行下個程序段。Theformatofcommandis“G04X_;orG04U_;orG04P_;”.指令格式為:G04X_;或G04U_;或G04P_;。Task3CNCProgramforLathe2.ProgramCodes
2.ProgramCodes
(2)ToolcompensationcodesMostcontrolsusethreeGcodeswithtoolnoseradiuscompensation.大多數(shù)的數(shù)控系統(tǒng)使用三個G代碼表示刀尖半徑補償。G41isusedtoinstateatoolnoseradiuscompensationleft.G42isusedtoinstateatoolnoseradiuscompensationright.G40isusedtocanceltoolnoseradiuscompensation.
G41用來設(shè)置刀尖半徑左補償,G42用來設(shè)置刀尖半徑右補償,G40用來取消刀尖半徑補償。Task3CNCProgramforLathe(3)Cyclecodes循環(huán)代碼G71(stockremovalinturning)Thiscannedcyclewillroughoutmaterialonapartgiventhefinishedpartshape.此循環(huán)指令能按照給定的精加工后的零件形狀粗車去除多余材料。AllthataprogrammerneedstodoistodefinetheshapeofapartbyprogrammingthefinishedtoolpathandthensubmittingthepathdefinitiontoG71bymeansofaPQblockdesignation.編程人
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五版跨境物流運輸合同貨物保險及責(zé)任劃分規(guī)定3篇
- 2025年度個人房屋租賃貸款合同標(biāo)準版
- 二零二五年度二零二五綠色建筑節(jié)能改造工程合同4篇
- 2025年度醫(yī)院皮膚科承包運營管理合同范本4篇
- 2025年度櫥柜電商平臺入駐合作協(xié)議4篇
- 二零二五年度陶瓷裝飾材料購銷合作框架協(xié)議3篇
- 二零二五年度文化產(chǎn)業(yè)項目投資與合作合同4篇
- 二零二五年度環(huán)保產(chǎn)業(yè)項目借款合同綠色條款4篇
- 2025年度木材加工行業(yè)安全監(jiān)管合作協(xié)議4篇
- 二零二五年度農(nóng)場農(nóng)產(chǎn)品電商平臺運營合作協(xié)議4篇
- 家具生產(chǎn)車間規(guī)章制度
- (高清版)JTGT 3360-01-2018 公路橋梁抗風(fēng)設(shè)計規(guī)范
- 小紅書違禁詞清單(2024年)
- 胰島素注射的護理
- 云南省普通高中學(xué)生綜合素質(zhì)評價-基本素質(zhì)評價表
- 2024年消防產(chǎn)品項目營銷策劃方案
- 聞道課件播放器
- 03軸流式壓氣機b特性
- 五星級酒店收入測算f
- 大數(shù)據(jù)與人工智能ppt
- 人教版八年級下冊第一單元英語Unit1 單元設(shè)計
評論
0/150
提交評論