0% found this document useful (0 votes)
25 views6 pages

NC Part Programming for Drilling and Milling

The document contains a series of part programs for drilling and milling operations using CNC machines. It includes detailed instructions and code for various tasks, specifying parameters such as cutting speed, feed rate, and tool selection for different part configurations. Each section outlines the setup, tool movements, and commands necessary to complete the machining processes.

Uploaded by

Mohammed
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)
25 views6 pages

NC Part Programming for Drilling and Milling

The document contains a series of part programs for drilling and milling operations using CNC machines. It includes detailed instructions and code for various tasks, specifying parameters such as cutting speed, feed rate, and tool selection for different part configurations. Each section outlines the setup, tool movements, and commands necessary to complete the machining processes.

Uploaded by

Mohammed
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

Dire Dawa University

Dire Dawa Institute of Technology


School of Mechanical and Industrial Engineering

Assignment 3 of Computer integrated Manufacturing

Given by: Solomon Kerealem (PhD, Assistant Professor)

Done by: Mohammed Mussa Id No: DDU1701921


NC Manual Part Programming

7.25 Write the part program to drill the holes in the part in Figure P7.25. The part is 12.0 mm
[Link] 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 7A.1.

Solution: At the beginning of the job, the drill point will be positioned at a target point located at
x = 0, y = 0,and z = + 10. The program begins with the tool positioned at this target point. Feed is
given as 0.06 mm/rev. Rotational speed of drill is calculated as follows:
100
N= 10π(10-3 ) = 3183rev/min

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.
7.26 The part in Figure P7.26 is to be drilled on a turret-type drill press. The part is 15.0 mm thick.
Three drill sizes will be used: 8 mm, 10 mm, and 12 mm, which are to be specified in the part
program by tool turret positions T01, T02, and T03. All tooling is high speed steel. Cutting speed
= 75 mm/min and feed = 0.08 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 7A.1.

Solution: At the beginning of the job, the drill point will be positioned at a target point located at
x = 0, y = 0,and z = + 10. The program begins with the tool positioned at this target point. Feed is
given as 0.08 mm/rev. Rotational speeds for the three drill diameters are calculated as follows:
For the 8 mm drill, N = 75/ (8 x 10-3) = 2984 rev/min
For the 10 mm drill, N = 75/ (10 x 10-3) = 2387 rev/min
For the12 mm drill, N = 75/ (12 x 10-3) = 1989 rev/min
NC part program code Comments
N001 G21 G90 G92 X0 Y0 Z010.0; Define origin of axes.
N002 G00 X025.0 Y025.0 T01; Rapid move to first hole location, select 8 mm drill.
N003 G01 G95 Z-20.0 F0.08 S2984 M03; Drill first hole.
N004 G01 Z010.0; Retract drill from hole.
N005 G00 X150.0; Rapid move to second hole location.
N006 G01 G95 Z-20.0 F0.08; Drill second hole.
N007 G01 Z010.0; Retract drill from hole.
N008 G00 X175.0; Rapid move to third hole location.
N009 G01 G95 Z-20.0 F0.08; Drill third hole.
N010 G01 Z010.0; Retract drill from hole.
N011 G00 X100.0 Y075.0 T02; Rapid move to fourth hole location, select 10 mm drill.
N012 G01 G95 Z-20.0 F0.08; Drill fourth hole.
N013 G01 Z010.0; Retract drill from hole.
N014 G00 X050.0; Rapid move to fifth hole location.
N015 G01 G95 Z-20.0 F0.08; Drill fifth hole.
N016 G01 Z010.0; Retract drill from hole.
N017 G00 X050.0 Y075.0 T03; Rapid move to sixth hole location, select 12 mm drill.
N018 G01 G95 Z-22.0 F0.08; 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.

7.27 The outline of the part in the previous problem 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. Write the part program in the word address format. Use absolute positioning. The program
style should be similar to Example 7A.2
Solution: As stated, two of the holes drilled in Problem 7.27 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.
7.28 The outline of the part in Figure P7.28 is to be profile milled, using a 20 mm diameter
end mill with two teeth. The part is 10 mm thick. Cutting speed = 125 mm/min and feed = 0.10
mm/tooth. Use the lower-left corner of the part as the origin in the x–y axis system. The two holes
in the part have already been drilled and will be used for clamping the part during milling. Write
the part program in the word address format. Use absolute positioning. The program style should
be similar to Example 7A.2.

Solution: As stated, the two holes will be used to clamp the workpart during milling. 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 20 mm diameter end mill with two teeth will be used. The
cutter is assumed to have a side tooth engagement length of 30 mm. Throughout the machining sequence the bottom
tip of the cutter will be positioned 20 mm below the part top surface, which corresponds to z = -20 mm.
Since the part is 10 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 125 m/min. Rotational speed of the
cutter is calculated as N = 125/(20 x 10-3) = 1989 rev/min. Given a feed = 0.10 mm/tooth, feed rate is calculated
as 1989(2)(0.10) = 398 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-020.0 S1989 M03; Rapid to cutter depth, turn spindle on.
N003 G01 G94 G42 Y0 D05 F398; Bring tool to starting y-value, start cutter offset.
N004 G01 X075.0; Mill lower horizontal edge of part.
N005 G01 X150.0 Y043.02; Mill angled edge at 35 degrees.
N006 G01 Y070.0; Mill vertical edge at right of part.
N007 G01 X080.0; Mill horizontal edge leading to arc.
N008 G17 G02 X050.0 Y100.0 R030.0; Circular interpolation around arc.
N009 G01 Y125.0; Mill vertical step above arc.
N010 G01 X0; Mill top part edge.
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.

Common questions

Powered by AI

When determining the part program for drilling operations using absolute positioning, key considerations include defining the origin of the axes, selecting appropriate tool turret positions for different drill sizes, and specifying parameters such as cutting speed, feed rate, and spindle rotational speed. For example, with the part in the document, the drill point is first positioned at a target location, typically explored by the commands `G90`, `G92`, and is then followed by rapid (`G00`) or controlled moves (`G01`) to each hole location, with appropriate tool selection and depth control. Rotational speeds and feeds must be calculated based on the specific drill size and cutting conditions .

Rapid moves, indicated by `G00`, are justified in NC part programs to quickly position the tool to the target location without cutting, thereby reducing non-productive time and improving cycle efficiency. These rapid moves are strategically used at the start and between machining operations to move swiftly to subsequent start points for drilling or milling, facilitating an efficient workflow within the machining process. The document utilizes commands like `G00` for repositioning to tool start points and post-operation withdrawal positions, ensuring that each machining phase transitions smoothly .

Defining the origin of the axes is crucial in NC programming as it establishes a reference point for all subsequent machining operations. It ensures consistency and precision in positioning and movement of the tool relative to the workpiece. In the document, the origin is established using the command `G92`, defining the X, Y, and Z coordinates, such as `X0 Y0 Z10`, to set the initial starting point of the tool in the coordinate system. This reference point allows for accurate calculations of tool paths and machining commands .

The choice of high-speed steel (HSS) tooling is significant in NC part programs for its durability and ability to maintain hardness at elevated temperatures, making it well-suited for high-speed operations. This choice affects machining parameters, including the cutting speed and feed rates, as HSS tools can accommodate relatively high speeds and maintain performance without premature wear. The NC programs reflect these parameters with specific feed and speed settings tailored for HSS tools, ensuring efficient material removal and finished part quality .

Feed rate, in conjunction with rotational speed, directly impacts machining efficiency in milling operations by determining the rate of material removal and surface finish quality. In the described operations, a calculated feed rate, derived from feed per tooth and rotational speed (`RPM * number of teeth * feed per tooth`), ensures optimal engagement of the cutter with the material. High feed rates can enhance material removal efficiency, reducing machining time while ensuring quality is upheld through appropriate rotational speed adjustments to avoid undue tool wear. The balance of these parameters, like in the program where feed is set with `G94`, highlights its critical role in achieving efficient and precise milling results .

Tool offset in NC programming is utilized to adjust the path of the milling cutter relative to the workpiece, allowing precise control over milling operations. The document describes using tool offset commands, such as `G42` for right-hand cutter compensation, to ensure the cutting path accounts for the tool diameter. This ensures that the intended contour or profile is accurately produced. The offset data, like cutter diameter, is often entered into a specific offset register (e.g., `D05`) used during the milling process to adjust the tool path accordingly .

The selection of drill size significantly impacts the design of a drilling part program as it determines the feed rate, rotational speed, and selection of tool turret positions. The program must accommodate varying feed per revolution rates and calculate RPM based on the specific drill diameter to maintain appropriate cutting conditions. Each drill size requires precise tool changes at turret positions, with the program specifying these in lines such as `T01`, `T02`, `T03` for coordination. The program needs to effectively handle switching between different drills to drill various sized holes efficiently and accurately in the workpiece .

The selection of machining parameters for a 30 mm end mill, as set out in the document, aims to ensure optimal load handling and performance. The rotational speed of 1592 rev/min and a feed rate of 541 mm/min are calculated to strike a balance between efficient material removal and tool stability. However, these parameters must account for tool deflection and potential chatter at high speeds, especially with increased feed per tooth. The choice of a relatively moderate cutting speed, alongside calculated tool paths and offsets, aims to distribute load while achieving desired precision and surface quality. Yet, these settings might require adjustment based on specific material hardness and desired finishes to avoid potential tool wear or part defects .

Cutting speed, feed rate, and RPM calculations for drilling vary according to the drill bit size to maintain appropriate machining conditions. Generally, cutting speed is kept constant across different sizes, ensuring the peripheral speed of the tool remains optimal. RPM is inversely related to the drill size, calculated as `cutting speed/(π * diameter)`. For instance, in the document, the RPM for an 8 mm drill is calculated as 2984 rev/min, decreasing to 1989 rev/min for a 12 mm drill, with decreasing RPM accommodating the larger diameter. Similarly, the feed rate (`feed per revolution * RPM`) varies, affecting the material removal rate as drill size and RPM adjust .

Material thickness affects the Z-axis position in an NC part program as it dictates the depth to which the mill cutter must descend to effectively engage the workpiece. For instance, in profile milling, the bottom tip of the cutter is positioned below the top surface of the material to a depth that equals the material's thickness. This ensures that the side cutting edges of the milling cutter fully cut through the part. In the provided example, this is reflected in positioning the cutter 25 mm below the part's top surface for a part that is 15 mm thick .

You might also like