您好,欢迎访问三七文档
当前位置:首页 > 机械/制造/汽车 > 制造加工工艺 > 数控机床程序200例-2
例21:等宽槽的零件采用子程序(M98指令)编程O0021N10G92X100Z100(设程序参考点)N20G90G00X42Z2N40M06T0101N35G04P3N38M03M07N50G90G00X32Z-12N60M98P1021L1(调用1021子程序)N70G90G00X32Z-32N80M98P1021L1N90G90G00X42Z2N95T0100N100M05M09N110M30O1021(开始定义1021子程序)N10G91(设增量方式)N20G01X-12F20N30G01X12F200N40G90G00Z-8N50G01X-12F20N60G01X12F200N70G90N80M99(子程序结束)例22:轴类零件1采用单循环加工,G81指令编程。O0022N10G92X100Z100(设定程序参考点)N20G90S800F200N30M06T0101N35G04P3N38M03M07N40G90G00X26.2Z0.2N50G81G91X-1Z-35.2F100N60X-4Z-30.2N70X-6Z-30.2(循环结束)N80G01X20F100N90Z-30N100G03X22.5Z-32.5R2.5N110G01Z-35N120G90G00X100Z100N125T0100N130M05M09N140M30例23:轴类零件2实例O0023N10G92X100Z100(设定程序参考点)N20M06TO101N25G04P3N30M03M07N40G90G00X32Z4N50G01Z0F200N60X-1N70G90G00X32Z4N80G71U2W0R1P90Q170X0.5Z0F200N90G01X8Z4F100N100Z0N110X10Z-1N120Z-15N130X14N140X16Z-16N150Z-28N160G02X24Z-32R4N170G01Z-35N210G90G00X100Z100N215T0100N220M05M09N230M30例24:轴类零件3的综合加工O0024N10G92X100Z100N20M06TO101N25G04P3N30M03M07N40G90G00X32Z4N50G01Z0F200N60X-1N70G90G00X32Z4N80G73U15W0R7P90Q190X0.5Z0F200(粗车外圆)N90G01X0Z4F100N100Z0N110G03X10.2Z-2.84R6N120G01Z-6N130X12N140Z-15N150X16Z-19N160X10Z-26N170G03X10Z-36R7.07N180G01X24Z-46N190Z-54N210G90G00X100Z100N220T0100N225M05N230M00N240M06T0303N250G04P3N255M03N260G90G00X32Z-15(假定切刀宽度为3mm)N270G01X10.2F50N280G04P0.5N290G01X32F200N300G90G00X100Z100N304T0300N306M05N308M00N310M06T0202N315G04P3N318M03N320G90G00X16Z-2(车M12螺纹)N330G82X11.3Z-14F1.0N340G82X10.9Z-14F1.0N350G82X10.7Z-14F1.0N360G82X10.7Z-14F1.0N370G82X10.7Z-14F1.0N380G82X10.7Z-14F1.0N390G90G00X100Z100N392T0200N394M05N396M00N400M06T0303N405G04P3N408M03N410G90G00X32Z-55(切断)N420G01X-1F50N430G90G00X32N440G00X100Z100N450T0300N450M05M09N460M30例25:轴类零件4的综合加工O0025N10G92X100Z100N20M06T0101G90N25G04P3N30M03M07N40G90G00X40Z2N50G01Z0F200N60X-1N70G90G00X40Z2N80G71U2W0R1P90Q180X0.5Z0F200(粗车外圆)N90G01X8Z2F100N100Z0N110X10Z-1N120Z-21.1N130X10N140Z-36N150G02X24Z-40R4N160G01Z-46.2N170X32Z-54N180Z-67N220G90G00X100Z100N225T0100N230M05M00N240M06T0404N246G04P3N248M03N250G90G00X20Z-21.1(假定切刀宽度为3.1mm)N260G01X8F20N270G04P0.5N280G90G00X20N290G90G00X100Z100N292T0100N294M05N296M00N300M06T0202N305G04P3N308M03N310G90G00X14Z4N320G82X9.2Z-20F1.5(车M10螺纹)N330G82X8.6Z-20F1.5N340G82X8.3Z-20F1.5N350G82X8.1Z-20F1.5N360G82X8.05Z-20F1.0N370G82X8.05Z-20F1.0N380G82X8.05Z-20F1.0N390G82X8.05Z-20F1.0N400G90G00X100Z100N410T0200N412M05N416M00N420M06T0404N422G04P3N426M03N430G90G00X40Z-68.4(假定切刀宽度为3.1mm)N440G01X-1F20N450G90G00X100N460Z100N465T0400N470M05M09N480M30例26:小手柄的数控车床加工O0026N10G92X100Z100N20M06T0101N25G04P3N30M03M07N40G90G00X32Z2N50G01Z0F200N60X-1N70G90G00X60Z20N80G73U7W0R5P90Q150X0.5Z0F200N90G01X0Z20F100N100Z0N110G03X22.29Z-18.1605R12.5N120G02X20.169Z-43.001R30N130G02X25Z-46.245R8N140G03X28Z-49.368R4N150G01Z-60N160G90G00X100Z100N170T0100N180M05N190M00N200M06T0303N210G04P3N220M03N250G90G00X32Z-61.975(假定切刀宽4mm)N260G01X-1F20N270G90G00X32N280G90G00X100Z100N290T0300N300M05M09N310M30例27:长手柄的数控车床加工O0027N10G92X100Z100N20M06T0101N25G04P3N30M03M07N40G90G00X42Z2N50G01Z0F200N60X-1N70G90G00X42Z4N80G73U8W0R5P90Q140X0.5Z0F200N90G01X0Z4F100N100Z0N110G03X9.226Z-2.505R5.5N120G03X18.39Z-50.348R52N130G02X19Z-73.602R30N140G01Z-82N160GOOX100Z100N165T0100N170M05M00N175M06T0404N180G04P3N190M03N240G90G00X32Z-84(假定切刀宽4mm)N250G01X-1F20N260G90G00X32N270G90G00X100Z100N280T0400N290M05M09N300M30例28:轴类零件1的数控车床加工O0028N10G92X100Z100N20M06T0101N25G04P3N30M03M07N40G90G00X42Z2N50G01Z0F200N60X-1N70G90G00X80Z10N80G73U12W0R8P90Q160X0.5Z0F200N90G01X22Z10F100N100Z0N110X24Z-1N120Z-10N130G02X24Z-25R10N140G01X28.9Z-42N150G03X32Z-60.97R18N160Z-67N180G90G00X100Z100N190T0100N200M05N210M00N220M06T0303N230G04P3N240M03N250G90G00X42Z-69(假定切刀宽4mm)N260G01X-1F80N270G90G00X100Z100N280T0300N290M05M09N300M30例29:轴类零件2的数控车床加工O0029N10G92X100Z100N20M06TO101N25G04P3N30M03M07N40G90G00X42Z4N50G01Z0F200N60X-1N70G90G00X42Z4N80G71U2W0R1P90Q160X0.5Z0F200N90G01X0Z4F100N100Z0N110X15Z-15N120Z-25N130G02X23Z-29R4N140G01X28Z-55N150G03X38Z-60R5N160Z-74N170G90G00X100Z100N180T0100N190M05N200M00N210M06T0202N215G04P3N220M03N230G90G00X42Z-74(假定切刀宽4mm)N240G01X-1F20N250G90G00X42N260X100Z100N270T0200N280M05M09N290M30例30:轴类零件3的数控车床加工O0030N10NG92X100Z100N20M06T0101N25G04P3N30M03M07N40G90G00X32Z2N50G01Z0F200N60X-1N70G90G00X50Z2N80G73U7.5W0R5P90Q160X0.5Z0F200N90G01X0Z2F100N100Z0N110G03X15Z-16.614R10N120G01X18.736Z-32.5N130G03X18.736Z-47.5R12N140G01X20Z-60.202N150G03X28Z-70R14N160G01Z-82N170G90G00X100Z100N180T0100N190M05N200M00N210M06T0202N220G04P3N225M03N230G90G00X32Z-84(假定切刀宽4mm)N240G01X-1F80N250G90G00X100Z100N260T0200N270M05M09N280M30例31:轴类零件4的数控车床加工O0031N10G92X100Z100N20M06T0101N25G04P3N30M03M07N40G90G00X42Z2N50G01Z0F200N60X-1N70G90G00X50Z2N80G71U2W0R1P90Q150X0.5Z0F200N90G01X15Z2F100N100Z0N110G01X18Z-10N120G02X24Z-20R15N130G01X30Z-30N140G03X37.98Z-45R25N150G01Z-52N160G90G00X100Z100N170T0100N180M05N190M00N200M06T0202N210G04P3N220M03N260G90G00X42Z-54N270G01X-1F80N280G90G00X100Z100N290T0200N300M05M09N310M30例32:轴类零件5的数控车床加工O0032N10G92X100Z100N20M06T0101N25G04P3N30M03M07N40G90G00X42Z2N50G01Z0F200N60X-1N70G90G00X60Z8N80G71U2W0R1P90Q150X0.5Z0F200N90G01X0Z8F100N100Z0N11
本文标题:数控机床程序200例-2
链接地址:https://www.777doc.com/doc-4654908 .html