UNSW Canberra Makerspace

CNC Milling Basics

Getting Started

Getting Started

_________________________________________________________________________________

What is CNC Milling?

CNC milling is a computer-controlled machining process used to remove material from a solid block (known as stock) to create a desired shape or component. It is one of the most widely used manufacturing methods in engineering, prototyping, and product development.

CNC stands for Computer Numerical Control, where pre-programmed digital instructions guide the movement of cutting tools. These instructions are typically generated from CAD (Computer-Aided Design) models and translated into machine-readable code using CAM (Computer-Aided Manufacturing) software.

Unlike manual machining, CNC milling offers:

  • High precision and repeatability
  • Automation of complex operations
  • Consistent quality across multiple parts
  • Reduced human error

CNC milling is part of subtractive manufacturing, meaning material is removed to form a part. This differs from additive methods like 3D printing, where material is built layer by layer.

CNC Workflow-03.png

Parts of a CNC

_________________________________________________________________________________

Identifying Key Machine Components

cnc mill

Linear Axes

An axis represents a direction of movement within the CNC machine. In standard 3-axis milling, these are the X, Y, and Z axes, enabling precise motion in three-dimensional space.

  • X-axis: left and right
  • Y-axis: forward and backward
  • Z-axis: vertical (up and down)

The X and Y axes position the workpiece, while the Z axis controls the spindle movement. Together, they enable accurate and repeatable machining.

Spindle

The spindle is the motor that drives the cutting tool, rotating it at high speeds to remove material.

  • Typical range: 100 to 24,000 RPM
  • Speed depends on material and cutting conditions
  • Higher speeds for softer materials, lower for harder materials

At UNSW Canberra Makerspace, CNC milling is performed using the RoboDrill, a high-speed machining centre capable of precise cutting and rapid tool changes.

Selecting the correct spindle speed is important for:

  • Surface finish
  • Tool life
  • Safe and efficient machining

Workpiece (Stock)

The workpiece, or stock, is the raw material used to create the final part.

Before machining, it must be:

  • Flat and properly prepared
  • Securely fixed to the CNC bed

This process, known as fixturing, is essential for safety and accuracy.

Common methods include:

  • Vices: for rigid clamping
  • Clamps/fixture tables: for flexible setups
  • Vacuum beds: for flat materials

Proper fixturing prevents movement during machining, ensuring dimensional accuracy and avoiding tool damage.

cnc lathe

Tool Turret

The tool turret is a rotating unit that holds multiple cutting tools in fixed positions. It enables automatic tool changes during machining, allowing different operations (turning, drilling, boring) to be performed without stopping the machine.

  • Reduces setup time and manual intervention
  • Improves efficiency for multi-step operations
  • Ensures consistent tool positioning

Chuck

The chuck is a clamping device mounted on the spindle that securely holds and rotates the workpiece during machining.

  • Common types: 3-jaw (self-centring) and 4-jaw (independent)
  • Maintains alignment and stability during cutting

Proper clamping is essential to prevent vibration, inaccuracy, or workpiece movement.

Main Drive Motor

The main drive motor powers the spindle, providing the required speed and torque for cutting operations.

  • Supports different materials and cutting loads
  • Controlled by the machine for precise speed regulation

It directly affects machining performance and efficiency.

Guideway

Guideways are precision rails that guide the movement of machine components such as the carriage and tailstock.

  • Ensure smooth and accurate motion
  • Reduce vibration and maintain alignment

They are critical for achieving consistent machining accuracy.

Tailstock

The tailstock is a movable component located opposite the headstock that supports long workpieces during machining.

  • Improves stability and accuracy
  • Can hold tools such as drills or centres

It is essential when machining long or slender parts.

Controller

The controller is the central computer system that operates the CNC machine. It acts as the user interface, allowing operators to load programs, set parameters, and control machine functions.

  • Executes G-code instructions generated from CAM software
  • Controls movement of axes, spindle speed, and tool changes
  • Displays machine status, coordinates, and alarms

On machines like the RoboDrill, the controller enables precise, automated machining while giving the operator full control over the process.

Flood Coolant Pump

The flood coolant pump delivers a continuous flow of coolant directly to the cutting area. It plays a critical role in maintaining machining performance and tool life.

  • Cools the cutting tool and workpiece
  • Reduces friction and heat buildup
  • Flushes chips away from the cutting zone
  • Prevents tool damage and material re-welding

This system is commonly used when machining metals and some plastics where heat generation is significant.

Air Supply

Compressed air is required for various CNC machine functions. It supports both operational and auxiliary systems within the machine.

  • Powers automatic tool changers (ATC)
  • Supports mist coolant systems
  • Assists in clearing chips from the cutting area

A stable air supply is essential for reliable machine operation and consistent performance.

Coolant Mister

The coolant mister uses compressed air to deliver a fine mist of coolant to the cutting area. It provides a lighter alternative to flood cooling.

  • Uses less coolant and is easier to maintain
  • Helps cool the tool and reduce heat
  • Blows chips away using air pressure

This system is often used for lighter machining operations or when full flood coolant is not required.

Tool Holder

The tool holder is the component that secures the cutting tool to the spindle. It ensures the tool is held firmly and accurately during machining.

  • Typically uses collet chucks to grip the tool
  • Tools are inserted and tightened using a collet nut or chuck mechanism
  • Ensures proper alignment and stability at high speeds

At UNSW Canberra Makerspace, CNC machines use air-assisted tool holders, allowing quick and safe tool changes with pre-set tools. This improves efficiency and reduces setup time.

The cutting tool, held by the tool holder, makes direct contact with the workpiece to remove material and shape the final component.

Artboard 10

Machine Offsets

__________________________________________________________________________

How does the CNC machine know where everything is?

CNC machines operate using a coordinate system, and machine offsets are used to define the exact positions of the tool and workpiece within that system. Without offsets, the machine would not know where to start or how to position itself accurately.

There are two main types of offsets used in CNC milling:

Work Offset (Work Coordinate System)

  • Defines the origin (zero point) of the workpiece
  • Set by the operator based on the material setup
  • Ensures the program runs relative to the correct location on the stock

Tool Offset

  • Accounts for the length and diameter of each cutting tool
  • Ensures the tool cuts at the correct depth and position
  • Allows multiple tools to be used accurately in a single program

Before running a job, both work and tool offsets must be set correctly. This ensures:

  • Accurate dimensions and positioning
  • Safe operation of the machine
  • Prevention of crashes or tool damage

Proper understanding and setup of machine offsets are essential for reliable and precise CNC machining.

The Material Handbook

________________________________________________________________________________

Understanding the Materials Allowed

Selecting the correct material is essential for CNC milling. Different materials behave differently during machining, affecting cutting performance, tool wear, and final surface finish.

Common Materials for CNC Milling

CNC milling machines can be used to machine a variety of materials, including:

  • Timber and MDF – easy to machine and commonly used for prototyping
  • Plastics – such as acrylic, ABS, and HDPE
  • Metals – including aluminium, brass, and mild steel (depending on machine capability)

Each material requires appropriate cutting speeds, tooling, and cooling methods to achieve optimal results.

Material Considerations

When selecting a material, consider the following:

  • Hardness: harder materials require slower speeds and stronger tools
  • Heat generation: Some materials produce more heat and require cooling
  • Chip formation: affects surface finish and machining efficiency
  • Tool wear: certain materials reduce tool life faster than others

Understanding these factors helps ensure safe operation and high-quality outcomes.

Restricted Materials

Some materials are not suitable for CNC machining due to safety and equipment risks:

  • Combustible materials – can ignite during machining
  • Hazardous or reactive materials – may release harmful fumes or particles
  • Graphene and similar materials – can damage machine components and pose safety risks

Note: If you are unsure about a material, always consult the Makerspace staff before use.

CNC Materials-01.png