數控車床編程實例

數控車床編程實例1.根據零件圖樣要求、毛坯情況,確定工藝方案及加工路線1)對細長軸類零件,軸心線為工藝基準,用三爪自定心卡盤夾持φ58㎜外圓一頭,使工件伸出卡盤175㎜,用頂尖頂持另一頭,一次裝夾完成粗精加工(註:切斷時將頂尖退出)。2)工步順序①粗車外圓。基本採用階梯切削路線,粗車φ56㎜、SφS50㎜、φ36㎜、M30㎜各外圓段以及錐長為10㎜的圓錐段,留1㎜的餘量。②自右向左精車各外圓面:螺紋段右倒角→切削螺紋段外圓φ30㎜→車錐長10㎜的圓錐→車φ36㎜圓柱段→車φ56㎜圓柱段。③車5㎜×φ26㎜螺紋退刀槽,倒螺紋段左倒角,車錐長10㎜的圓錐以及車5㎜×φ34㎜的槽。④車螺紋。⑤自右向左粗車R15㎜、R25㎜、Sφ50㎜、R15㎜各圓弧面及30°的圓錐面。⑥自右向左精車R15㎜、R25㎜、Sφ50㎜、R15㎜各圓弧面及30°的圓錐面。⑦切斷。2.選擇機床設備  根據零件圖樣要求,選用經濟型數控車床即可達到要求。故選用CK0630型數控卧式車床。3.選擇刀具  根據加工要求,選用三把刀具,T01為粗加工刀,選90°外圓車刀,T03為切槽刀,刀寬為3㎜,T05為螺紋刀。  同時把三把刀在自動換刀刀架上安裝好,且都對好刀,把它們的刀偏值輸入相應的刀具參數中。4.確定切削用量  切削用量的具體數值應根據該機床性能、相關的手冊並結合實際經驗確定,詳見加工程序。5.確定工件坐標系、對刀點和換刀點  確定以工件左端面與軸心線的交點O為工件原點,建立XOZ工件坐標系。  採用手動試切對刀方法(操作與上面數控車床的對刀方法相同)把點O作為對刀點。換刀點設置在工件坐標系下X70、Z30處。6.編寫程序(該程序用於CK0630車床)

  按該機床規定的指令代碼和程序段格式,把加工零件的全部工藝過程編寫成程序清單。該工件的加工程序如下:N0010G59X0Z195N0020G90N0030G92X70Z30N0040M03S450N0050M06T01N0060G00X57Z1N0070G01X57Z-170F80N0080G00X58Z1N0090G00X51Z1N0100G01X51Z-113F80N0110G00X52Z1N0120G91N0130G81P3N0140G00X-5Z0N0150G01X0Z-63F80N0160G00X0Z63 N0170G80N0180G81P2N0190G00X-3Z0N0200G01X0Z-25F80N0210G00X0Z25N0220G80N0230G90N0240G00X31Z-25N0250G01X37Z-35F80N0260G00X37Z1N0270G00X23Z-72.5 N0280G00X26Z1N0290G01X30Z-2F60 N0300G01X30Z-25F60N0310G01X36Z-35F60N0320G01X36Z-63F60N0330G00X56Z-63N0340G01X56Z-170F60N0350G28N0360G29N0370M06T03N0380M03S400N0390G00X31Z-25N0400G01X26Z-25F40N0410G00X31Z-23N0420G01X26Z-23F40N0430G00X30Z-21N0440G01X26Z-23F40N0450G00X36Z-35N0460G01X26Z-25F40N0470G00X57Z-113N0480G01X34.5Z-113F40N0490G00X57Z-111N0500G01X34.5Z-111F40N0510G28N0520G29N0530M06T05N0540G00X30Z2N0550G91N0560G33D30I27.8X0.1P3Q0N0570G01X0Z1.5N0580G33D30I27.8X0.1P3Q0N0590G90N0600G00X38Z-45N0610G03X32Z-54I60K-54F40N0620G02X42Z-69I80K-54F40N0630G03X42Z-99I0K-84F40N0640G03X36Z-108I64K-108F40N0650G00X48Z-113N0660G01X56Z-135.4F60N0670G00X56Z-113N0680G00X40Z-113N0690G01X56Z-135.4F60N0700G00X50Z-113N0710G00X36Z-113N0720G01X56Z-108F60N0730G00X36Z-45N0740G00X36Z-45N0750M03S800N0760G03X30Z-54I60K-54F40N0770G03X40Z-69I80K-54F40N0780G02X40Z-99I0K-84F40N0790G03X34Z-108I64K-108F40N0800G01X34Z-113F40N0810G01X56Z-135.4F40N0820G28N0830G29N0840M06T03N0850M03S400N0860G00X57Z-168N0870G01X0Z-168F40N0880G28N0890G29N0900M05 N0910M02
推薦閱讀:

Leetcodes Solutions 9 Palindrome Number
技術真的沒用嗎
常見問題匯總
走迷宮——來做道題?
分治法,動態規劃及貪心演算法區別

TAG:編程 | 數控車 | 編程實例 | 車床 |