数控编程简单点的图片
Ⅰ 数控车床 车圆弧 下面这图 怎么编写程序
………
G0 X6 Z0;
G01 X10 Z-2 F0.1;
Z-20;
G02 X20 Z-25 R5;
Z-35;
G03 X34 W-7 R7;
Z-52;
X60 Z-62;
Z-82;
………..
我是根据法那科系统编写的程序,只编写了精车的程序,前后也都省掉了,还有就是没有加小数点,要看你的系统是否要加小数点,根据你的实际情况,再稍作改动即刻!
Ⅱ 数控车床简单编程(见图)
假设毛坯是φ30的圆钢,法那科系统的数控车床,建立如图工件坐标系
程序编写如下:
M03S500;
T0101;
G00X32 Z0 M08;
G01X28Z0F1;
Z-37;
G00X30Z0;
G01X24;
Z-32;
G00X30Z0;
G01X20;
G00X30Z0
G01X16;
Z-14;
G00X30Z0;
G01X14;
Z-14;
X20Z-22;
G00X30Z0;
X0Z0;
G03X14Z-7R7;
G00X32Z0;
M09;
M05;
M30;
Ⅲ 数控铣床编程加工一个图案
这是一副一箭穿心的图案!!!
%
G40G80
G91G30Z0
G30XY0
N0020 G55 G90X42.87 Y-1.
N35 S3000 M03
N40 G0 G43 Z12. H1
N50 G1 Z12.1200.
N55 G3 X42.18 Y.47 I-90.578 J-41.627
N60 G1 X42.18 Y.47 Z12.
N65 Z12.
N70 G0 X38.58 Y-40.43
N75 G1 Z0. F1200.
N80 X38.985 Y-40.96
N85 X39.414 Y-41.578
N90 X39.875 Y-42.291
N95 X40.379 Y-43.107
N100 X40.934 Y-44.032
N105 X41.555 Y-45.077
N110 X42.263 Y-46.261
N115 X43.083 Y-47.598
N120 X44.023 Y-49.062
N125 X45.065 Y-50.577
N130 X46.123 Y-51.987
N135 X47.129 Y-53.203
N140 X48.077 Y-54.236
N145 X48.969 Y-55.109
N150 X49.82 Y-55.855
N155 X50.652 Y-56.502
N160 X51.488 Y-57.076
N165 X52.343 Y-57.586
N170 X53.222 Y-58.04
N175 X54.137 Y-58.445
N180 X55.092 Y-58.801
N185 X56.086 Y-59.107
N190 X57.117 Y-59.361
N195 X58.184 Y-59.558
N200 X59.278 Y-59.697
N205 X60.391 Y-59.774
N210 X61.518 Y-59.787
N215 X62.646 Y-59.737
N220 X63.766 Y-59.624
N225 X64.867 Y-59.45
N230 X65.94 Y-59.217
N235 X66.973 Y-58.929
N240 X67.959 Y-58.593
N245 X68.894 Y-58.212
N250 X69.773 Y-57.792
N255 X70.596 Y-57.335
N260 X71.37 Y-56.841
N265 X72.099 Y-56.308
N270 X72.792 Y-55.732
N275 X73.456 Y-55.106
N280 X74.095 Y-54.425
N285 X74.713 Y-53.679
N290 X75.315 Y-52.86
N295 X75.897 Y-51.959
N300 X76.461 Y-50.968
N305 X77.007 Y-49.868
N310 X77.536 Y-48.64
N315 X78.045 Y-47.263
N320 X78.533 Y-45.701
N325 X78.996 Y-43.919
N330 X79.426 Y-41.88
N335 X79.815 Y-39.549
N340 X80.154 Y-36.896
N345 X80.438 Y-33.901
N350 X80.675 Y-30.583
N355 X80.876 Y-27.028
N360 X81.039 Y-23.175
N365 X81.133 Y-18.885
N370 X81.11 Y-14.319
N375 X80.934 Y-9.743
N380 X80.606 Y-5.403
N385 X80.138 Y-1.306
N390 X79.511 Y2.783
N395 X78.695 Y7.043
N400 X77.667 Y11.542
N405 X76.398 Y16.321
N410 X74.871 Y21.37
N415 X73.08 Y26.65
N420 X71.073 Y31.989
N425 X68.94 Y37.154
N430 X66.78 Y41.96
N435 X64.699 Y46.261
N440 X62.741 Y50.015
N445 X60.887 Y53.286
N450 X59.116 Y56.149
N455 X57.414 Y58.669
N460 X55.758 Y60.913
N465 X54.128 Y62.934
N470 X52.513 Y64.766
N475 X50.901 Y66.439
N480 X49.278 Y67.978
N485 X47.636 Y69.397
N490 X45.973 Y70.705
N495 X44.279 Y71.914
N500 X42.544 Y73.034
N505 X40.76 Y74.07
N510 X38.915 Y73.151
N515 X37.109 Y72.145
N520 X35.337 Y71.049
N525 X33.589 Y69.854
N530 X31.858 Y68.55
N535 X30.14 Y67.131
N540 X28.424 Y65.582
N545 X26.698 Y63.879
N550 X24.951 Y61.999
N555 X23.167 Y59.91
N560 X21.332 Y57.571
N565 X19.431 Y54.939
N570 X17.419 Y51.921
N575 X15.23 Y48.373
N580 X12.847 Y44.237
N585 X10.378 Y39.672
N590 X7.965 Y34.867
N595 X5.74 Y30.038
N600 X3.781 Y25.369
N605 X2.067 Y20.859
N610 X.565 Y16.462
N615 X-.742 Y12.159
N620 X-1.853 Y7.974
N625 X-2.773 Y3.929
N630 X-3.523 Y-.046
N635 X-4.125 Y-4.082
N640 X-4.591 Y-8.301
N645 X-4.908 Y-12.665
N650 X-5.075 Y-17.054
N655 X-5.108 Y-21.347
N660 X-5.036 Y-25.414
N665 X-4.894 Y-29.155
N670 X-4.705 Y-32.577
N675 X-4.459 Y-35.698
N680 X-4.144 Y-38.539
N685 X-3.76 Y-41.12
N690 X-3.331 Y-41.659
N695 X-2.878 Y-42.287
N700 X-2.388 Y-43.012
N705 X-1.852 Y-43.845
N710 X-1.258 Y-44.793
N715 X-.592 Y-45.866
N720 X.166 Y-47.081
N725 X1.039 Y-48.443
N730 X2.037 Y-49.931
N735 X3.136 Y-51.463
N740 X4.244 Y-52.882
N745 X5.303 Y-54.113
N750 X6.3 Y-55.158
N755 X7.235 Y-56.038
N760 X8.126 Y-56.788
N765 X8.997 Y-57.44
N770 X9.871 Y-58.014
N775 X10.76 Y-58.521
N780 X11.673 Y-58.97
N785 X12.619 Y-59.367
N790 X13.604 Y-59.714
N795 X14.627 Y-60.008
N800 X15.692 Y-60.248
N805 X16.791 Y-60.431
N810 X17.916 Y-60.552
N815 X19.062 Y-60.61
N820 X20.219 Y-60.604
N825 X21.376 Y-60.531
N830 X22.525 Y-60.394
N835 X23.655 Y-60.195
N840 X24.754 Y-59.935
N845 X25.815 Y-59.62
N850 X26.827 Y-59.255
N855 X27.78 Y-58.847
N860 X28.671 Y-58.402
N865 X29.507 Y-57.921
N870 X30.291 Y-57.404
N875 X31.031 Y-56.847
N880 X31.735 Y-56.245
N885 X32.408 Y-55.592
N890 X33.058 Y-54.881
N895 X33.685 Y-54.104
N900 X34.291 Y-53.256
N905 X34.875 Y-52.327
N910 X35.44 Y-51.303
N915 X35.983 Y-50.174
N920 X36.504 Y-48.92
N925 X37.003 Y-47.513
N930 X37.477 Y-45.925
N935 X37.921 Y-44.117
N940 X38.329 Y-42.044
N945 X38.688 Y-39.661
N950 X38.989 Y-36.935
N955 X39.222 Y-33.852
N960 X39.388 Y-30.442
N965 X39.503 Y-26.764
N970 X39.56 Y-22.856
N975 X39.533 Y-18.594
N980 X39.381 Y-13.941
N985 X39.071 Y-9.13
N990 X38.595 Y-4.351
N995 X37.96 Y.292
N1000 X37.155 Y4.913
N1005 X36.154 Y9.656
N1010 X34.95 Y14.515
N1015 X33.552 Y19.433
N1020 X31.95 Y24.417
N1025 X30.122 Y29.499
N1030 X28.071 Y34.632
N1035 X25.854 Y39.68
N1040 X23.562 Y44.49
N1045 X21.328 Y48.863
N1050 X19.241 Y52.668
N1055 X17.282 Y55.964
N1060 X15.418 Y58.846
N1065 X13.625 Y61.388
N1070 X11.885 Y63.649
N1075 X10.175 Y65.684
N1080 X8.483 Y67.528
N1085 X6.796 Y69.21
N1090 X5.1 Y70.755
N1095 X3.386 Y72.177
N1100 X1.652 Y73.487
N1105 X-.113 Y74.695
N1110 X-1.918 Y75.811
N1115 X-3.77 Y76.84
N1120 X-5.669 Y75.843
N1125 X-7.524 Y74.757
N1130 X-9.343 Y73.577
N1135 X-11.132 Y72.294
N1140 X-12.9 Y70.9
N1145 X-14.652 Y69.385
N1150 X-16.393 Y67.737
N1155 X-18.138 Y65.932
N1160 X-19.9 Y63.943
N1165 X-21.693 Y61.737
N1170 X-23.546 Y59.249
N1175 X-25.49 Y56.406
N1180 X-27.544 Y53.145
N1185 X-29.719 Y49.427
N1190 X-32.017 Y45.256
N1195 X-34.308 Y40.864
N1200 X-36.387 Y36.572
N1205 X-38.186 Y32.498
N1210 X-39.742 Y28.562
N1215 X-41.105 Y24.659
N1220 X-42.356 Y20.598
N1225 X-43.557 Y16.144
N1230 X-44.726 Y11.119
N1235 X-45.825 Y5.546
N1240 X-46.81 Y-.421
N1245 X-47.603 Y-6.319
N1250 X-48.159 Y-11.826
N1255 X-48.495 Y-16.864
N1260 X-48.651 Y-21.432
N1265 X-48.668 Y-25.587
N1270 X-48.581 Y-29.442
N1275 X-48.411 Y-33.033
N1280 X-48.161 Y-36.317
N1285 X-47.834 Y-39.249
N1290 X-47.444 Y-41.805
N1295 X-47.007 Y-44.029
N1300 X-46.529 Y-45.982
N1305 X-46.019 Y-47.708
N1310 X-45.483 Y-49.242
N1315 X-44.922 Y-50.614
N1320 X-44.342 Y-51.847
N1325 X-43.741 Y-52.961
N1330 X-43.121 Y-53.973
N1335 X-42.482 Y-54.893
N1340 X-41.825 Y-55.732
N1345 X-41.146 Y-56.5
N1350 X-40.446 Y-57.204
N1355 X-39.722 Y-57.848
N1360 X-38.967 Y-58.442
N1365 X-38.175 Y-58.989
N1370 X-37.339 Y-59.493
N1375 X-36.452 Y-59.957
N1380 X-35.513 Y-60.382
N1385 X-34.517 Y-60.764
N1390 X-33.466 Y-61.1
N1395 X-32.369 Y-61.382
N1400 X-31.239 Y-61.607
N1405 X-30.083 Y-61.769
N1410 X-28.911 Y-61.867
N1415 X-27.736 Y-61.9
N1420 X-26.565 Y-61.867
N1425 X-25.406 Y-61.769
N1430 X-24.27 Y-61.608
N1435 X-23.161 Y-61.386
N1440 X-22.087 Y-61.107
N1445 X-21.056 Y-60.774
N1450 X-20.065 Y-60.391
N1455 X-19.111 Y-59.956
N1460 X-18.19 Y-59.468
N1465 X-17.292 Y-58.92
N1470 X-16.407 Y-58.301
N1475 X-15.525 Y-57.602
N1480 X-14.628 Y-56.803
N1485 X-13.689 Y-55.872
N1490 X-12.69 Y-54.769
N1495 X-11.629 Y-53.47
N1500 X-10.521 Y-51.977
N1505 X-9.421 Y-50.357
N1510 X-8.427 Y-48.786
N1515 X-7.567 Y-47.357
N1520 X-6.824 Y-46.087
N1525 X-6.175 Y-44.965
N1530 X-5.598 Y-43.975
N1535 X-5.08 Y-43.105
N1540 X-4.609 Y-42.346
N1545 X-4.173 Y-41.687
N1550 X-3.76 Y-41.12
N1555 Z12.
N1560 G0 X-114.824 Y-10.44
N1565 G1 Z0. F1200.
N1570 X-108.566 Y0.
N1575 X-114.824 Y10.44
N1580 Z12.
N1585 G0 X-104.568 Y-10.44
N1590 G1 Z0. F1200.
N1595 X-98.48 Y0.
N1600 X-104.568 Y10.44
N1605 Z12.
N1610 G0 X110.648 Y-7.18
N1615 G1 Z0. F1200.
N1620 X121.095 Y0.
N1625 X110.648 Y7.18
N1630 X118.775 Y0.
N1635 X110.648 Y-7.18
N1640 Z12.
N1645 G0 X121.095 Y0.
N1650 G1 Z0. F1200.
N1655 X-115.035
N1660 X-124.258 Y10.44
N1665 X-93.838
N1670 X-87.58 Y0.
N1675 X-93.838 Y-10.44
N1680 X-124.258
N1685 X-115.035 Y0.
N1690 Z12.
N1695 M30
%
Ⅳ 数控图片编程大全
数控车床编程基础简介1.公制(米制)与英制编程
数控车床使用的长度单位量纲有公制(米制)和英制两种,由专用的指令代码设定长度单位量纲,如FANUC-0TC系统用G20表示使用英制单位量纲,G21表示使用公制(米制)单位量纲。系统通电开机后,机床自动处于公制尺寸状态。
2.直径编程和半径编程
(1)直径编程:采用直径编程时,数控程序中X轴的坐标值即为零件图上的直径值。
(2)半径编程:采用半径编程,数控程序中X轴的坐标值为零件图上的半径值。考虑使用上的方便,一般采用直径编程。CNC系统缺省的编程方式为直径编程。
a)直径编程
b)半径编程
图1 数控车削编程分类
a) A:(30.0,80.0),B:(40.0,60.0)
b) A:(15.0,80.0),B:(20.0,60.0)
3.车床的前置刀架与后置刀架
数控车床刀架布置有两种形式:如图2所示
图2 车床的前置刀架与后置刀架
(1)前置刀架。前置刀架位于Z轴的前面,与传统卧式车床刀架的布置形式一样,刀架导轨为水平导轨,使用四工位电动刀架;
(2)后置刀架。后置刀架位于Z轴的后面,刀架的导轨位置与正平面倾斜,这样的结构形式便于观察刀具的切削过程、切屑容易排除、后置空间大,可以设计更多工位的刀架,一般多功能的数控车床都设计为后置刀架。
4.刀尖半径补偿
在数控车削编程中为了编程方便,把刀尖看作为一个尖点,数控程序中刀具的运动轨迹即为该假想尖点的运动轨迹。(如图3所示)
图3 假想刀尖与刀尖半径
数控系统中引入了刀尖半径补偿: 在数控程序编写完成后,将已知刀尖半径值输入刀具补偿表中,程序运行时数控系统会自动根据对应刀尖半径值对刀具的实际运动轨迹进行补偿。
数控加工中一般都使用可转位刀片,每种刀片的刀尖圆角半径是一定的,选定了刀片的型号,对应刀片的刀尖圆角半径值即可确定。
刀尖圆弧半径补偿指令:
指令格式 G41(G42、G43)G01(G00)X(U)_Z(W)
指令功能 G41为刀尖圆弧半径左补偿;
G42为刀尖圆弧半径右补偿;
G40是取消刀尖圆弧半径补偿。
指令说明 顺着刀具运动方向看,刀具在工件的左边为刀尖圆弧半径左补偿;刀具在工件的右边为刀尖圆弧半径右补偿。只有通过刀具的直线运动才能建立和取消刀尖圆弧半径补偿。
5.数控机床的初始状态
初始状态: 指数控机床通电后具有的状态,也称为数控系统内部默认的状态,一般设定绝对坐标方式编程、使用米制长度单位量纲、取消刀具补偿、主轴和切削液泵停止工作等状态作为数控机床的初始状态。 不过数控编程是最重要的。 目前国内这内技术人才。真正重要的不多。不过这个学会。很有用的。 然后编程学会。把CAD精通下。 因为CAD画图出来。它精确之后。 你数控编程才好。
Ⅳ 数控铣床编程实例 简单
毛坯为70㎜×70㎜×18㎜板材,六面已粗加工过,要求数控铣出如图2-23所示的槽,工件材料为45钢。
选择机床设备:根据零件图样要求,选用经济型数控铣床即可达到要求。故选用XKN7125型数控立式铣床。
选择刀具:现采用φ10㎜的平底立铣刀,定义为T01,并把该刀具的直径输入刀具参数表中。
确定切削用量:切削用量的具体数值应根据该机床性能、相关的手册并结合实际经验确定,详见加工程序。
确定工件坐标系和对刀点:在XOY平面内确定以工件中心为工件原点,Z方向以工件表面为工件原点,建立工件坐标系,如图2-23所示。 采用手动对刀方法(操作与前面介绍的数控铣床对刀方法相同)把点O作为对刀点。
编写程序:按该机床规定的指令代码和程序段格式,把加工零件的全部工艺过程编写成程序清单。 考虑到加工图示的槽,深为4㎜,每次切深为2㎜,分二次加工完,则为编程方便,同时减少指令条数,可采用子程序。
Ⅵ 数控编程G73指令
1、复合型内外圆车削循环:指令格式如图片,第一行代码: G71 U2 R1 f0.15。
Ⅶ 数控车床编程实例带图的
G99(每转进给)
G0 X200 Z100(快速移动到安全位)
T0101(换1号外圆刀,执行1号刀补)
M03 S500(开启主轴正转,速度500R/MIN)
G0 X112 Z2(快速接近工件毛坯)
G71 U3 R0.5 F0.2(G71轴向精车循环加工,U3每次吃刀3MM单边,退刀0.5MM,速度0.2MM/R)
G71 P1 Q2 U0 W0(P1程序开始阶段,Q2程序结束阶段,U0——X轴不留精加工余量,W0——Z轴不留精加工余量)
N1 G0 X30(循环开始以后的第一阶段)
G1 Z-50
X90
Z-70
X110
N2 Z-140(循环结束的最后一阶段)
G0 X200 Z100(快速移动至安全换刀位)
T0202(换2号刀螺牙刀,执行2号刀补)
G0 X200 Z100 S300(快速移动至安全位,转速改为300R/MIN)
X30 Z4(快速定位至螺牙循环开始位置)
G92 X29.8 Z-48 F1.5(车螺牙,X轴牙底径29.8,Z牙长48MM,牙距1.5MM)
X29.6
X29.4
X29.2
X29
X28.8
X28.6
X28.4
X28.3
X28.2
X28.1
X28.05
G0 X200 Z100(快速移动至安全换刀位置)
T0303(换3号割刀,执行3号刀补)
G0 X200 Z100 S200(快速定位,转速200R/MIN)
X110 Z-84(移动至割槽循环开始位置)
G75 R0.5 F0.08(G75割槽循环,R——每次退刀0.5MM,F——每转进给0.08MM)
G75 X60 Z-120 P6000 Q4000(槽底径60MM,Z轴最大深度120MM,P——每次切入6MM,Z轴移动量)
M09(关水泵)
G0 X200 Z100 M05(快速移动至换刀安全位,关闭主轴)
T0101(换1号刀)
M30(程序结束)
Ⅷ 数控铣削简单图案编程
数控铣削培搭正简单图案编程:
G54G0Z50M3S800
X0Y0X-100Y-110Z5
G1Z-35F200
G41Y-100D1
G40X0Y0X0Y-110Z5
G1Z-25G41Y-100D1Y0
G2I100J0
G1Y110Z5
D1X50X100Y0X50Y-86.603X-50X-100Y0X-42.265Y100Z5
G0Z50
G40X0Y0X-61.237Y-110Z5
G1Z-10G41Y-100D1Y61.237
G40X0Y0M5M30
含义
随着数控技术的发展,先进的数控系统不仅向用户编程提供了一般的准备功能和辅助功能,而且为编程枝消提供了扩展数控功能的手段。FANUC6M数控系统的参数编程,应用灵活,形式自由,具备计算机高级语言的表达式、逻辑运算及类似的程序流程,使加工程序简练易懂,实现普通编程难以实现的配悔功能。
以上内容参考:网络-数控编程