华兴数控编程实例
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
华兴数控编程实例
例一.图示如下零件
材料:黄铜,毛坯:锻件,单边余量约1mm,
螺纹为公制直螺纹,螺距1.5mm
1#刀:内孔刀;2#刀:割槽刀(刀宽为槽宽3mm);3#刀:螺纹刀刀具起始点为(X100,Z50);
N0010M03S1500
N0020G00X100Z50
N0030T1
N0040G00X30
N0050G00Z0
N0060G01X55F150(加工端面)
N0070G01X39.5
N0080G01X36.5Z-1.5(倒角1.5×45)
N0090G01Z-26(车削内孔φ38)
N0100G03X30Z-30R4F100(车削内圆弧R4)
N0110G01Z-37(车削内孔φ30)
N0120G00X28(X向退刀)
N0130G00Z50(Z向退刀)
N0140T2(换内孔刀割槽)
N0150G00X35(快速进刀)
N0160G00Z-18(快速进刀)
N0170G01X44F150(割槽)
N0180G00X36(快速退刀)
N0190G00Z50(快速退刀)
N0200T3(换螺纹刀加工螺纹)
N0210S700
N0220G00X36.5Z2(快速进刀)
N0230G86Z-16K1.5I-4R2L4(加工螺纹)
N0240G00X100Z80
N0250M05
N0260T1
N0270G00X100Z50
N0280M02
例二.图示如下零件
材料:45#,毛坯:锻件,单边余量约1mm,
螺纹为英制锥螺纹,螺距每英寸14牙,
1#刀:外圆刀,2#刀:外螺纹刀
刀具起始点为(X100,Z160)
N0010M03S1000
N0020M08
N0030G00X100Z160
N0040T1
N0050G00X44Z30.2(快速进刀)
N0060G01X30F120(粗车端面)
N0070G00Z107(快速退刀)
N0080G00X18.4(快速进刀)
N0090G01Z104F120(慢速进刀)
N0100G01X20.4Z84(粗车外锥,直径余量0.4) N0110G01Z34(粗车外圆φ20)
N0120G02X28Z30.2R3.8F80(粗车R4)
N0130G01X40.2F120(粗车端面)
N0140G01Z10(粗车外圆φ40)
N0150G00Z104(快速退刀)
N0160S1500
N0170G00X24(快速进刀)
N0180G01X10F120(精车端面)
N0190G01X15
N0200G01X18Z102.5(倒角1.5×45)
N0210G01X20Z84(精车锥度)
N0220G01Z34(精车外圆φ20)
N0230G02X28Z30R4F80(精车R4)
N0240G01X40F120(精车端面)
N0250G01Z10(精车外圆φ40)
N0260G00X100Z160(快速退刀)
N0270T2(换螺纹刀加工螺纹)
N0280S700
N0290G00X17.8Z106(快速进刀)
N0300G87X20Z84K14I4R1.96L8(车削锥度螺纹)
N0310G00X100Z160
N0320M05
N0330M09
N0340T1
N0350G00X100Z160
N0360M02
例三.下图所示零件,共用三把刀具,
1#刀:为90°外圆刀,2#刀:5mm切槽刀(5mm),3#刀:60°螺纹刀毛坯尺寸φ60χ150,材料:铝。
编程如下:
N0010G00X70Z130
N0020M03S800
N0030G01Z127F80(慢速进刀)
N0040X-0.5(车端面)
N0050G00Z130(快速退刀)
N0060X56.2(快速退刀)
N0070G01Z0F80(粗车外圆φ56) N0080G0X58(快速退刀)
N0090Z130(快速退刀)
N0100G01X50.5F80(慢速进刀)
N0110Z14(粗车外圆)
N0120G00X52(快速退刀)
N0130Z130(快速退刀)
N0140G01X44F80(慢速进刀)
N0150Z70(粗车外圆)
N0160G00X46(快速退刀)
N0170Z130(快速退刀)
N0180G01X40F80(慢速进刀)
N0190Z70(粗车外圆)
N0200G00X42(快速退刀)
N0210Z130(快速退刀)
N0220G01X36.2F80(慢速进刀)
N0230Z75(粗车外圆)
N0240G00X38(快速退刀)
N0250Z130(快速退刀)
N0260G01X28.5F80(慢速进刀)
N0270X30.5Z125(倒角)
N0280Z104(粗车外圆)
N0290G00X90(快速退刀)
N0300Z200(快速退刀)
N0310T02
N0320M03S400