数控机床程序200例 2

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

例21:等宽槽的零件采用子程序(M98指令)编程

O0021

N10G92X100Z100(设程序参考点)

N20G90G00X42Z2

N40M06T0101

N35G04P3

N38M03M07

N50G90G00X32Z-12

N60M98P1021L1(调用1021子程序)

N70G90G00X32Z-32

N80M98P1021L1

N90G90G00X42Z2

N95T0100

N100M05M09

N110M30

O1021(开始定义1021子程序)

N10G91(设增量方式)

N20G01X-12F20

N30G01X12F200

N40G90G00Z-8

N50G01X-12F20

N60G01X12F200

N70G90

N80M99(子程序结束)

例22:轴类零件1采用单循环加工,G81指令编程。

O0022

N10G92X100Z100(设定程序参考点)N20G90S800F200

N30M06T0101

N35G04P3

N38M03M07

N40G90G00X26.2Z0.2

N50G81G91X-1Z-35.2F100

N60X-4Z-30.2

N70X-6Z-30.2(循环结束)

N80G01X20F100

N90Z-30

N100G03X22.5Z-32.5R2.5

N110G01Z-35

N120G90G00X100Z100

N125T0100

N140M30

例23:轴类零件2实例

O0023

N10G92X100Z100(设定程序参考点)

N20M06TO101

N25G04P3

N30M03M07

N40G90G00X32Z4

N50G01Z0F200

N60X-1

N70G90G00X32Z4

N80G71U2W0R1P90Q170X0.5Z0F200

N90G01X8Z4F100

N100Z0

N110X10Z-1

N120Z-15

N130X14

N140X16Z-16

N150Z-28

N160G02X24Z-32R4

N170G01Z-35

N210G90G00X100Z100

N215T0100

N220M05M09

N230M30

例24:轴类零件3的综合加工

O0024

N10G92X100Z100

N20M06TO101

N25G04P3

N30M03M07

N40G90G00X32Z4

N50G01Z0F200

N60X-1

N70G90G00X32Z4

N80G73U15W0R7P90Q190X0.5Z0F200(粗车外圆)N90G01X0Z4F100

N100Z0

N110G03X10.2Z-2.84R6

N120G01Z-6

N130X12

N150X16Z-19

N160X10Z-26

N170G03X10Z-36R7.07

N180G01X24Z-46

N190Z-54

N210G90G00X100Z100

N220T0100

N225M05

N230M00

N240M06T0303

N250G04P3

N255M03

N260G90G00X32Z-15(假定切刀宽度为3mm)N270G01X10.2F50

N280G04P0.5

N290G01X32F200

N300G90G00X100Z100

N304T0300

N306M05

N308M00

N310M06T0202

N315G04P3

N318M03

N320G90G00X16Z-2(车M12螺纹)

N330G82X11.3Z-14F1.0

N340G82X10.9Z-14F1.0

N350G82X10.7Z-14F1.0

N360G82X10.7Z-14F1.0

N370G82X10.7Z-14F1.0

N380G82X10.7Z-14F1.0

N390G90G00X100Z100

N392T0200

N394M05

N396M00

N400M06T0303

N405G04P3

N408M03

N410G90G00X32Z-55(切断)

N420G01X-1F50

N430G90G00X32

N440G00X100Z100

N450T0300

N450M05M09

例25:轴类零件4的综合加工

O0025

N10G92X100Z100

N20M06T0101G90

N25G04P3

N30M03M07

N40G90G00X40Z2

N50G01Z0F200

N60X-1

N70G90G00X40Z2

N80G71U2W0R1P90Q180X0.5Z0F200(粗车外圆)N90G01X8Z2F100

N100Z0

N110X10Z-1

N120Z-21.1

N130X10

N140Z-36

N150G02X24Z-40R4

N160G01Z-46.2

N170X32Z-54

N180Z-67

N220G90G00X100Z100

N225T0100

N230M05M00

N240M06T0404

N246G04P3

N248M03

N250G90G00X20Z-21.1(假定切刀宽度为3.1mm)N260G01X8F20

N270G04P0.5

N280G90G00X20

N290G90G00X100Z100

N292T0100

N294M05

N296M00

N300M06T0202

N305G04P3

N308M03

N310G90G00X14Z4

N320G82X9.2Z-20F1.5(车M10螺纹)

N330G82X8.6Z-20F1.5

N340G82X8.3Z-20F1.5

相关文档
最新文档