數(shù)控機(jī)床編程200例
- 文件介紹:
- 該文件為 rar 格式,下載需要 1 積分
- 數(shù)控機(jī)床編程200例例21: 等寬槽的零件采用子程序(M98指令)編程
O0021
N10 G92X100Z100 (設(shè)程序參考點(diǎn))
N20 G90G00X42Z2
N40 M06T0101
N35 G04P3
N38 M03M07
N50 G90G00X32Z-12
N60 M98P1021L1 (調(diào)用1021子程序)
N70 G90G00X32Z-32
N80 M98P1021L1
N90 G90G00X42Z2
N95 T0100
N100 M05M09
N110 M30
O1021 (開始定義1021子程序)
N10 G91 (設(shè)增量方式)
N20 G01X-12F20
N30 G01X12F200
N40 G90G00Z-8
N50 G01X-12F20
N60 G01X12F200
N70 G90
N80 M99 (子程序結(jié)束)
例22:軸類零件1采用單循環(huán)加工,G81指令編程。
O0022
N10 G92X100Z100 (設(shè)定程序參考點(diǎn))
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 (循環(huán)結(jié)束)
N80 G01X20F100
N90 Z-30
N100 G03X22.5Z-32.5R2.5
N110 G01Z-35
N120 G90G00X100Z100
N125 T0100
N130 M05M09
N140 M30
例23: 軸類零件2實(shí)例
O0023
N10 G92X100Z100 (設(shè)定程序參考點(diǎn))
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...