cadcam课程设计 实训 刀位文件和自动NC代码生成

更新时间:2024-05-10 02:52:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

刀位文件和自动NC代码生成:

1.区域车削

(1)区域车削屏幕演示截图:

(2)区域车削刀位文件清单:

$$* Pro/CLfile Version Wildfire 4.0 - M020 $$-> MFGNO / MFG0001 PARTNO / MFG0001 $$-> FEATNO / 31 MACHIN / UNCX01, 1

$$-> CUTCOM_GEOMETRY_TYPE / OUTPUT_ON_CENTER UNITS / MM TURRET / 1

$$-> CSYS / 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000 SPINDL / RPM, 800.000000, CLW RAPID

GOTO / 17.6000000000, 0.0000000000, 121.5000000000 FEDRAT / 150.000000, MMPM

GOTO / 15.5000000000, 0.0000000000, 121.5000000000 GOTO / 15.5000000000, 0.0000000000, 11.4142135624 GOTO / 16.6000000000, 0.0000000000, 11.4142135624 RAPID

GOTO / 16.6000000000, 0.0000000000, 121.5000000000 FEDRAT / 150.000000, MMPM

GOTO / 14.5000000000, 0.0000000000, 121.5000000000 GOTO / 14.5000000000, 0.0000000000, 75.0748134317 GOTO / 15.4925557853, 0.0000000000, 65.1492555785 GOTO / 15.5000000000, 0.0000000000, 65.0000000000 GOTO / 16.6000000000, 0.0000000000, 65.0000000000 RAPID

GOTO / 16.6000000000, 0.0000000000, 121.5000000000 FEDRAT / 150.000000, MMPM

GOTO / 13.5000000000, 0.0000000000, 121.5000000000 GOTO / 13.5000000000, 0.0000000000, 85.0748134317 GOTO / 14.5000000000, 0.0000000000, 75.0748134317 GOTO / 15.6000000000, 0.0000000000, 75.0748134317 RAPID

GOTO / 15.6000000000, 0.0000000000, 121.5000000000 FEDRAT / 150.000000, MMPM

GOTO / 12.5302983073, 0.0000000000, 121.5000000000 GOTO / 12.5302983073, 0.0000000000, 120.0909364045 GOTO / 13.0501617702, 0.0000000000, 119.5710690603 GOTO / 13.0606641312, 0.0000000000, 119.5606695988 CIRCLE / 12.0000000000, 0.0000000000, 118.5000133865, $ 0.0000000000, 1.0000000000, 0.0000000000, 1.5000000000 GOTO / 13.5000000000, 0.0000000000, 118.5000133865 GOTO / 14.6000000000, 0.0000000000, 118.5000133865 RAPID

GOTO / 14.6000000000, 0.0000000000, 121.5000000000 FEDRAT / 150.000000, MMPM

GOTO / 11.5605966146, 0.0000000000, 121.5000000000 GOTO / 11.5605966146, 0.0000000000, 121.0606453369 GOTO / 12.5302983073, 0.0000000000, 120.0909364045 GOTO / 13.6302983073, 0.0000000000, 120.0909364045 RAPID

GOTO / 16.6000000000, 0.0000000000, 120.0909364045 RAPID

GOTO / 16.6000000000, 0.0000000000, 65.0000000000 FEDRAT / 150.000000, MMPM

GOTO / 15.5000000000, 0.0000000000, 65.0000000000 CIRCLE / 14.0000000000, 0.0000000000, 65.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 1.5000000000 GOTO / 15.4347800354, 0.0000000000, 64.5625000000 CIRCLE / 71.3912014162, 0.0000000000, 47.5000000000, $ 0.0000000000, -1.0000000000, 0.0000000000, 58.5000000000 GOTO / 14.6304004721, 0.0000000000, 61.6584418697

GOTO / 14.6304004721, 0.0000000000, 33.3415581303 CIRCLE / 71.3912014162, 0.0000000000, 47.5000000000, $ 0.0000000000, -1.0000000000, 0.0000000000, 58.5000000000 GOTO / 15.4347800354, 0.0000000000, 30.4375000000 CIRCLE / 14.0000000000, 0.0000000000, 30.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 1.5000000000 GOTO / 15.5000000000, 0.0000000000, 30.0000000000 GOTO / 16.6000000000, 0.0000000000, 30.0000000000 RAPID

GOTO / 16.6000000000, 0.0000000000, 61.6584418697 FEDRAT / 150.000000, MMPM

GOTO / 14.6304004721, 0.0000000000, 61.6584418697 CIRCLE / 71.3912014162, 0.0000000000, 47.5000000000, $ 0.0000000000, -1.0000000000, 0.0000000000, 58.5000000000 GOTO / 13.7608009442, 0.0000000000, 57.5492259119 GOTO / 13.7608009442, 0.0000000000, 37.4507740881 CIRCLE / 71.3912014162, 0.0000000000, 47.5000000000, $ 0.0000000000, -1.0000000000, 0.0000000000, 58.5000000000 GOTO / 14.6304004721, 0.0000000000, 33.3415581303 GOTO / 15.7304004721, 0.0000000000, 33.3415581303 RAPID

GOTO / 15.7304004721, 0.0000000000, 57.5492259119 FEDRAT / 150.000000, MMPM

GOTO / 13.7608009442, 0.0000000000, 57.5492259119 CIRCLE / 71.3912014162, 0.0000000000, 47.5000000000, $ 0.0000000000, -1.0000000000, 0.0000000000, 58.5000000000 GOTO / 12.8912014162, 0.0000000000, 47.5000000000 CIRCLE / 71.3912014162, 0.0000000000, 47.5000000000, $ 0.0000000000, -1.0000000000, 0.0000000000, 58.5000000000 GOTO / 13.7608009442, 0.0000000000, 37.4507740881 GOTO / 12.9622125548, 0.0000000000, 44.6184621079 CIRCLE / 71.3912014162, 0.0000000000, 47.5000000000, $ 0.0000000000, -1.0000000000, 0.0000000000, 58.5000000000 GOTO / 15.4347800354, 0.0000000000, 30.4375000000 CIRCLE / 14.0000000000, 0.0000000000, 30.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 1.5000000000 GOTO / 15.5000000000, 0.0000000000, 30.0000000000 GOTO / 15.5000000000, 0.0000000000, 11.4142135624 GOTO / 17.6000000000, 0.0000000000, 11.4142135624 SPINDL / OFF $$-> END / FINI

(3)区域车削自动生成NC程序:

%

N1 S800 M3 N2 G0 Z121.5 N3 X17.6 Y0. N4 G1 X15.5 F150. N5 Z11.414 N6 X16.6 N7 G0 Z121.5 N8 G1 X14.5 F150. N9 Z75.075

N10 X15.493 Z65.149 N11 X15.5 Z65. N12 X16.6 N13 G0 Z121.5 N14 G1 X13.5 F150. N15 Z85.075 N16 X14.5 Z75.075 N17 X15.6 N18 G0 Z121.5 N19 G1 X12.53 F150. N20 Z120.091 N21 X13.05 Z119.571 N22 X13.061 Z119.561 N23 G18

N24 G2 X13.5 Z118.5 I-1.061 K-1.061 N25 G1 X14.6 N26 G0 Z121.5 N27 G1 X11.561 F150. N28 Z121.061 N29 X12.53 Z120.091 N30 X13.63 N31 G0 X16.6 N32 Z65.

N33 G1 X15.5 F150.

N34 G2 X15.435 Z64.563 I-1.5 K0. N35 G3 X14.63 Z61.658 I55.956 K-17.063 N36 G1 Z33.342

N37 G3 X15.435 Z30.438 I56.761 K14.158 N38 G2 X15.5 Z30. I-1.435 K-.438 N39 G1 X16.6 N40 G0 Z61.658 N41 G1 X14.63 F150.

N42 G3 X13.761 Z57.549 I56.761 K-14.158 N43 G1 Z37.451

N44 G3 X14.63 Z33.342 I57.63 K10.049

N45 G1 X15.73 N46 G0 Z57.549 N47 G1 X13.761 F150.

N48 G3 X12.891 Z47.5 K-10.049 N49 X13.761 Z37.451 I58.5 K0. N50 G1 X12.962 Z44.618

N51 G3 X15.435 Z30.438 I58.429 K2.882 N52 G2 X15.5 Z30. I-1.435 K-.438 N53 G1 Z11.414 N54 X17.6 N55 M5 N56 M30 %

2.轮廓车削

(1)轮廓车削屏幕演示截图:

(2)轮廓车削刀位文件清单:

$$* Pro/CLfile Version Wildfire 4.0 - M020 $$-> MFGNO / MFG0001 PARTNO / MFG0001 $$-> FEATNO / 160 MACHIN / UNCX01, 1

$$-> CUTCOM_GEOMETRY_TYPE / OUTPUT_ON_CENTER UNITS / MM TURRET / 1

$$-> CSYS / 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000 SPINDL / RPM, 800.000000, CLW RAPID

GOTO / 15.5000000000, 0.0000000000, 11.4142135624 FEDRAT / 150.000000, MMPM

GOTO / 15.5000000000, 0.0000000000, 30.0000000000 CIRCLE / 14.0000000000, 0.0000000000, 30.0000000000, $ 0.0000000000, -1.0000000000, 0.0000000000, 1.5000000000 GOTO / 15.4347800354, 0.0000000000, 30.4375000000 CIRCLE / 71.3912014162, 0.0000000000, 47.5000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 58.5000000000 GOTO / 15.4347800354, 0.0000000000, 64.5625000000 CIRCLE / 14.0000000000, 0.0000000000, 65.0000000000, $ 0.0000000000, -1.0000000000, 0.0000000000, 1.5000000000 GOTO / 15.4925557853, 0.0000000000, 65.1492555785 GOTO / 13.5000000000, 0.0000000000, 85.0748134317 GOTO / 13.5000000000, 0.0000000000, 118.5000133865 CIRCLE / 12.0000000000, 0.0000000000, 118.5000133865, $ 0.0000000000, -1.0000000000, 0.0000000000, 1.5000000000 GOTO / 13.0606641312, 0.0000000000, 119.5606695988 GOTO / 13.0501617702, 0.0000000000, 119.5710690603 GOTO / 11.5605966146, 0.0000000000, 121.0606453369 SPINDL / OFF $$-> END / FINI

(3)车削自动生成NC程序: %

N1 S800 M3 N2 G0 Z11.414 N3 X15.5 Y0. N4 G1 Z30. F150. N5 G18

N6 G3 X15.435 Z30.438 I-1.5 K0. N7 G2 X15.435 Z64.563 I55.956 K17.062 N8 G3 X15.493 Z65.149 I-1.435 K.437 N9 G1 X13.5 Z85.075 N10 Z118.5

N11 G3 X13.061 Z119.561 I-1.5 K0. N12 G1 X13.05 Z119.571 N13 X11.561 Z121.061 N14 M5 N15 M30

%

3.凹槽车削

(1)凹槽车削屏幕演示截图:

(2)凹槽车削刀位文件清单:

$$* Pro/CLfile Version Wildfire 4.0 - M020 $$-> MFGNO / MFG0001 PARTNO / MFG0001 $$-> FEATNO / 249 MACHIN / UNCX01, 1

$$-> CUTCOM_GEOMETRY_TYPE / OUTPUT_ON_CENTER UNITS / MM TURRET / 2

$$-> CSYS / 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000 SPINDL / RPM, 800.000000, CLW RAPID

GOTO / 25.1000000000, 0.0000000000, 86.1000000000

$$ GRV,9.0000,90.0000,5.000,1.000,0.000,0.000,100.000,0.000 FEDRAT / 100.000000, MMPM

GOTO / 20.1000000000, 0.0000000000, 86.1000000000 GOTO / 9.1000000000, 0.0000000000, 86.1000000000 GOTO / 20.1000000000, 0.0000000000, 86.1000000000

RAPID

GOTO / 20.1000000000, 0.0000000000, 85.1000000000 FEDRAT / 100.000000, MMPM

GOTO / 9.1000000000, 0.0000000000, 85.1000000000 GOTO / 20.1000000000, 0.0000000000, 85.1000000000 RAPID

GOTO / 20.1000000000, 0.0000000000, 87.1000000000 FEDRAT / 100.000000, MMPM

GOTO / 9.1000000000, 0.0000000000, 87.1000000000 GOTO / 20.1000000000, 0.0000000000, 87.1000000000 $$ GRV END SPINDL / OFF $$-> END / FINI

(3)车削自动生成NC程序: %

N1 S800 M3 N2 G0 Z86.1 N3 X25.1 Y0. N4 G1 X20.1 F100. N5 X9.1 N6 X20.1 N7 G0 Z85.1 N8 G1 X9.1 F100. N9 X20.1 N10 G0 Z87.1 N11 G1 X9.1 F100. N12 X20.1 N13 M5 N14 M30 %

4.螺纹车削

(1)螺纹车削屏幕演示截图:

(2)螺纹车削刀位文件清单:

$$* Pro/CLfile Version Wildfire 4.0 - M020 $$-> MFGNO / MFG0001 PARTNO / MFG0001 $$-> FEATNO / 343 MACHIN / UNCX01, 1

$$-> CUTCOM_GEOMETRY_TYPE / OUTPUT_ON_CENTER UNITS / MM TURRET / 3

$$-> CSYS / 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000 SPINDL / RPM, 800.000000, CLW RAPID

GOTO / 18.0000000000, 0.0000000000, 118.5000133865 FEDRAT / 200.000000, MMPM

OP / THREAD , TURN, DEPTH, 0.980000, MMPR, 1.500000, CUTS, 3, FINCUT, 1,$ CUTANG, 180.000000

GOTO / 12.0000000000, 0.0000000000, 118.5000133865 GOTO / 12.0000000000, 0.0000000000, 89.0000000000 OP / THREAD, NOMORE RAPID

GOTO / 18.0000000000, 0.0000000000, 118.5000133865 SPINDL / OFF

$$-> END / FINI

(3)螺纹车削自动生成NC程序: %

N1 S800 M3 N2 G0 Z118.5 N3 X18. Y0. N4 G1 X12. F200. N5 Z89. N6 G0 Z118.5 N7 X18. N8 M5 N9 M30 %

5.切断工件

(1)切断屏幕演示截图:

(2)切断车削刀位文件清单:

$$* Pro/CLfile Version Wildfire 4.0 - M020 $$-> MFGNO / MFG0001 PARTNO / MFG0001 $$-> FEATNO / 423 MACHIN / UNCX01, 1

$$-> CUTCOM_GEOMETRY_TYPE / OUTPUT_ON_CENTER UNITS / MM

TURRET / 2

$$-> CSYS / 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000 SPINDL / RPM, 800.000000, CLW RAPID

GOTO / 25.1000000000, 0.0000000000, 7.1000000000 FEDRAT / 100.000000, MMPM

GOTO / 20.1000000000, 0.0000000000, 7.1000000000 GOTO / -0.9000000000, 0.0000000000, 7.1000000000 GOTO / 25.1000000000, 0.0000000000, 7.1000000000 SPINDL / OFF $$-> END / FINI

(3)切断车削自动生成NC程序: %

N1 S800 M3 N2 G0 Z7.1 N3 X25.1 Y0. N4 G1 X20.1 F100. N5 X-.9 N6 X25.1 N7 M5 N8 M30 %

TURRET / 2

$$-> CSYS / 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $ 0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000 SPINDL / RPM, 800.000000, CLW RAPID

GOTO / 25.1000000000, 0.0000000000, 7.1000000000 FEDRAT / 100.000000, MMPM

GOTO / 20.1000000000, 0.0000000000, 7.1000000000 GOTO / -0.9000000000, 0.0000000000, 7.1000000000 GOTO / 25.1000000000, 0.0000000000, 7.1000000000 SPINDL / OFF $$-> END / FINI

(3)切断车削自动生成NC程序: %

N1 S800 M3 N2 G0 Z7.1 N3 X25.1 Y0. N4 G1 X20.1 F100. N5 X-.9 N6 X25.1 N7 M5 N8 M30 %

本文来源:https://www.bwwdw.com/article/59rg.html

Top