数控编程与操作.docx
《数控编程与操作.docx》由会员分享,可在线阅读,更多相关《数控编程与操作.docx(41页珍藏版)》请在冰豆网上搜索。
数控编程与操作
数控编程与操作
作业1
1.什么叫数控和数控编程?
答:
数控(数字控制):
是用数字指令来控制机床的动作。
数控机床:
装备了数控系统的机床。
2.数控机床的适用场合是什么?
答:
1.多品种小批量生产2.几何形状复杂的零件3.需要频繁改型的零件4.贵重的不允许报废的零件5.需要严格控制公差的零件
3.数控机床由哪几部分组成?
答:
由程序载体、输入装置、数控装置、伺服系统、反馈装置和机床组成。
4.数控机床按运动方式和按伺服系统控制方式分别分为哪几类?
答:
(一)按运动控制方式分
(二)按伺服系统分
1.点位控制数控机床1.开环控制数控系统
2.直线控制数控机床2.闭环控制数控系统
3.轮廓控制数控机床3.半闭环控制数控系统
作业2
5.零件装夹的原则是什么?
答:
(1)应尽量减少装夹的次数,力争一次装夹后能加工出全部待加工面
(2)如需要二次装夹时,要尽可能利用同一基准面以减少加工误差
6.在安排加工程序时应注意什么?
答:
1.先粗后精2.先主后次3.先基准后其他4.尽量减少换刀次数
7.在确定加工路线时应遵循什么要求?
答:
1.保证工件的加工精度和表面粗糙度2.尽量缩短加工路线减少刀具空行程时间3.使数值计算简单,程序段数少
作业3
8.什么叫基点?
答:
构成工件轮廓的不同几何素线的交点或切点称为基点。
9.什么叫手工编程?
手工编程有什么特点?
答:
手工编程是利用规定的代码和格式,人工制定工件加工程序的工作。
手工编程的特点:
1.对加工形状简单的工件,编程比较快捷简便2.不需要具有特别的条件3.不适合编制形状复杂的工件。
10.手工编程的步骤有哪些?
答:
零件图样—确定工艺过程—计算加工轨迹尺寸—编写加工程序—校核—输入机床—校验试切削—完成
11.常见的工艺文件有哪些?
答:
加工工序卡、数控刀具调整单、机床调整单、零件加工程序单等。
作业4
1.零件加工图
2.编写加工程序
YH02.MPF
N10G54S500M03T01
N20G00X18.4Z2
N30G01X18.4Z-14.8F0.2
X24.4RND=1
Z-30
X26
N40G00X40
Z0
X19
N50S800M03
N60G01X0Z0F0.05
X18CHF=2.121
Z-15
X24RND=1
Z-30
N70G00X80
Z200
N80M06T03S300M03
N90G00X25
Z-29
N100G01X0F0.05
N110G00X80
Z200
N120M05
N130M02
作业5
1.画出零件图
2.编写加工程序
YH02.MPF
N10G54S500M03T02D01
N20G00X20.4Z2
N30G01Z-5F0.2
N40G02Z-15CR=15F0.15
N50G03Z-25CR=15
N60G01Z-29.8RND=0.5F0.2
X24.4RND=0.5
Z-44
X26
N70G00X35
Z2
X0
N80S1000M03
N90G01X0Z0F0.05
X20CHF=1.414
Z-5
N100G02X20Z-15CR=15
N110G03Z-25CR=15
N120G01Z-30RND=0.5
X23.98RND=0.5
Z-40.5
Z-44F0.4
N130G00X100Z200
N140M06T04S300M03
N150G00X25
Z-43.5
N160G01X0F0.05
N170G00X100
Z200
N180M05
N190M02
作业6
1.画出零件图
T03-93度正偏刀T04-32mm宽割刀T02-60度螺纹刀
2.编写加工程序
YH03.MPF
N10G54S500M03T03
N20G00X20.2Z2
N30G01Z-29.8F0.2
X24.4RND=1
Z-44
X26
N40G00X40
Z0
X21
N50S500M03
N60G01X0Z0F0.05
N70G00Z2
X16.8
N80G01Z0F0.05
X19.8Z-1.5
N90G01X19.8Z-30F0.05
X23.99RND=1
Z-40.5
Z-44F0.4
N100G00X100Z200
N110M06T04S300M03
N120G00X21
Z-30
N130G01X17.1F0.05
N140G00X21
Z-29.2
N150G01X17F0.05
Z-30
N160G00X100
Z200
N170M06T02
N180G00X19.1Z6
N190G33Z-27.5K1
N200G00X25
Z6
X18.8
N210G33Z-27.5K1
N220G00X25
Z6
X18.72
N230G33Z-27.5K1
N240G00X100
Z200
N250M06T04
N260G00X25
Z-43.2
N270G01X0F0.5
N280G00X100
Z200
N290M05
N300M02
作业7
1.画出零件图
T01-93度正偏刀T02-4mm宽割刀T04-60度螺纹刀
2.编写加工程序
YH04.MPF
N10G54S500M03T01
N20G00X18.4Z2
N30G01Z-29.7F0.15
X20.35
X21.6Z-39.7
X24.6CHF=1.414
Z-54F0.4
X26
N40G00X40
Z0
X19
N50S1000M03
N60G01X0Z0F0.05
N70G00X14.8Z2
N80G01Z0F0.05
X17.8Z-1.5
Z-30
X19.7
X20.95Z-40
X24.01CHF=1.414
Z-48.5
Z-54F0.4
N90G00X100Z200
N100M06T02S300M03
N110G00X19
Z-30
N120G01X15.55Z-30F0.08
N130G04S2
N140G00X100
Z200
N150M06T04
N160G00X18Z8
R100=17.8R101=0R102=17.8R103=-26
R104=2.5R105=1R106=0.02R109=6
R110=2R111=0.67R112=0R113=3
R114=2
LCYC97
N170G00X100Z200
N180M06T02
N190G00X25
Z-52.5
N200G01X0F0.1
N210G00X100
Z200
N220M05
N230M02
作业8
1.画出零件图
T01-93度正偏刀T02-4mm宽割刀T04-60度螺纹刀
2.编写加工程序
YH05.MPF
N10G54S500M03T01
N20G00X25Z6
N26G96S50LIMS=1500
_CNAME=”SK01”
R105=1R106=0.3R108=2.5
R109=6R110=2R111=0.2
R112=0
LCYC95
N30G96S100LIMS=1500
N40F0.05
N50SK01
N60G00X100Z200
N70M06T03
N80G97S300
N90G00X25
Z-44.5
N100G01X0F0.05
N110G00X100
Z200
N120M05
N130M02
SK01.MPF
N10G01X0Z0
N20G03X16Z-8CR=8
N30G01Z-20
X20Z-26
Z-30
X24RND=1
Z-45
X26
N40M17
作业9
1.画出零件图
T01-93度正偏刀T02-4mm宽割刀T04-60度螺纹刀
2.编写加工程序
YH06.MPF(加工右端主程序)
N10G54S500M03T01
N20G00X20Z8
N30G96S40LIMS=1200
_CNAME=“JD04”
R105=1R106=0.2R108=2
R109=6R110=3R111=0.2
R112=0
LCYC95
N40G00X15Z-30
N50G01X14.4F0.2
N60G02X15.4Z-42CR=18
N70G00X15Z-30
N80G96S80LIMS=1200
N90G01X14F0.05
N100G02X15Z-42CR=18
N110G00X20Z8
N120F0.05
N130JD04
N140G97S300M03
N150G00X100Z200
N160M06T02
N170G00X13
Z-20
N180G01X9.95F0.05
N190G04S2
N200G00X100
Z200
N210M06T04
N220G00X12Z0
R100=11.8R101=-4R102=11.8R103=-16
R104=1R105=1R106=0.02R109=4
R110=2R111=0.541R112=0R113=2
R114=1
LCYC97
N230G00X100Z200
N240M05
N250M02
JD04(右端子程序)
N10G01X0Z0
N20G01X8Z-4
X11.8CHF=1.414
Z-20
X12.5
X14Z-27
Z-30
X15Z-42
Z-50
X18.5CHF=0.707
Z-61
X21
N30M17
YH07.MPF(左端主程序)
N10G55S500M03T01
N20G96S40LIMS=1200
N30G00X20Z6
_CNAME=“JD05”
R105=1R106=0.2R108=2.5R109=6
R110=3R111=0.2R112=0
LCYC95
N40G96S80LIMS=1200
N50F0.05
N60JD05
N70G97S300M03
N80G00X100Z360
N90M05
N100M02
JD05.SPF(左端子程序)
N10G01X0Z0
N20G03X12Z-6CR=6
N30G01Z-11
X17.5
X19.5Z-12.5
X21
N40M17
作业10小测验
(一)
1.画出加工图
T01-93度正偏刀T02-4mm宽割刀T04-60度螺纹刀
2.编写加工程序
YH08.MPF
N10G54S500M03T01
N20G00X19Z2
N30G01Z-32.8F0.2
X22.4RND=1
Z-35
N40G02X22.4Z-43CR=16
N50G03X22.4Z-51CR=16
N60G01Z-52.8
X22.4CHF=1.414
Z-72F0.2
X26
N70G00X40
Z2
X13
N80G01Z-12.8F0.2
X16.2CHF=1.414
Z-32.8
N90G00X20
Z2
X10.4
N100G01Z0F0.2
X10.4
X12.4Z-10
Z-12.8
X16F0.5
N110G00X100Z200
N120M06T04
N130G96S80LIMS=1200
N140G00X11Z0
N150G01X0Z0F0.05
N160G00X9.98Z1
N170G01Z0F0.05
X11.98Z-10
Z-13
X15.8CHF=1.414
N180G01X15.8Z-33F0.05
X22RND=1
Z-35
N190G02X22Z-43CR=16
N200G03Z-51CR=16
N210G01Z-53
X23.99CHF=1.414
Z-70.5
Z-75F0.5
N220G00X100Z200
N230G97S300
N240M06T02
N250G00X17
Z-33
N260G01X13.98F0.1
N270G04S2
N280G01X22.1F0.5
N290G00X100Z200
N300M06T03
N310G00X16
Z-8
R100=15.8R101=-13R102=15.8R103=-29
R104=2R105=1R106=0.05R09=6
R110=1.5R111=0.541R112=0R113=2
R114=2
LCYC97
N320G00X100Z200
N330M06T02
N340G00X25
Z-71.5
N350G01X0F0.1
N360G00X100
Z200
N370M05
N380M02
作业11
1.画出加工图
T01-93度正偏刀
2.编写加工程序
YH09.MPF
N10G54S500M03T01
N20G00X32.6Z2
N30G01Z-37.7F0.2
X36.6
Z-53
X39
N40G00X50
Z2
X15
N50S800M03
N60G01Z0F0.05
X32CHF=2.121
Z-38
X35.985RND=0.3
Z-48.5
Z-53F0.4
N70G00X100Z300
N80M06T02S260M03
N90G00Z2
X20
N100G01Z0F0.1
X18Z-1
N110G01X18Z-30F0.1
X15
N120G00X12
Z2
X20.6
N130S400M03
N140G01Z0F0.05
X18.6Z-1
Z-30
X15
N150G00X12
Z300
N160M06T03S200
N170G00Z2
X15
Z-30
N180G01X20.7F0.05
X15F0.4
N190G00Z300
N200M06T04S260M03
N210G00X18.6Z8
R100=18.6R101=0R102=18.6R103=27
R104=1.5R105=2R106=0.02R109=6
R110=1R111=0.812R112=0R113=6
R114=1
LCYC97
N220G00Z200
X100
N230M06T05
N240G00X40
Z-53
X37
N250G01X0F0.1
N260G00X100
Z200
N270M05
N280M02
作业12(数控铣床)
1.画出零件图
3.编写加工程序
O0001(Ф16立铣刀铣平面)
N10G54G90S600M03T01
N20G01X-15Y7Z0.2F800
N30M98P50011
N40G01X-15Y7Z0
N50S1000M03
N60M98P50011
N70G01X-50Y-50Z100
N80M05
N90M30
O0011(Ф16立铣刀铣平面子程序)
N10G91
N20G01X130F120
Y15
X-130
Y15
N30G90
N40M99
O0022(Ф100面铣刀铣平面)
N10G54S500M03T01
N20G01X-60Y0Z1F800
X160F120
Y98F800
X-60F120
Y0Z0.2F800
X160F120
Y98F800
X-60F120
Y0Z0
N30S800M03
N40G01X160F40
Y98F800
X-60F40
N50G01X-100Y-100Z100F800
N60M05
N70M30
作业13
1.画出零件图
2.编写加工程序
O0003(Ф12键槽铣刀铣侧面)
N10G54S1000M03T01
N20G01X-65Y-45F800
Z-2.8
N30G01G42D01(=6.2)X-58Y-45F800
N40G01X45Y-45,R6F100
Y45,C5
X-37
N50G02X-45Y37R8
N60G01Y-45,C5
X-30
N70G01Z5F200
N80G40X-65Y-45F800
Z-3F200
N90S1200M03
N100G01G42D02(=6)X-58F800
N110G01X45,R6F60
Y45,C5
X-37
N120G02X-45Y37R8
N130G01Y-40
X-35Y-50
N140G01Z50F800
N150G40X-200Y-100
N160M05
N170M30
作业14
1.画出零件图
2.编写加工程序
O0006(Ф6钻头钻孔)
N10G54S1200M03T01
N20G01X-45Y-45F1000
Z10
N30G99G73X-45Y-45Z-32Q5R5F120
X0
X45
Y0
Y45
X0
X-45
N40G98Y0
N50G99G73X-30Y0Z-13.732Q3R3F120
X0Y-30
X30Y0
X0Y30
N60G80
N70G00X-100Y0Z300
N80M05
N90M30
作业15
1.画出零件图
2.编写加工程序
O0007(Ф10键槽铣刀挖槽)
N10G54G40G69S1000M03T01
N20G01X0Y0F1000
Z5F200
Z-3.3F50
X6.3F100
N30G03X6.3Y0I-6.3J0
N40G01Z-3.51F50
X6.51
N50G03I-6.51J0
N60G01X0Y0
N70G01Z10F1000
N80M98P0077
N90G68X0Y0R90
N100M98P0077
N110G69
N120G68X0Y0R180
N130M98P0077
N140G69
N150G68X0Y0R-90
N160M98P0077
N170G69
N180G01X-200Y-100Z-300
N190M05
N200M30
O0077(铣十字槽子程序)
N10G01X-10Y-6F1000
N20G01G41D01(=5.2)X0Y-6
Z-3.3F200
X20F100
N30G03X20Y6R-6
N40G01X0
Z10F100
N50G01G40X-10Y-6
N60G01G41D02(=4.99)X0Y-6
Z-3.51F200
X20Y-6F50
N70G03X20Y6R-6
N80G01X7
Z10F1000
N90G01G40X0Y0
N100M99
O0008(钻Ф8孔主程序)
N10G55G15S1200M03T01
N20G01X0Y0F1000
Z10F200
N30G16
N40G99G73X42Y45Z-8.3Q3R3F120
Y135
Y-135
Y-45
N50G15
N60G01X-200Y-100Z300
N70M05
N80M30
作业16
1.画出零件图
2.编写加工程序
O0009(Ф16立铣刀铣侧面主程序)
N10G54G40G69S1000M03T01
N20G01X-70Y-41F1000
Z-3.3F200
N30G01G42D01(=8.2)X-60Y-41F1000
N40G01X41,R5F50
Y41,R5
X-41,R5
Y-41,R5
N50G01Z10F1000
N60G01G40X-70Y-41
Z-3.51
N70G01G42D02(=7.99)X-60Y-41F1000
N80S1200M03
N90G01X41,R5F50
Y41,R5
X-41,R5
Y-41,R5
N100G01Z200F1000
N110G01G40X-200Y-100
N120M05
N130M30
O0010(Ф10键槽铣刀铣槽)
N10G55G69G50.1G40S1200M03T01
N20G01X0Y0F1000
Z10F200
N30M98P0011
N40G68X0Y0R90
N50M98P0011
N60G69
N70G51.1X0
N80M98P0011
N90G50.1X0
N100G68X0Y0R-90
N110M98P0011
N120G69
N130G01X-200Y-100Z300
N140M05
N150M30
O0011(铣槽子程序)
N10G01X33