数控车床轴加工编程源代码(精选10例)
时间:2014年05月29日浏览:297次收藏分享:
例1:小手柄的数控车床加工
O0001;
N10 G92X100Z100;
N20 M06T01M08;
N30 M03S600;
N40 G00X32Z2;
N50 G01Z0F200;
N60 X-1;
N70 G00X60Z20;
N80 G73X52Z4P90Q160U1I7.5K2R5F200;
N90 G01X0F100;
N100 Z0;
N110 G03X22.29Z-18.1605R12.48;
N120 G02X20.169Z-43.001R30;
N130 G02X25Z-46.245R8;
N140 G03X27.983Z-49.368R4;
N150 G01Z-60;
N160 X50;
N170 M06T02M03S1000;
N180 G70P90Q160;
N190 G00X100;
N200 Z100;
N210 M03S200;
N220 M06T03;
N230 G00X32Z-61.935;
N240 G01X-1F20;
N250 G00X32;
N260 G00X100;
N270 Z100;
N280 M06T01;
N290 G00X100Z100;
N300 M05M09;
N310 M02;
例2:长手柄的数控车床加工
O0002;
N10 G92X100Z100;
N20 M06T01M08;
N30 M03S600;
N40 G00X41Z2;
N50 G01Z0F200;
N60 X-1;
N70 G00X40Z4;
N80 G73X43Z4P90Q140U0.5I8K2R10F200;
N90 G01X0F100;
N100 Z0;
N110 G03X9.226Z-2.505R5.5;
N120 G03X18.39Z-50.348R51.982;
N130 G02X18.982Z-73.602R30;
N140 G01Z-82;
N150 X50;
N160 M06T02M03S1000;
N170 G70P90Q140;
N180 G00X100;
N190 Z100;
N200 M03S200;
N210 M06T03;
N220 G00X32Z-84;
N230 G01X-1F20;
N240 G00X32;
N250 G00X100;
N260 Z100;
N270 M06T01;
N280 G00X100Z100;
N290 M05M09;
N300 M02;
例3:轴类零件1的数控车床加工
O0003;
N10 G92X100Z100;
N20 M06T01M08;
N30 M03S600;
N40 G00X42Z2;
N50 G01Z0F200;
N60 X-1;
N70 G00X80Z10;
N80 G73X50Z2P90Q170I9K2R6F200;
N90 G01X22F100;
N100 Z0;
N110 X23.981Z-1;
N120 Z-10;
N130 G02X24Z-25R10;
N140 G01X28.9Z-42;
N150 G03X31.98Z-60.97R17.98;
N170 G01Z-67;
N180 X60;
N190 M06T02M03S800;
N200 G70P90Q170;
N210 G00X100;
N220 G00Z100;
N230 M06T03;
N240 G00X42Z-69;
N250 G01X-1F20;
N260 G00X100;
N270 G00Z100;
N280 M06T01;
N290 G00X100Z100;
N300 M05M09;
N310 M02;
例4:轴类零件2的数控车床加工
O0004;
N10 G92X100Z100;
N20 M06TO1M08;
N30 M03S600;
N40 G00X42Z4;
N50 G01Z0F200;
N60 X-1;
N70 G00X41Z4;
N80 G71X41Z4P90Q160U0.5W0R0.5D-1F200;
N90 G01X0F100;
N100 Z0;
N110 X15Z-15;
N120 Z-25;
N130 G02X23Z-29R4;
N140 G01X28Z-55;
N150 G03X37.98Z-60R5;
N160 G01Z-74;
N170 X60;
N180 M03S800;
N190 G70P90Q160;
N200 G00X100;
N210 G00Z100;
N220 M06T02;
N230 M03S200;
N240 G00X42Z-74;
N250 G01X-1F15;
N260 X42F200;
N270 G00X100;
N280 G00Z100;
N290 M06T01;
N300 G00X100Z100;
N310 M05M09;
N320 M02;
例5:轴类零件3的数控车床加工
O0005;
N10 G92X100Z100;
N20 M06T01M08;
N30 M03S600;
N40 G00X32Z2;
N50 G01Z0F200;
N60 X-1;
N70 G00X50Z2;
N80 G73X50Z2P90Q160U0.5I7.5K2R5F200;
N90 G01X0F100;
N100 Z0;
N110 G03X15Z-16.614R10;
N120 G01X18.736Z-32.5;
N130 G03X18.736Z-47.5R12;
N140 G01X20Z-60.202;
N150 G03X27.983Z-70R14;
N160 G01Z-82;
N170 X60;
N180 M03S800;
N190 G70P90Q160;
N200 G00X100;
N210 G00Z100;
N220 M03S200;
N230 M06T02;
N240 G00X32Z-84;
N250 G01X-1F10;
N260 G00X100;
N270 G00Z100;
N280 M06T01;
N290 G00X100Z100;
N300 M05M09;
N310 M02;
例6:轴类零件4的数控车床加工
O0006;
N10 G92X100Z100;
N20 M06T01M08;
N30 M03S600;
N40 G00X42Z2;
N50 G01Z0F200;
N60 X-1;
N70 G00X50Z2;
N80 G71X41Z2P90Q150U0.5D-1R0.5F200;
N90 G01X15F100;
N100 Z0;
N110 G01X18Z-10;
N120 G02X24Z-20R15;
N130 G01X30Z-30;
N140 G03X37.98Z-45R25;
N150 G01Z-52;
N160 X60;
N170 G00X100;
N180 G00Z100;
N190 M03S800;
N200 G00X50Z4;
N210 G70P90Q150;
N220 G00X100;
N230 Z100;
N240 M03S200;
N250 M06T02;
N260 G00X42Z-53.975;
N270 G01X-1F20;
N280 G00X100;
N290 G00Z100;
N300 M06T01;
N310 G00X100Z100;
N320 M05M09;
N330 M02;
例7:轴类零件5的数控车床加工
O0007;
N10 G92X100Z100;
N20 M06T01M08;
N30 M03S600;
N40 G00X42Z2;
N50 G01Z0F200;
N60 X-1;
N70 G00X60Z8;
N80 G73X60Z8P90Q150U1W0I15K2R10F200;
N90 G01X0F100;
N100 Z0;
N110 G03X19.935Z-11.284R9.98;
N120 G02X28Z-22R12;
N130 G01X34Z-30;
N140 X37.98;
N150 Z-54;
N160 X60;
N160 M03S800;
N170 G70P90Q150;
N180 G00X100;
N190 G00Z100;
N200 M06T02;
N210 M03S200;
N220 G00X42Z-45;
N230 G01X34F15;
N240 G04X2;
N250 G01X42F200;
N260 Z-42;
N270 G01X34F15;
N280 G04X2;
N290 G02X42F200;
N300 Z-39;
N310 G01X34F15;
N320 G04X2;
N330 G01X42F200;
N340 G00Z-54;
N350 G01X-1F15;
N360 G00X100;
N370 G00Z100;
N380 M06T01;
N390 G00X100Z100;
N400 M05M09;
N410 M02;
例8:轴类零件6的数控车床加工
O0008;
N10 G92X100Z100;
N20 M06T01M08;
N30 M03S600;
N40 G00X80Z20;
N50 G01Z0F300;
N60 X-1;
N70 G73X50Z2P80Q140I8K2R5F200;
N80 G01X23.98F100;
N90 Z-1.82;
N100 G03X22Z-4.056R3;
N110 G02X17.38Z-19.142R12;
N120 G03X18.7Z-34.3R16;
N130 G02X23.98Z-44.874R8.5;
N140 G01Z-50;
N150 X60;
N160 M06T02M03S700;
N170 G70P80Q140;
N180 G00X100;
N190 G00Z100;
N200 M06T03;
N210 M03S200;
N220 G00Z-51.975;
N230 X32;
N240 G01X-1F20;
N250 G00X100;
N260 G00Z100;
N270 M06T01;
N280 G00X100X100;
N290 M05M09;
N300 M02;
例9:盘类零件1的数控车床加工
O0009;
N10 G92X100Z100;
N20 M06T01M08;
N30 M03S600;
N40 G00X42Z2;
N50 G01Z0F200;
N60 X5;
N70 G00X60Z10;
N80 G73X50Z4P90Q120U0.5I5.225K2R4F200;
N90 G01X31.55F100;
N100 Z0;
N110 G03X31.55Z-42R69.977;
N120 G01X60;
N130 G00Z100;
N140 X100;
N150 M06T02;
N160 G00X15Z4;
N170 G71X16Z2P180Q260U0.5D1R0.5F200;
N180 G01X30F100;
N190 Z0;
N200 X28.031Z-1;
N210 Z-10.5;
N220 X22Z-17.5;
N230 Z-28;
N240 G03X18.013Z-32.849R7;
N250 G01Z-44;
N260 X15;
N270 M03S1000;
N280 G70P180Q260;
N290 G001X17F100;
N300 G00Z100;
N310 X100;
N320 M06T01;
N330 M03S1000;
N340 G00X40Z4;
N350 G70P90Q120;
N360 G00X100;
N370 Z100;
N380 M03S200;
N390 M06T03;
N400 G00X42Z-41.975;
N410 G01X15F20;
N420 G00X42;
N430 G00X100;
N440 Z100;
N450 NM06T01;
N460 G00X100Z100;
N470 M05M09
N480 M02;
例10:盘类零件2的数控车床加工
O0010;
N10 G92X100Z100;
N20 M06T01M08;
N30 M03S600;
N40 G00X42Z4;
N50 G01Z0F200;
N60 X12;
N70 G00X80Z20;
N80 G71X41Z4P90Q190U0.5W0D-1R0.5F200;
N90 G01X20F100;
N100 Z-5;
N110 X22;
N120 X24Z-6;
N130 Z-10.5;
N140 X22Z-11.5;
N150 Z-27;
N160 X31.98;
N170 Z-37;
N180 X37.98;
N190 Z-48;
N200 X60;
N210 G00X100;
N220 G00Z100;
N230 M06T03;
N240 G00X20Z4;
N250 G71X15Z4P260Q290U0.5D1R0.5F200;
N260 G01X16F100;
N270 Z0;
N280 X15Z-0.5;
N290 Z-48;
N295 X15;
N300 M03S700;
N310 G70P2600Q290;
N320 G01X14F100;
N330 G00Z100;
N340 G00X100;
N350 M06T01;
N360 G70P90Q190;
N370 G00X100;
N380 G00Z100;
N390 M06T02;
N400 G00X30Z-4;
N410 G78X24Z-12P0.977D0.5F1.5;
N420 G00X100;
N430 G00Z100;
N440 M06T04;
N450 M03S200;
N460 G00X42Z-49;
N470 G01X12F20;
N480 G01X40F100
N490 G00X100;
N500 G00Z100;
N510 M06T01;
N520 G00X100Z100;
N530 M05M09;
N540 M02;