新3167cx4558数控机床200例源程序等宽槽的零件采用子程序M98指令编程.docx
《新3167cx4558数控机床200例源程序等宽槽的零件采用子程序M98指令编程.docx》由会员分享,可在线阅读,更多相关《新3167cx4558数控机床200例源程序等宽槽的零件采用子程序M98指令编程.docx(40页珍藏版)》请在冰豆网上搜索。
新3167cx4558数控机床200例源程序等宽槽的零件采用子程序M98指令编程
例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
N130M05M09
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
N140Z-15
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
N460M30
例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
N350G82X8.1Z-20F1.5
N360G82X8.05Z-20F1.0
N370G82X8.05Z-20F1.0
N380G82X8.05Z-20F1.0
N390G82X8.05Z-20F1.0
N400G90G00X100Z100
N410T0200
N412M05
N416M00
N420M06T0404
N422G04P3
N426M03
N430G90G00X40Z-68.4(假定切刀宽度为3.1mm)
N440G01X-1F20
N450G90G00X100
N460Z100
N465T0400
N470M05M09
N480M30
例26:
小手柄的数控车床加工
O0026
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X32Z2
N50G01Z0F200
N60X-1
N70G90G00X60Z20
N80G73U7W0R5P90Q150X0.5Z0F200
N90G01X0Z20F100
N100Z0
N110G03X22.29Z-18.1605R12.5
N120G02X20.169Z-43.001R30
N130G02X25Z-46.245R8
N140G03X28Z-49.368R4
N150G01Z-60
N160G90G00X100Z100
N170T0100
N180M05
N190M00
N200M06T0303
N210G04P3
N220M03
N250G90G00X32Z-61.975(假定切刀宽4mm)
N260G01X-1F20
N270G90G00X32
N280G90G00X100Z100
N290T0300
N300M05M09
N310M30
例27:
长手柄的数控车床加工
O0027
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X42Z2
N50G01Z0F200
N60X-1
N70G90G00X42Z4
N80G73U8W0R5P90Q140X0.5Z0F200
N90G01X0Z4F100
N100Z0
N110G03X9.226Z-2.505R5.5
N120G03X18.39Z-50.348R52
N130G02X19Z-73.602R30
N140G01Z-82
N160GOOX100Z100
N165T0100
N170M05M00
N175M06T0404
N180G04P3
N190M03
N240G90G00X32Z-84(假定切刀宽4mm)
N250G01X-1F20
N260G90G00X32
N270G90G00X100Z100
N280T0400
N290M05M09
N300M30
例28:
轴类零件1的数控车床加工
O0028
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X42Z2
N50G01Z0F200
N60X-1
N70G90G00X80Z10
N80G73U12W0R8P90Q160X0.5Z0F200
N90G01X22Z10F100
N100Z0
N110X24Z-1
N120Z-10
N130G02X24Z-25R10
N140G01X28.9Z-42
N150G03X32Z-60.97R18
N160Z-67
N180G90G00X100Z100
N190T0100
N200M05
N210M00
N220M06T0303
N230G04P3
N240M03
N250G90G00X42Z-69(假定切刀宽4mm)
N260G01X-1F80
N270G90G00X100Z100
N280T0300
N290M05M09
N300M30
例29:
轴类零件2的数控车床加工
O0029
N10G92X100Z100
N20M06TO101
N25G04P3
N30M03M07
N40G90G00X42Z4
N50G01Z0F200
N60X-1
N70G90G00X42Z4
N80G71U2W0R1P90Q160X0.5Z0F200
N90G01X0Z4F100
N100Z0
N110X15Z-15
N120Z-25
N130G02X23Z-29R4
N140G01X28Z-55
N150G03X38Z-60R5
N160Z-74
N170G90G00X100Z100
N180T0100
N190M05
N200M00
N210M06T0202
N215G04P3
N220M03
N230G90G00X42Z-74(假定切刀宽4mm)
N240G01X-1F20
N250G90G00X42
N260X100Z100
N270T0200
N280M05M09
N290M30
例30:
轴类零件3的数控车床加工
O0030
N10NG92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X32Z2
N50G01Z0F200
N60X-1
N70G90G00X50Z2
N80G73U7.5W0R5P90Q160X0.5Z0F200
N90G01X0Z2F100
N100Z0
N110G03X15Z-16.614R10
N120G01X18.736Z-32.5
N130G03X18.736Z-47.5R12
N140G01X20Z-60.202
N150G03X28Z-70R14
N160G01Z-82
N170G90G00X100Z100
N180T0100
N190M05
N200M00
N210M06T0202
N220G04P3
N225M03
N230G90G00X32Z-84(假定切刀宽4mm)
N240G01X-1F80
N250G90G00X100Z100
N260T0200
N270M05M09
N280M30
例31:
轴类零件4的数控车床加工
O0031
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X42Z2
N50G01Z0F200
N60X-1
N70G90G00X50Z2
N80G71U2W0R1P90Q150X0.5Z0F200
N90G01X15Z2F100
N100Z0
N110G01X18Z-10
N120G02X24Z-20R15
N130G01X30Z-30
N140G03X37.98Z-45R25
N150G01Z-52
N160G90G00X100Z100
N170T0100
N180M05
N190M00
N200M06T0202
N210G04P3
N220M03
N260G90G00X42Z-54
N270G01X-1F80
N280G90G00X100Z100
N290T0200
N300M05M09
N310M30
例32:
轴类零件5的数控车床加工
O0032
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X42Z2
N50G01Z0F200
N60X-1
N70G90G00X60Z8
N80G71U2W0R1P90Q150X0.5Z0F200
N90G01X0Z8F100
N100Z0
N110G03X19.935Z-11.284R9.98
N120G02X28Z-22R12
N130G01X34Z-30
N140X38
N150Z-52
N160G90G00X100Z100
N170T0100
N180M05
N190M00
N200M06T0202
N210G04P3
N220M03
N230G90G00X42Z-45
N240G01X34F15
N250G04P2
N260G01X42F200
N270Z-42
N280G01X34F15
N290G04P2
N300G01X42F200
N310Z-39
N320G01X34F15
N330G04P2
N340G01X42F200
N350G90G00Z-54(假定切刀宽4mm)
N360G01X-1F15
N370G90G00X100Z100
N380T0200
N390M05M09
N400M30
例33:
轴类零件6的数控车床加工
O0033
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X80Z20
N50G01Z0F300
N60X-1
N70G90G00X52Z8
N80G73U9.5W0R6P90Q150X0.5Z0F200
N90G01X24Z8F100
N100Z-1.82
N110G03X22Z-4.056R3
N120G02X17.38Z-19.142R12
N130G03X18.7Z-34.3R16
N140G02X24Z-44.874R8.5
N150G01Z-50
N160G90G00X100Z100
N170T0100
N180M05
N190M00
N200M06T0303
N210G04P3
N220M03
N250G90G00Z-52(假定切刀宽4mm)
N260X32
N270G01X-1F20
N280G90G00X100Z100
N290T0300
N300M05M09
N310M30
例34:
盘类零件1的数控车床加工
O0034
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X42Z2
N50G01Z0F200
N60X15
N70G90G00X60Z10
N80G73U8.45W0R5P90Q110X0.5Z0F200
N90G01X31.55Z10F100
N100Z0
N110G03X30.91Z-43R70
N120G90G00Z100X100
N130T0100
N140M05M00
N150M06T0202
N155G04P3
N160M03
N165G90G00X15Z4
N170G71U1W0R1P180Q250X-0.5Z0F200
N180G01X30Z4F100
N190Z0
N200X28Z-1
N210Z-10.5
N220X22Z-17.5
N230Z-28
N240G03X18Z-32.849R7
N250G01Z-44
N260G90G00Z100X100
N270T0200
N280M05M00
N290M06T0303
N300G04P3
N310G90G00X42Z-45.975(假定切刀宽4mm)
N320G01X15F20
N330G90G00X100Z100
N340T0300
N350M05M09
N360M30
例35:
盘类零件2的数控车床加工
O0035
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X42Z4
N50G01Z0F200
N60X12
N70G90G00X80Z20
N80G73U10W0R6P90Q190X0.5Z0F200
N90G01X20Z20F100
N100Z-5
N110X22
N120X24Z-6
N130Z-10.5
N140X22Z-11.5
N150Z-27
N160X31.98
N170Z-37
N180X37.98
N190Z-47
N210G90G00X100Z100
N220T0100
N225M05M00
N230M06T0303
N235G04P3
N240G90G00X13Z4
N250G71U1W0R1P260Q290X-0.5Z0F200
N260G01X16Z4F100
N270Z0
N280X15Z-0.5
N290Z-47
N300T0300
N320M05
N330M00
N340M06T0202
N350G04P3
N360M03
N370G90G00X30Z-4
N380G82X23.2Z-14F1.5
N390G82X22.6Z-14F1.5
N400G82X22.3Z-14F1.5
N410G82X22.1Z-14F1.5
N420G82X22.05Z-14F1.5
N430G90G00X100Z100
N440T0200
N450M05
N460M00
N470M06T0404
N480G04P3
N490M03
N510G90G00X42Z-49(假定切刀宽4mm)
N520G01X14F20
N540G90G00X100Z100
N550T0400
N560M05M09
N570M30
例36:
盘类零件3的数控车床加工
O0036
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X42Z2
N50G01Z0F200
N60X15
N70G90G00X60Z10
N80G73U7W0R5P90Q170X0.5Z0F200
N90G01X28Z10F100
N100Z0
N110X30Z-1
N120Z-10
N130X26Z-12
N140Z-22.775
N150G02X30.8Z-28R7
N160G01X38Z-48
N170Z-52
N180G90G00X100Z100
N190T0100
N200M05M00
N210M06T0303
N215G04P3
N220M03
N225G90G00X15Z4
N230G71U1W0R1P240Q270X-0.5Z0F200
N240G01X22Z4F100
N250Z0
N260X18Z-10
N270Z-52
N280G90G00X100Z100
N290T0300
N300M05
N310M00
N320M06T0202
N330G04P3
N340M03
N350G90G00X34Z4
N360G82X29.3Z-14F0.75
N370G82X29.1Z-14F0.75
N380G82X29.03Z-14F0.75
N390G90G00X100Z100
N400T0200
N410M05M00
N420M06T0404
N430M03
N480G90G00X42Z-54(假定切刀宽4mm)
N490G01X15F20
N500G90G00X100Z100
N510T0400
N520M05M09
N530M30
例37:
螺纹类零件1的数控车床加工
O0037
N10G92X100Z100
N20M06T0101
N25G04P3
N30M03M07
N40G90G00X42Z2
N50G01Z0F400
N60X-1
N70G90G00X50Z4
N80G71U2W0R1P90Q170X0.5Z0F200
N90G01X10Z4F100
N100Z0
N110X14Z-2
N120Z-20
N130X16
N140X20Z-35
N150Z-46
N160G02X28Z-50R4
N170G01Z-62
N190G90G00X100Z100
N200T0100
N210M05
N220M00
N230M06T0303
N240G04P3
N250M03
N260G90G00X22Z-20
N270G01X11.5F20
N280G90G004P0.5
N