数控机床200例 源程序

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

%0089

N10 G92 X0 Y0 Z100

N15 M06 T0101

N20 G90 G00 S300 M03 M07

N30 G99 G83 X10.0 Y-10.0 Z-20.0 R2.0 F150

N40 Y20.0

N50 X20.0 Y10.0

N60 X30.0

N70 G98 X40.0 Y30.0

N80 G80 X0 Y0 M05

N90 M02

例90: G81指令加工螺纹的编程实例

%0090

N10 G92 X0 Y0 Z100

N15 M06 T0101

N20 G91 G00 M03

N30 G98 G81 X40.0 Y40.0 Z-22.0 R-98.0 F100

N40 X40.0

N50 X40.0

N60 X40.0

N10 X-120.0 Y50.0

N20 X40.0

N30 X40.0

N40 X40.0

N50 G80 X160.0 Y90.0 M05

N60 M02

例91:G84指令加工螺纹的编程实例

%0091

N10 G92 X0 Y0 Z100

N20 M06 T0101

N30 G91 G00 M03 M07

N40 G99 G84 X40.0 Z-27.0 R-93.0 F280

N50 X40.0

N60 X40.0

N70 X40.0

N80 X-120.0 Y50.0

N90 X40.0

N100 X40.0

N110 X40.0

N120 G80 Z93.0

N130 X-160.0 Y-90.0 M05

N140 M02

例92: 子程序的二重嵌套编程实例

%0092

N10 G92X0Y0Z30

N20 G17M03M07S1000

N30 G90G00X-4.5Y-10

N40 Z0

N50 M98P1092L5

N60 G90G00Z30

N70 X0Y0

N80 M05M09

N90 M02

%1092

N10 G91G00Z-2

N20 M98P2092L5

N30 G00X-76

N40 M99

%2092

N10 G91G00X19

N20 G41X4.5H01

N30 G01Y75F80

N40 X-9

N50 Y-75

N60 G40G00X4.5

N70 M99

例93:用立铣刀铣字母

%0093

N5 G92X0Y0Z200

N10 G90

N20 G00X10.0Y10.0Z3.0

N30 M03S800

N40 G01Z-3.0F80

N50 G17G01X30.0Y40.0F200

N60 G00Z3.0

N70 X10.0

N80 G01Z-3.0F80

N90 X30.0Y10.0F200

N100 G00Z3.0

N110 X50.0

N120 G01Z-3.0F80

N130 Y25.0F200

N140 X40.0Y40.0

N150 G00Z3.0

N160 X50.0Y25.0

N170 G01Z-3.0F80

N180 X60.0Y40.0F200

N190 G00Z3.0

N200 X70.0

N210 G01Z-3.0F80

N220 X90.0F200

N230 X70.0Y10.0

N240 X90.0

N250 G00Z20.0M05

N260 X0Y0Z200

N270 M02.

例94:加工字母“S”

%0094

N5 G92X0Y0Z60.0

N10 G90M07

N20 G00X40.0Y35.0

N25 Z4.0

N30 M03S900

N40 G01Z-4.0F60

N50 G03X35.0Y40.0I-5.0F150

N60 G01X15.0

N70 G03X10.0Y35.0J-5.0

N80 G01Y30.0

N90 G03X15.0Y25.0I5.0

N100 G01X35.0

N110 G02X40.0Y20.0J-5.0

N120 G01Y15.0

N130 G02X35.0Y10.0I-5.0

N140 G01X15.0

N150 G02X10.0Y15.0J5.0

N160 G00Z60.0

N165 M05M09

N170 X0Y0

N180 M02

例95:用立铣刀精铣工件

%095

N5 G92X0Y0Z300

N10 G90

N20 G17G00X50.0Y-40.0

N30 Z2.0

N40 S800M03M07

N50 G01Z-5.0F50

N60 G41D01X40.0F200.0

N70 X-80.0

N90 G01Y-20.0

N100 G02X-40.0 Y20.0R40.0F150

N110 G03X20.0Y80.0R60.0

N130 G01X40.0F200

N150 G01Y-45.0

N160 M09M05

N170 G00Z200.0

N180 G40X0Y0

N190 M02

例96:精铣内轮廓的编程实例

计算AB两点坐标 (-25,8.667)、(-10,17.321)

编程如下:

%0096

N5 G92X0Y0Z200.0

N10 G90

N20 G00Z0

N30 M03S800M07

N40 G01Z-5.0F80

N50 G41D01X-10.0Y17.321F180

N60 X-25.0Y8.667

N70 G03Y-8.667I5.0J-8.667

N80 G01X-10.0Y-17.321

N90 G03Y17.321I10.0J17.321

N100 G03X-20.0Y0I10.0Y-17.321F150

N110 G00Z300.0

N115 M09M05

N120 G40X0Y0

N130 M02

例97:用子程序调用指令铣削4个槽

%0097

N10 G92X0Y0Z300

N

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

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