数控机床200例 源程序

发布日期:[08-12-12 09:25:19] 浏览人次:[]

N400 G00X100;

N410 Z100;

N420 M05M09;

N430 M30;

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

O0021

N10 G92X100Z100 (设程序参考点)

N20 G90G00X42Z2

N40 M06T0101

N35 G04P3

N38 M03M07

N50 G90G00X32Z-12

N60 M98P1021L1 (调用1021子程序)

N70 G90G00X32Z-32

N80 M98P1021L1

N90 G90G00X42Z2

N95 T0100

N100 M05M09

N110 M30

O1021 (开始定义1021子程序)

N10 G91 (设增量方式)

N20 G01X-12F20

N30 G01X12F200

N40 G90G00Z-8

N50 G01X-12F20

N60 G01X12F200

N70 G90

N80 M99 (子程序结束)

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

O0022

N10 G92X100Z100 (设定程序参考点)

N20 G90S800F200

N30 M06T0101

N35 G04P3

N38 M03M07

N40 G90G00X26.2Z0.2

N50 G81G91X-1Z-35.2F100

N60 X-4Z-30.2

N70 X-6Z-30.2 (循环结束)

N80 G01X20F100

N90 Z-30

N100 G03X22.5Z-32.5R2.5

N110 G01Z-35

N120 G90G00X100Z100

N125 T0100

N130 M05M09

N140 M30

例23:轴类零件2实例

O0023

N10 G92X100Z100 (设定程序参考点)

N20 M06TO101

N25 G04P3

N30 M03M07

N40 G90G00X32Z4

N50 G01Z0F200

N60 X-1

N70 G90G00X32Z4

N80 G71U2W0R1P90Q170X0.5Z0F200

N90 G01X8Z4F100

N100 Z0

N110 X10Z-1

N120 Z-15

N130 X14

N140 X16Z-16

N150 Z-28

N160 G02X24Z-32R4

N170 G01Z-35

N210 G90G00X100Z100

N215 T0100

N220 M05M09

N230 M30

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

O0024

N10 G92X100Z100

N20 M06TO101

N25 G04P3

N30 M03M07

N40 G90G00X32Z4

N50 G01Z0F200

N60 X-1

N70 G90G00X32Z4

N80 G73U15W0R7P90Q190X0.5Z0F200(粗车外圆)

N90 G01X0Z4F100

N100 Z0

N110 G03X10.2Z-2.84R6

N120 G01Z-6

N130 X12

N140 Z-15

N150 X16Z-19

N160 X10Z-26

N170 G03X10Z-36R7.07

N180 G01X24Z-46

N190 Z-54

N210 G90G00X100Z100

N220 T0100

N225 M05

N230 M00

N240 M06T0303

N250 G04P3

N255 M03

N260 G90G00X32Z-15 (假定切刀宽度为3mm)

N270 G01X10.2F50

N280 G04P0.5

N290 G01X32F200

N300 G90G00X100Z100

N304 T0300

N306 M05

N308 M00

N310 M06T0202

N315 G04P3

N318 M03

N320 G90G00X16Z-2 (车M12螺纹)

N330 G82X11.3Z-14F1.0

N340 G82X10.9Z-14F1.0

N350 G82X10.7Z-14F1.0

N360 G82X10.7Z-14F1.0

N370 G82X10.7Z-14F1.0

N380 G82X10.7Z-14F1.0

N390 G90G00X100Z100

N392 T0200

N394 M05

N396 M00

N400 M06T0303

N405 G04P3

N408 M03

N410 G90G00X32Z-55 (切断)

N420 G01X-1F50

N430 G90G00X32

N440 G00X100Z100

N450 T0300

N450 M05M09

N460 M30

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

O0025

N10 G92X100Z100

N20 M06T0101G90

N25 G04P3

N30 M03M07

N40 G90G00X40Z2

N50 G01Z0F200

N60 X-1

N70 G90G00X40Z2

N80 G71U2W0R1P90Q180X0.5Z0F200(粗车外圆)

N90 G01X8Z2F100

N100 Z0

N110 X10Z-1

N120 Z-21.1

N130 X10

N140 Z-36

N150 G02X24Z-40R4

N160 G01Z-46.2

N170 X32Z-54

N180 Z-67

N220 G90G00X100Z100

N225 T0100

N230 M05M00

N240 M06T0404

N246 G04P3

N248 M03

N250 G90G00X20Z-21.1(假定切刀宽度为3.1mm)

|<< << < 1 2 3 4 5 6 7 8 9 10 > >> >>|
www.mapeng.net 马棚网
www.mapeng.net
文章作者:未知 | 文章来源:网络 | 责任编辑:admin | 发送至邮箱: | 加入收藏:
本文关键字:数控机床    源程序
本文所属专题:数控技术 
相关资讯
热点资讯
推荐资讯

关于我们 | 站点导航 | 使用帮助 | 友情链接 | 广告服务 | 免责声明 | 新手上路
设为首页 | 加入收藏 | 在线留言 | 马棚网QQ群:{92562572}{102901272}{333259257} | 交流QQ: 客户服务 客户服务 客户服务