Milling
Milling
Milling
Authors
Project Advisor
Dr. Mudaser-Ullah
Assistance Professor
Jun 2023
Abstract
Undertaking
We certify that final year project titled “Design and fabrication of multifunctional CNC
machine with adjustable tool post” is our own work. The work has not been presented
elsewhere for assessment. Where material has been used from other sources it has been
Abstract…………………………………………………………………………………….ii
Acknowledgement………………………………………………………………………...iii
List of Figures……………………………………………………………………………..vi
List of Tables…………………..……………………………………………………..…...vii
Abbreviations………………...………………………………………………………......viii
Chapter 1: Introduction……………………………………………………………………1
1.2 Background………………………………………………………………..1
Chapter 2:………………………………………………………………………………….7
ABBREVIATIONS
2-D: Two-Dimensional
3-D: Three-Dimensional
Chapter # 01
1.1 Introduction
machining operations automatically. CNC machines are more productive and flexible
The use of CAD and CAM tools has greatly increased the automation of component
design from start to finish in contemporary CNC systems. The software creates a
required to operate a particular machine. These commands are then baked into CNC
tools into a single "cell" because each component may require the usage of numerous
tools (drills, saws, etc.). In other deployments, the component is transferred from
machine to machine using a variety of machines that have an external controller and
1.2 Background:
The earliest NC machines were created in the 1940s and 1950s by modifying
conventional tools with motors that moved the controls to follow points input into the
operation. Originally, all equipment were operated manually, which meant that
mistakes were a significant possibility. These identical activities are performed by the
CNC machine with more precision and speed. The first CNC machines were created
in the 1970s to help huge industrial companies speed up output. They were extremely
CNC milling is a machining process that utilizes computerized controls to manage the
movement and operation of multi-point rotary cutting tools. As the tools rotate and
move across the surface of the workpiece, they slowly remove excess material to
The systems used in CNC milling operations are known as CNC milling machines.
They can have a moving workpiece and a stationary rotary tool, a stationary
workpiece and a moving rotary tool, or a moving workpiece and rotary tool,
depending on their design and the milling requirements. As CNC milling generally
The CNC milling process can be broken up into four distinct stages:
compatible file format and converted into machine instructions using CAM software
CNC milling machine setup: the machine operator prepares the machine and
workpiece
other engineered materials, making it easy for manufacturers to choose a material that
Automotive
Commercial
Electronics
Telecommunications
Transportation
CNC engraving is a subtractive process that removes material from a surface to create
the desired shape. It is typically done with a CNC (Computer Numerical Control)
router machine, which uses a cutting tool to cut away material along predetermined
This method is often used to create intricate, detailed shapes and designs in various
CNC engraving machines are equipped with a range of accessories to keep the
engraving bit holders, toggle clamps, carbide cutting tools, vises, machine housings,
suction pumps.
These accessories help keep the work area clean by removing dust and debris with a
spindle-mounted dust shoe and suction pump. They also help to keep the material and
providing a high-precision output that can create unique items. Not only that, CNC
engraving can be carried out on various materials such as aluminum, brass, and
copper.
• Create hardware for CNC machines that can connect with software.
• For milling operation, operate the CNC machine on both the x and y axes.
hardware.
• Errors in programming
The main thesis has been subdivided into four distinct pieces. In the first section, we
explained the statement and its solution to complete our work. That part not only
discusses the problem and its solution, but it also briefly discusses the special aims of
our task. In the second section, we defined what CNC implies and gave a detailed
second chapter. We went through our whole hardware and its unique pieces in detail
in the third chapter. The fourth section is a description of software; in this chapter,
we've spoken about some of the most unusual types of software that have been
employed. In addition, in this chapter, we've covered crucial codes that may be
motions of a machine tool via the use of a computer software that contains code in
the form of alphanumeric data. CNC machines are existing in the world for the last
40 to 50 years. They have revolutionized from basic to now a day, advanced level
robust and complex. They can do more difficult tasks at increased speed and
accuracy.
Rober and Shin CNC machine Jan 1995 A high-speed Error in the
PC-based
architecture
controller to do
controller
all CNC
operations
The interaction
Over successive
between
generations, as
machine
a result of
movements and
interactions
the production
between the
environment
dynamic
leads to the
Evolutionary environment of
machine
M. Kovacic programming of Jan 2005 the tool and the
movement
CNC machines workpiece,
becoming
more and more
increasingly
optimum NC
complex and the
programmers
gradual
increasingly
emergence of
become
intelligent
available.
solutions.
carving
accuracy of
marking wood
to create 2D or
3D things.
the machine
tool; (ii)
configuration of
realize the
the machine
hardware for the
tool control;
control system,
(iii) simulation
while open-
and verification
architecture
of the virtual
Linux CNC is
prototype; (iv)
used for the
realization of
software
the virtual
portion.
prototype; and
machine tool.
capable of
purposes. carving of
various
materials.
Amit Sharma, S. "Design and 2021 The aim of this The authors
small-scale performing
manufacturing precision
purposes. cutting of
various
materials such
as wood,
plastic, and
aluminum. The
machine was
also equipped
with a user-
friendly
interface and
software that
can be easily
learned by
operators.
was capable of
performing
high-precision
cutting and
engraving of
small-sized
objects with an
accuracy of up
to 0.01 mm.
CNC machines rely on computers for performing the tasks instead of humans. Many
types of CNC machine have been developed. Amongst them, the most common CNC
machines are those who work on two-axes and three-axes as well. There are many
types of CNC machines like routers, plasma cutter, laser cutter and engraver and now
there are newer versions like CNC Machine s. Using different actuators, drivers and
drives, breakout 9 boards, software programs like CAD, Sli3r, Pronterface and others,
they can create a three dimensional solid object. Computerized numerical control
(CNC) machines may create any mechanical design based on a design program
provided to their controller unit. The controlling device can be either a computer or a
microcontroller. CNC machines use stepper and servo motors to draw the design in
accordance with the provided software. A CNC plotting machine cannot operate
without its three axes (x, y, and z). On plain paper, the x- and y-axes combine to
create a two-dimensional image. Given that the x and y axes are 90 degrees apart, it is
possible to provide the coordinates of every point on the plain surface. Using the z-
axis, the pen is raised and lowered onto the plain paper. Based on the drawing to be
done, the computer will determine the necessary coordinates, and it will send them to
the microcontroller via the USB link. The microprocessor interprets these coordinates
and directs the motors' locations to produce the image. As the microcontroller for this
CNC machine, we used an Arduino. The three-axis motions are propelled by stepper
One of the most common CNC machines are mills, which include integrated tools
mostly used for drilling and cutting. To route and travel the spindle in various ways,
mills develop and convert specialized programs made up of letters and numbers (G
code). Every action and movement of the spindle and tools is guided and instructed
by the computer code in order to accurately cut and transform the workpiece into a
planned bespoke item. Some of the typical tasks that a CNC milling machine may
carry out include tapping, turning, drilling, milling the face, and milling the shoulder.
Configurations for CNC milling machines range from three to six axes. The three
axes in the simplest 3-axis CNC stand for the motions of the X axis (horizontal), Y
revolving wheel. Camshafts, ball bearings, transmission shafts, and other functional
items that need an exact and precise finish are frequently ground on CNC grinding
machines. Cylindrical objects are frequently produced with a CNC grinding machine.
As the name implies, high-pressure water jets are used by CNC waterjet cutters to cut
through materials. CNC waterjet cutting is frequently chosen when working with
materials like plastic and aluminum that are sensitive to temperature and might melt
at high temperatures. Despite the fact that these machines can cut with only water,
extra abrasives like garnet or aluminum oxide are frequently added to the water for
more effective cutting. When comparing equivalent specs, a CNC Water-jet cutting
machine is more expensive than a plasma cutter. However, it is less costly than a
CNC Laser cutter with the same specs. Being slower than CNC plasma cutters and
Like laser cutters, CNC plasma cutting machines provide a high level of cutting
precision and a wide variety of material compatibility. They only vary from laser
cutters in that they use a plasma flame to do the cutting. High-powered plasma (or
These are also referred to as sparks. A unique kind of CNC machine called a CNC
machine manipulates materials into the required shape using electric sparks.
Electrical discharge can damage the materials from which it is delivered since it has a
temporary impact. This is used by the electric discharge CNC machines to shape
materials by creating controlled sparks. The materials are placed in the electrode’s
top and bottom regions, and the computer then determines how much electrical
3D Printer:
It is a CNC machine that prints elements one at a time. The CAD and CAM processes
are utilized to develop the design and drawing, and the 3D printer is then used to
reflect that design. The CNC device is used in 3D printing houses and other
structures.
Programing languages:
The programming languages have been used in CNC milling Machine are g-code, M-
code and Arduino language (a set of C/C++ functions). The Hewlett-Packard HP-GL,
HP-GL/2, Houston Instrumentation DMPL, and APT are the most well-known of
these languages. These days, programming languages like G-Code and M-Code are
G-Code:
machine controller, which direct the motors where to go, how fast they should go,
and what path they should adopt. There are two main types of programming
machine movements and tool working. The program instructions consist of G-code
functions that contain the information to position a tool to do the actual work. It tells
the function to perform as well as position and coordinates where this function is to
be performed. G codes give the machine directions on how and where to move.
Different letters dictate how the machine moves and numbers set the parameters.
While the system is called G code, G is not the only letter used. Other letters have
machine’s dialect.
B: The number with B shows the rotational value around the y-axis.
C: An auxiliary axis that rotates around the z-axis gets its positional value from the C
value.
D: This number shows how much the system offsets the tool diameter.
I and J: These values indicate the incremental center of any arcs the machine makes.
X, Y, Z: These values indicate the position of the tool in three dimensions — X for
While the codes used depend on the machine, some basic letter and number
For example:
to the specified coordinates of the command. All axes move at once, so they
simultaneously complete the action. The movement to the new point is a straight line.
The G01 command moves the machine in a straight line at your designated feed rate,
which you can set with the F function. You must have your project’s X, Y and Z
values before beginning this code to create a straight line. Once you’ve entered the
code, the machine gets to work calculating these points to make the straight line.
The G02 command moves the machine clockwise. For it to work properly, you must
define the center of rotation, which is a similar measurement to the radius of a circle
with a center point and the starting point of the arc. You must also define the
endpoint parameters. The starting point is simply the ending point of the previous
The G03 command also moves the machine in a circular motion but counterclockwise
M-code:
An M-code in CNC programming controls miscellaneous machine functions,
including starting and stopping specific actions or programs. M code is the machine
control language that controls the overall program, often called G code. While G
particular operations of the equipment. Without M codes, you may direct tools to a
spot and tell them to move in a line or arc, but you won’t have any success giving
more direct commands, like to stop programs, change tools, flood the system with
coolant or other actions beyond the three main movements G codes control.
spindle.
These two codes work together to manufacture parts and components, making them
Working Principle:
The first step is to have a design of an object done in a CAD program; any CAD
program is fine. Then the CAD program is translated into instructions that a CNC
Machine can use through STL or AMF, or something similar. These instructions turn
the CAD code into G-code that renders the object into “slices” that a CNC Machine
can use to build the object one layer at a time. This code is fed to Pronterface which
run this code with the help of Arduino program that a CNC Machine uses to build the
desired object. The main 11 components of CNC Machine are stepper motors and
XYZ movement arrangement. Stepper motors are responsible for movement of hot
end in XZ direction and the platform in Y direction on which the printable objects
will be drawn.
mathematically defined by any other point along the 3 perpendicular planes. CNC
machines use this coordinate system to specify the work position. The major axis is
the X-axis, which is parallel to the Y-axis and the Z-axis is perpendicular to both the
X and Y axes. The hot end moves in the X and Z axes in the left, right, up, and down
directions as the machine is operated in XYZ coordinates. The origin, also known as
the zero point, is the intersection of the X and Y axis lines, which should be at right
angles to one another. In the first quadrant of the coordinate system, the X and Y axes
both have positive values. In the second quadrant, Y is positive while X is negative.
The third quadrant has negative values for both X and Y. In the fourth quadrant, X is
Programming Mechanism:
The incremental system and the absolute system are the two types of programming
approaches utilized for CNC machine programming. Both techniques are utilized for
programming and are neither correct nor wrong. Locations are presented in
incremental program mode as a distance and direction from the previous place where
the machine was operating. For example, if we wish to move a machine tool from
(X7, Y7, Z7) to (X23, Y23, Z23), we program it from the same location. 12 In
absolute program mode, locations are provided as the distance and direction in
Point-to-Point or Positioning:
Moment in time placement is used when exact alignment of the tool is needed. It is
the act of moving while performing a machining operation of one coordinate position
to another, and it repeats this action until all operations for all programmed locations
are completed.
Programming Format:
The most popular programming format for CNC machines is the STL file format.
This file type consists of many slices from a CNC machine that are used to transmit
G-code, or program information, from the computer to the various parts of the CNC
such as feed, speed, cutter diameter offset, and tool number, additional codes like M,
F, S, D, and T are employed. G-codes are also referred to as cycle codes since they
describe actions taken on the X, Y, and Z axes of a machine tool. Machine tools, for
Components Detail:
given as following:
Stepper Motor:
motor that is synchronous, or stepper motor, translates electrical pulses into specified
extremely accurate and may be repeated and over for a continuous or stepwise
movement. Stepper motors are extremely useful for situations where placement is
permanent magnet stepper motors, although electromagnets are used in the rotor field
of certain motors. Coil windings and magnetically conducting stators are among the
with north and south poles is produced. The rotor must line up with the stator's
magnetic field due to the magnetic field carried by the stator. To induce rotatory
motion, the magnetic field can be altered successively by activating or stepping the
stator coils.
A stepper motor's stator contains several coils that are grouped into groups called
phases. We may rotate the motor by activating each phase in turn. The picture shows
magnetically locking the rotor in the position shown as opposite poles attract. When
phase "A" is turned off and phase "B" is switched on in Step 2, the rotor rotates 90
degrees in a clockwise direction. Phases "B" and "A" are switched on and off in Step
3, but with the polarity reversed from Step 1. Thus, another 90° revolution takes
place. Phases A and B are switched on and off in Step 4 after the polarity from Step 2
has been reversed. When this process is repeated, the rotor turns in 90° increments in
revolution. They may be between 4 and 400. Commonly available steps are 24, 48,
200 and 400. It is also defined 14 in step angle. A motor of 200 steps per revolution
The trade-off for high resolution i.e., number of steps is speed and torque. A motor of
high step count will have less rpm than a low step count stepper motor. To achieve
high positioning resolution, gearing mechanism are sometimes used which also helps
Motherboard:
MKS DLC32 motherboard kit, which is an offline engraving master control kit
developed for desktop engraving machines. The hardware is equipped with a 32-bit
high-speed ESP32 module; it can realize fast engraving and WEB web pages.
The mounting holes and board size of MKS DLC32 are compatible with MKS DLC,
and it can also be used with the LaserGRBL and LightBurn PC software.
Linear Bearings:
The linear bearings used here are of type LM8UU there model is clearly showing that
they have the inner diameter of 8mm. These bearings are usually used to smooth the
linear motion of the objects. The steel rails are inserted in these bearings to make
their motion smooth in both X-axis, Y-axis & Z-axis direction. Three bearings are
used in the X-axis base, three are used in Y-axis base & the other four bearings are
2 Threaded rods are used for the movement in Z-axis. These rods are coupled with
the shaft of the shaft of the motors. They are also helpful in holding the machine parts
Shaft coupler:
A mechanical component that connects the driver and driven shaft of a motor in order
Aluminum profile:
Aluminum profiles are used in CNC as base for workpiece. The workpiece is adjusted
M3 Screws:
M3 screws of different lengths are used for combining and tightening different parts
with each other. These are 3mm in diameter and 6mm, 15mm or 20mm in length
M8 Nuts:
These nuts are used with M8 threaded rods. Mainly used to tighten the basement
structure and to hold tightly the X-end & Y-end stepper motor holder.
T8 lead screw:
This T-type screw is a new type of screw, mainly used in stepping motors, machine
tools, guide rails and other equipments. The diameter of the lead screw is 8mm; pitch
Drill bits:
Drill bits are cutting tools used in a drill to remove material to create holes, almost
always of circular cross-section. Drill bits come in many sizes and shapes and can
create different kinds of holes in many different materials. In order to create holes
drill bits are usually attached to a drill, which powers them to cut through the
workpiece, typically by rotation. The drill will grasp the upper end of a bit called
the shank in the chuck.
Bits are usually connected to a mechanism, often simply referred to as a drill, which
rotates them and provides torque and axial force to create the hole.
Shank:
There are different types of shank. Some of them are given below:
3-Flatted Shank:
Generally 3 flats designed to allow a strong chuck grip on the shank. Reduces the
possibility of the drill slipping in the chuck during tough drill applications
Reduced Shank:
Usually 1/4", 3/8", or 1/2" and are designed to allow a larger diameter drill to be used
Tanged Shank:
This style of shank is used with a split sleeve drill driver as a replacement for taper
shank drills.
Washout:
The extreme increase at the end of the flute, formed by the grinding wheel or cutter.
Web Increase:
The web thickness increases in thickness towards the shank to enhance the rigidity of
the drill.
The drill body is that portion of the drill that extends from the shank to outer corners
Drill Body:
Portion of the drill extending from the end of the flutes to the outer corner of the
cutting lips.
Drill Axis:
Imaginary straight line that forms the center line of the drill.
Back Taper:
Slight decrease in diameter from point towards shank, in the body of the drill.
The portion of the land that has been cut away so it will not bind against the walls of
the hole.
Neck:
The section of reduced diameter between the body and the shank of a drill.
Flute Length:
The length from the outer corner of the cutting lips at the point (shoulder) to the
Flutes:
Grooves formed in the body of the drill to provide cutting lips, to permit removal of
Not round. If caused from centerless grinding, the part will usually have 3 lobes.
Overall Length:
The length from the extreme end of the shank to the extreme end of the drill point.
Point:
The cone shaped cutting end of a drill, made from the ends of the land and web.
Cleared Diameter:
Cleared Diameter is measured using a micrometer over the diameter of the cut away
Cutting Lip:
The cutting edge of a two-flute drill which extends from the chisel edge to the outer
edge.
Drill Diameter:
The diameter over the margins of the drill measured at the point.
Land:
The central portion of the body that joins the lands. The extreme end of the web
Components Specifications
775 spindle
Spindle Type RPM 1-9000/min
motor (12-24V)
Work
- - Area 300*180mm
dimension
Assembling a CNC machine can be a complex process, but it can be done with some
basic knowledge of mechanical assembly and electronics. Here are the general steps
1. Install the Frame: The first step is to assemble the frame of the CNC. Start by
attaching the base to the frame, and then add the X, Y, and Z axis supports to the
frame. Install the motor mounts and spindle holder to the Z-axis support. Make sure
gantry and Z-axis. Ensure that the rails are level and perpendicular to the frame.
3. Install the Gantry: Next, install the gantry on the X and Y-axis rails. Ensure that
4. Install the Motors: Install the stepper motors for each axis and connect them to the
motor mounts.
5. Install the Controller Board: The controller board is the brain of the CNC machine.
Install it according to the manufacturer's instructions and connect the wires from the
6. Install the Spindle: Install the spindle motor on the Z-axis mount. Ensure that the
7. Connect the Electronics: Connect the power supply, controller board, and spindle
8. Install the Limit Switches: Install the limit switches on each axis to prevent the
This involves setting the steps per unit for each axis, adjusting the homing and limit
Overall, assembling a CNC 3018 machine requires some mechanical and electrical
skills, but with careful attention to detail and following the instructions provided, you
Creating designs on a CNC involves several steps, including designing the CAD file,
importing it into the CNC control software, and configuring the machine settings.
1. Create a CAD file: The first step is to create a 2D or 3D CAD file of the design
you want to create. You can use various CAD software like AutoCAD, SolidWorks,
2. Export the CAD file: Once the design is complete, export it as a DXF or STL file
format. These formats are widely used in CNC machining and are compatible with
computer, and import the DXF or STL file you have created. Some popular CNC
4. Set up the workpiece: Mount the workpiece on the CNC bed and ensure it is secure
and level. Make sure the workpiece dimensions are set in the CNC control software.
5. Configure the machine settings: Configure the CNC machine settings, such as the
spindle speed, feed rate, and depth of cut, according to the requirements of your
6. Preview the design: Use the preview function in the CNC control software to check
if the tool path and cutting operations are correct. Make any necessary adjustments.
7. Start the CNC machine: Once you have checked the design and are satisfied with
the settings, start the CNC machine and begin the cutting process. Monitor the
8. Post-process the design: After the CNC machine has finished cutting the design,
remove the workpiece from the bed and post-process it as required. This may involve
practice and experience, anyone can create intricate designs and precision cuts using
this machine.