UNSW Making

Basic CNC Milling: Introduction

CNC Milling Basics Module 1: Let’s explore what CNC Milling is and its core components!

1.1. What is CNC:

Computer Numerical Control (CNC) is a method of controlling machines using programmed instructions. In a CNC Mill, these digital instructions, known as geometric code (G-code), typically define the movement of tools in 3D space. CNC underpins a variety of machines, from 3D printers, laser cutters to even complex vending machines.

It shines in subtractive manufacturing processes, where machine tools such as CNC routers, mills, and plasma cutters, meticulously remove material from a solid material (stock) in a controlled fashion. Unlike additive manufacturing, such as 3D printing, which builds objects layer by layer, CNC milling excels in removing material using a rotating cutting tool to achieve designs with exceptional accuracy and repeatability.

The key goal of this badge is for you to understand the CNC workflow, giving you confidence and an understanding of how to design and manufacture your own simple parts.

CNC_Workflow-03.original.max-165x165

1.2. Anatomy of a 3-Axis Machine:


What are the key components?

This basics badge focuses on 3-axis CNC milling machines. These are the types of machines that are available to you upon completion of this badge. More powerful and complex machines are covered in future CNC badges.

To begin, let's cover some of the key components of a 3-axis CNC mill:

CNC_ANATOMY_REANNOTTED

Linear Axes

An axis represents a direction of movement. The standard cartesian axes in a 3-axis CNC machine are X, Y, and Z. These axes guide the movement of the cutting tool or workpiece in a three-dimensional space.

As seen to the right, the X and Y axes (red and green respectively) typically control the horizontal shifting of the workpiece, enabling it to move left, right, back, and forth at a constant height. Meanwhile, the Z axis (blue) is responsible for the vertical travel of the spindle, allowing it to move up and down.

In some machines, an additional axis, often referred to as a 4th-axis or A-axis, incorporates the rotation of the workpiece, enabling a wider variety of design to be manufactured. This additonal mode is covered in future content.



3_axis_machine_VMC (2)

Workpiece (Stock)

The workpiece (or stock) is the raw material from which the design is made. It must have geometry that can be securely attached to the CNC bed, a process known as fixturing or workpiece hold-down.

Common methods for securing stock include using a vice, chuck or fixturing tables. More strategies pertinent to this badge and the machines accessible to you are covered in future content.

Workpiece and Vise

Fixturing table

The fixturing table, or machine bed, is the rigid base on which the machining takes place. It provides a flat, stable reference surface. It typically contains T-slots or threaded holes by which a work holding device (a vice for example) can be installed to hold stock securely for machining.

Depending on the style of machine, the table is mechanically aligned to the machine’s linear motion, meaning its surface is parallel to the X and/or Y planes of motion. So typically, in order to move the tool around the stock, the entire bed moves.

CNC Fixturing Bed

CNC Spindels

Spindle

The spindle motor powers and rotates the cutting tool. It's key parameters are maximum rotational speed, measured in Revolutions Per Minute (RPM), and Power (kW) which together define cutting capability.

Desktop CNC spindles typically reach ~15,000 RPM with lower power, suited to small tools and light cuts. Larger industrial spindles, such as the Symbiosis CNC can reach ~24,000 RPM while also providing much higher torque, enabling heavier material removal.

We will discuss why undestanding your machine's spindle capability and limitations is important in future modules.

Air Supply

Many CNC machines, including all of ours, need compressed air to operate certain functions. As seen in the examples to the right, many CNCs have plumbed compressed air aimed at the cutting end to help evacuate chips and to cool the tool and material.

In more complex CNCs such as those covered in CNC Milling Intermediate, tool changers and coolant mist accessories both rely on an external air supply.

compressed air(2)
hmi cnc

Controller (HMI)

The controller or Human Machine Interface (HMI) most commonly takes the form of a computer and it is used to execute functions of the machine. Between machine manufacturers (Makera, HAAS, TORMACH etc.) different controller software, and button layouts are used. However, they are all similar and once you learn one it’s easy to pick up others.

Tool and Tool Holder

The tool (the cutting bit) is the business end of the CNC Mill. It rotates and it's sharp edges make direct contact with the stock, removing material to mill, drill or shape the design. We will cover the differences in tooling in the next module.

Typically, a unique segmented clamping system called a collet secures the cutting tool to the tool holder. A collet is effectively a spring that clamps evenly around a tool when tightened.











External_thread_pull_collet_action (2)
Tool holder

Tool holder types vary between CNCs. In our larger CNC’s air-assisted tool holders enabe the quick exchange of pre-set tools of different diameters streamlining tool changing and allowing a wider range of tools to be used.

In our desktop CNCs, a fixed size collet chuck holds tools of matching diameter, for example a 3 mm collet accepts only 3mm shanked tools. This model of tool holder, has fewer components and is often prefered for its simplicity and cost, but limits the size of tools that can be used.

A similar collet design, as the desktop CNCs can be seen in the figure to the left. A tapered segmented collet (Red) is pulled into the spindle via a thread (Blue), clamping down on the inserted tool (Gold).

Automatic Tool Changer (ATC):

Some CNC mills are equipped with an Automatic Tool Changer (ATC), which allows the machine to automatically switch beween tools without operator intervention. When a machnining operation requires a different tool, the machine executes a sequence to return the current tool and retireve the next one from the tool carousel or magazine.

This reduces operator involvement, machining efficieny and enabkes more complex multi tool operaitons to run unattended (if you have confidence).

ATC_examples

1.4. Coordinate Principles and Machine Offsets.

It is important to note that a CNC machine does not understand what is being manufactured. It grimly executes your motion commands, then sits motionless until it’s time to execute again. In summary, the machine is dumb, and so it’s vital the instructions given to the machine are carefully considered. But how do we communicate to the machine where to cut and where not to cut? Where to start and where to end?

This is where coordinate principles and machine offsets come into play!

A coordinate system consists of a cartesian origin (X=0, Y=0, Z=0) with axes. The Machine Coordinate System (MCS) is the 3-dimensional volume the machine can move within. Imagine a cube with an origin point in a corner as seen the image to the right, the CNC head can move a relative distance into the volume from this origin point and is constrained to move within this volume (the cube).

A Work Coordinate System (WCS) is a user-defined reference point that lives within the volume of the MCS (as seen in blue). The WCS origin has a specific offset (distance) away from the MCS origin.

The WCS is what is defined within the CAM software. As the user we state that all movement cutting is defined from a specific origin point, our WCS, giving us a way to communicate positions to the machine. As you gain more experience, we'll discuss why carefully considering the location of your WCS is important.

MCS and WCS (4)


In the case above, the WCS (blue) origin has a machine offset of:

MCS(X,Y,Z) = (5,10,20) = WCS(X,Y,Z) = (0,0,0).

If instructions are provided to move 10 mm in the X direction within the WCS, relative to the machine, it moves 10 mm plus the MCS offset, so:

MCS(X,Y,Z) = (15,10,20) = WCS(X,Y,Z) = (10,0,0).

Please note that movement can also be negative. We can tell the machine to move to WCS(X,Y,Z) = (-10,0,0), as long as it's within the MCS volume.

1.5. Materials:


What can I machine in the UNSW Makerspace Network?

CNC Materials_v2


Soft metals such as, aluminium, brass and copper are ideal metals for machining in the desktop CNC mills. Harder materials such as steel, titanium etc. require more powerful machines with specialised tooling.

Materials that cannot be CNC machined within the Makerspace Network include combustible materials (titanium included), graphene, composite materials (such as carbon fibre of fibreglass) or ceramic materials. Combustible materials are a fire risk, graphene and composite dust can corrode the spindle, risk shorting electronic components and are a health hazard.

With all materials considerations to extraction must be considered. Ask yourself, does the material I’m machining create dust or fine airbourne particles? If so then a vacuum or extraction unit is necessary. If you are unsure about which materials can be used in the CNCs, please make sure to always ask the staff.

If you have a specific need to machine these high-risk materials (Thesis, postgraduate work) please speak to staff.

1.6. Material Procurement:


Where can you buy Materials in Sydney?

The James Kirby Makerspace (UNSW Sydney) has a limited supply of machining stock for various needs. We also have a scrap bin with off-cuts free to a good home - come ask a staff member for availability of materials for your project.

For large quantities or unspoiled material you will have to provide your own. Here are some local links for procuring materials. Otherwise Amazon, AliExpress, and Ebay are all good starting points.

Material Company Links
Aluminium, brass & steels Edcons steel https://www.edconsteel.com.au/
Calm aluminium https://www.calm-aluminium.com.au/
Hard and soft plastics DFL shop on campus (UNSW SYD) https://www.making.unsw.edu.au/dfl/shop/
Australian Plastic Fabricators https://australianplasticfabricators.com.au/product-custom-category/materials/
Engineering Materials (Fancy Alloys) Vulcan (steel suppliers) https://vulcan.co/contact/steel-sydney/
Categories: Manufacturing
Tags: CNC