0% found this document useful (0 votes)
147 views4 pages

Homework Solution# 3 I&ME 471 Due 3/31: Hint: You Will Need To Calculate The N

The document contains the solutions to two homework problems involving G-code programming for CNC machining. Problem 1 provides the G-code to drill six holes in a part based on given dimensions and machining parameters. Problem 2 provides the G-code for profile milling the outline of a part shown in a figure using an end mill, also with given machining specifications.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views4 pages

Homework Solution# 3 I&ME 471 Due 3/31: Hint: You Will Need To Calculate The N

The document contains the solutions to two homework problems involving G-code programming for CNC machining. Problem 1 provides the G-code to drill six holes in a part based on given dimensions and machining parameters. Problem 2 provides the G-code for profile milling the outline of a part shown in a figure using an end mill, also with given machining specifications.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

HOMEWORK SOLUTION# 3

I&ME 471
Due 3/31
Note: Appendix A7 will be required to solve the problems in this group.
1. (12.5pts) Write the part program to drill the holes in the part shown in Figure 1. The
part is 12.0 mm thick. Cutting speed = 100 m/min and feed = 0.06 mm/rev. Use the
lower left corner of the part as the origin in the x-y axis system. Write the part program
in the word address format using absolute positioning. The program style should be
similar to Example A7.1.
Hint: you will need to calculate the N.
NC part program code Comments
N001 G21 G90 G92 X0 Y0 Z010.0; Define origin of axes.
N002 G00 X040.0 Y025.0; Rapid move to first hole location.
N003 G01 G95 Z-20.0 F0.06 S3183 M03; Drill first hole.
N004 G01 Z010.0; Retract drill from hole.
N005 G00 Y100.0; Rapid move to second hole location.
N006 G01 G95 Z-20.0 F0.06; Drill second hole.
N007 G01 Z010.0; Retract drill from hole.
N008 G00 X100.0; Rapid move to third hole location.
N009 G01 G95 Z-20.0 F0.06; Drill third hole.
N010 G01 Z010.0; Retract drill from hole.
N011 G00 X160.0; Rapid move to fourth hole location.
N012 G01 G95 Z-20.0 F0.06; Drill fourth hole.
N013 G01 Z010.0; Retract drill from hole.
N014 G00 X125.0 Y060.0; Rapid move to fifth hole location.
N015 G01 G95 Z-20.0 F0.06; Drill fifth hole.
N016 G01 Z010.0; Retract drill from hole.
N017 G00 X200.0 Y040.0; Rapid move to sixth hole location.
N018 G01 G95 Z-20.0 F0.06; Drill sixth hole.
N019 G01 Z010.0; Retract drill from hole.
N020 G00 X0 Y0 M05; Rapid move to target point, stop spindle rotation.
N021 M30; End of program, stop machine.
2. (Bonus: 10pts) The outline of the part shown in Figure 2 is to be profile milled using a
30 mm diameter end mill with four teeth. The part is 15 mm thick. Cutting speed = 150
mm/min and feed = 0.085 mm/tooth. Use the lower left corner of the part as the origin
in the x-y axis system. Two of the holes in the part have already been drilled and will
be used for clamping the part during profile milling. Use absolute positioning. The
program style should be similar to Example A7.2 in your book.
Hint: As stated, two of the holes drilled will be used to clamp the workpart for milling
the outside edges. The part will be fixtured so that its top surface is 40 mm above the
surface of the machine tool table, and the x-y plane of the axis system will be defined
40 mm above the table surface. As given, a 30 mm diameter end mill with four teeth
will be used. The cutter is assumed to have a side tooth engagement length of 40 mm.
Throughout the machining sequence the bottom tip of the cutter will be positioned 25
mm below the part top surface, which corresponds to z = -25 mm. Since the part is 15
mm thick, this z position will allow the side cutting edges of the milling cutter to cut
the full thickness of the part during profile milling. Cutting speed is specified as 150
m/min. Rotational speed of the cutter is calculated as N = 150/(30π x 10-3) = 1592
rev/min. Given a feed = 0.085 mm/tooth, feed rate is calculated as 1592(4)(0.085) =
541 mm/min. Cutter diameter data has been manually entered into offset register 05. At
the beginning of the job, the cutter will be positioned so that its center tip is at a target
point located at x = -50, y = -50, and z = + 10. The program begins with the tool
positioned at this location.

NC part program code Comments


N001 G21 G90 G92 X-050.0 Y-050.0 Z010.0; Define origin of axes.
N002 G00 Z-025.0 S1592 M03; Rapid to cutter depth, turn spindle on.
N003 G01 G94 G42 Y0 D05 F541; Bring tool to starting y-value, start cutter offset.
N004 G01 X200.0; Mill lower part edge.
N005 G01 Y050.0; Mill right straight edge.
N006 G01 X150.0; Mill horizontal step above two 8 mm holes
N007 G17 G02 X125.0 Y075.0 R025.0; Circular interpolation around arc.
N008 G01 X125.0 Y100.0; Mill vertical step above arc.
N009 G01 Y025.0; Mill top part edge.
N010 G01 X0 Y050.0; Mill angled edge at left of part.
N011 G01 Y0; Mill vertical edge at left of part.
N012 G40 G00 X-050.0 Y-050.0 Z010.0 M05; Rapid move to target point, cancel offset, spindle stop.
N013 M30; End of program, stop machine.
Figure 1 – Part for Problem 1
Figure 2 – Part for Problem 2

You might also like