SimWe仿真论坛's Archiver

COMSOL 2008年会圆满结束!

jinqinghai 发表于 2007-7-3 05:15

milling program with detailed explanation

See the attached.

One tech. credit point for me!!!  :lol

(CNC programming tutorial)


[size=3][color=#000000][font=Times New Roman] [/font][/color][/size]
[b][size=3][color=#000000][font=Times New Roman]O1;
(PROGRAM NUMBER)[/font][/color][/size][/b]
[i][color=red][size=3][font=Times New Roman]N1
(CENTER DRILL);[/font][/size][/color][/i]
[size=3][color=#000000][font=Times New Roman] [/font][/color][/size]
[font=Times New Roman][size=3][color=#000000]G98;
(SPECIFYING THE FEED PER MINUTE MODE)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]M45;
(CONNECTING SPINDLE 1 AS THE C-AXIS)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G28 H0;
(RETURNING THE C-AXIS TO THE MACHINE ZERO POINT)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G00 T0101;
(ROTATING THE TURRET TO INDEX NO.1 TOOL)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G97 S2000 M13;
(STARTING THE ROTARY TOOL SPINDLE [/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]IN THE NORMAL DIRACTION AT 2000min-1)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]X150.0 Z30.0 C30.0;
(POSITIONING AT THE HOLE MACHINING START POSITION) [/color][/size][/font]
[font=Times New Roman][size=3][color=#000000](AT A RAPID TRAVERSE RATE)[/color][/size][/font]
[size=3][font=Times New Roman][color=blue]G83 H60.0 Z-5.0 R-27.0 F150 K6; [/color][color=#000000]
(EXECUTING THE FACE SPOT DRILLING CYCLE G83)[/color][/font][/size]
[font=Times New Roman][size=3][color=#000000](H60.0 INCREMENTAL VALUE:)[/color][/size][/font]
[size=3][color=#000000][font=Times New Roman](PRESENT POSITION
B[/font][font=Wingdings][font=Wingdings]à[/font][/font][font=Times New Roman]C[/font][font=Wingdings][font=Wingdings]à[/font][/font][font=Times New Roman]D[/font][font=Wingdings][font=Wingdings]à[/font][/font][font=Times New Roman]E[/font][font=Wingdings][font=Wingdings]à[/font][/font][font=Times New Roman]F[/font][font=Wingdings][font=Wingdings]à[/font][/font][font=Times New Roman]A)[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000](Z-5.0 [/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| Z COORDINATE VALUE OF POINT Z (HOLE BOTTOM))[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000](R-27.0 [/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| SPECIFIES THE DISTANCE AND DIRECTION FROM INITIAL POINT TO POINT R)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000](F150 [/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| FEEDRATE OF 150mm/min)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000](K6 [/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| NUMBER OF REPETITIONS)[/color][/size][/font]
[size=3][color=#000000][font=Times New Roman] [/font][/color][/size]
[font=Times New Roman][size=3][color=#000000]G80;
(CANCELS A HOLE MACHING CANNED CYCLE)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G00 X200.0 Z100.0 M05;
(STOPPING THE ROTARY TOOL SPINDLE)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]M46;
(CANCELING THE C-AXIS CONNECTION)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G99;
(SPECIFYING THE FEED PER REVOLUTION MODE)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]M01;

(OPTIONAL STOP)[/color][/size][/font]
[size=3][color=#000000][font=Times New Roman] [/font][/color][/size]
[i][color=red][size=3][font=Times New Roman]N2;
(DRILLING WITH 6.8 MM DIA DRILL)[/font][/size][/color][/i]
[size=3][color=#000000][font=Times New Roman] [/font][/color][/size]
[size=3][color=#000000][font=Times New Roman]G98;
[/font][/color][/size]
[font=Times New Roman][size=3][color=#000000]M45;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G28 H0;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G00 T0202;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G97 S1300 M13;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]X150.0 Z30.0 C30.0;[/color][/size][/font]
[color=blue][size=3][font=Times New Roman]G83 H60.0 Z-18.0 R-27.0 F200 K6;[/font][/size][/color]
[font=Times New Roman][size=3][color=#000000]G80;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G00 X200.0 Z100.0 M05;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]M46; [/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G99;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]M01;[/color][/size][/font]
[size=3][color=#000000][font=Times New Roman] [/font][/color][/size]
[i][color=red][size=3][font=Times New Roman]N3 (M8 P=1.25 TAP);
(TAPPING WITH M8 P=1.25 TAP)[/font][/size][/color][/i]
[size=3][color=#000000][font=Times New Roman] [/font][/color][/size]
[font=Times New Roman][size=3][color=#000000]M45;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G28 H0;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G00 T0303;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G97;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]X150.0 Z30.0 C30.0;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]M329 S400;
(CALLING A SYNCHRONIZED TAPPING CYCLE)[/color][/size][/font]
[size=3][font=Times New Roman][color=blue]G84 Z-20.0 R-25.0 F1.25;[/color][color=#000000]
(EXECUTING THE FACE SYNCHRONIZED TAPPING CYCLE [/color][/font][/size]
[font=Times New Roman][size=3][color=#000000]AT POINT A)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000](Z-20.0 [/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| Z COORDINATE VALUE OF POINT Z (HOLE BOTTOM[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| Z=-(DEPTH OF TAP +TAP ENGAGING LENGTH)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]||
=-(15+5)=-20[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000](R-25.0[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| DISTANCE AND DIRECTION FROM THE INITIAL POINT (Z30.0) [/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| TO POINT R(Z25.0))[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000](F1.25[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| PITCH 1.25mm)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]C90.0;
(EXECUTING THE FACE SYNCHRONIZED TAPPING CYCLE (M329 G84)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]|| AT POINTS B TO F)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]C150.0;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]C210.0;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]C270.0;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]C330.0;[/color][/size][/font]
[size=3][color=#000000][font=Times New Roman] [/font][/color][/size]
[font=Times New Roman][size=3][color=#000000]G80;
(CANCELLING THE FACE SYNCHRONIZED TAPPING CYCLE (M329 G84))[/color][/size][/font]
[size=3][color=#000000][font=Times New Roman] [/font][/color][/size]
[font=Times New Roman][size=3][color=#000000]G00 X200.0 Z100.0 M05;[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]M46;
(CANCELING THE C-AXIS CONNECTION)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]G99;
(SPECIFYING THE FEED PER REVOLUTION MODE)[/color][/size][/font]
[font=Times New Roman][size=3][color=#000000]M30;
(ENDS PROGRAM EXECUTION)[/color][/size][/font]

[[i] 本帖最后由 jinqinghai 于 2007-7-3 06:46 编辑 [/i]]

页: [1]
 

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.