Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need CNC codes for machining this piece. I posted this before and I got a repl

ID: 2086173 • Letter: I

Question

I need CNC codes for machining this piece. I posted this before and I got a reply saying it needs more info, there's no other info it's all listed on paper.

LAB ASSIGNMENT 6 ADVANCED PROGRAMMING CONCEPTS USING SUBROUTINES AND LOOPING . Write a CNC program that produces the work piece features as shown (pockets only). . Your program should use advanced programing concepts such as looping and subroutines. Write a subroutine to generate the pocket using incremental coordinates. Include looping in your main program to repeat the pocket feature. TOOL LIST Tool No Speed Feed (rpm)(ipm) 20 Operation Tool Description Pocket, depth 0.125" 0.5 in. CC end mill 3050 G 91 POCKET 2 Mill 6 Pockets 25 Deep 2.25 4 75 75 6

Explanation / Answer

N01 P5000; [ABSOLUTE PROGRAMING G90 IN MAIN PROGRAM ]

N05 G17 G20 G40 G49 G69 G80 G90 G94------------------; G20 INPUTE IN INCH UNIT

------------------G94 FEED PER MINUTE.

N10 G00 G28 G91 X00 Y00 Z00;

N15 M19;

N20 T01;

N25 M06;

N30 S3050;

N35 G00 G90 X-2 Y-1 Z2 G43 H01;

N40 G01 X0.75 Y0.75 F0.25;-------------------------FEED RATE 0.25 INCH PER MINUTE.

N45 M98 P5001; -----------------------------------------SUBROUTINE CALL M98 FOR POCKET MILLING

N50 X2 Y0.75;

N55 M98 P5001;----------------------------------------------SUBROUTINE CALL M98

N60 X3.25 Y0.75;

N65 M98 P5001;------------------------------------SUBOUTINE CALL FOR POCKET MILLING.

N70 X3.75 Y2.25;

N75 M98 P5001;---------------------------------SUBROUTINE CALL FOR POCKET MILLING

N80 X2 Y2.25;

N85 M98 P5001;--------------------------------------SUBROUTINE CALL FOR POCKET MILLNG

N90 X0.75 Y2.25;

N95 M98 P5001;-----------------------------------------SUBROUTIN CALL FOR POCKET MILLING

N100 G00 X-2 Y-2;

N105 M05;

N110 G00 G28 G91 X0 Y0 Z0;

N115 M30;

PROGRAM FOR POCKET MILLING

N01 P5001; [ INCREMENTAL PROGRAMING G91 IN PROGRAM P5001.]

N05 G20 G49 G69 G80 G91 G94;

N10 G01 Z0.125; --------------------------------------------DEPTH IN SINGLE CUT

N15 X0.5;

N20 Y0.25;

N25 X-0.5;

N30 Y-0.5;

N35 X0.5;

N40 Y0.25;

N45 Z2;

N50 M99;-----------------------------------------RETURN TO MAIN PROGRAM

YOU CAN TACKE CUT DEPTH IN SEVERAL STAGES BY MAKING ANOTHER SUB ROUTINE

THANK YOU.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote