Manufacturing Processes

Chapter 9
Machine Tools, CNC and Process Planning

Bachelors Program in Mechnical Engineering
Manufacturing Processes   •   Bachelor

Machine Tools, CNC and Process Planning

Introduction

Manufacturing converts engineering designs into physical products by controlling material, geometry, accuracy, surface condition, and cost. Machine tools are the principal means by which material is removed, shaped, formed, or finished. Modern production combines the mechanical rigidity of machine tools with computer numerical control (CNC), cutting-tool technology, metrology, and systematic process planning.

A successful process is not simply one that produces the required shape. It must also achieve dimensional and geometric tolerances, maintain surface integrity, protect workers, use resources efficiently, and remain economically viable. Process planning therefore links design information with machines, tools, workholding, inspection, and production scheduling.

Learning Objectives

After studying this chapter, the student should be able to:

  1. Explain the functions and structural elements of conventional and CNC machine tools.
  2. Select workholding methods and cutting tools for typical operations.
  3. Calculate basic cutting speed, spindle speed, feed, material-removal rate, and machining time.
  4. Develop an operation sequence and setup plan from a component drawing.
  5. Explain CNC coordinate systems, modes, interpolation, offsets, and safety principles.
  6. Write and interpret a basic CNC turning or milling program.
  7. Evaluate a process in terms of capability, productivity, quality, cost, and safety.

1. Machine Tools as Manufacturing Systems

A machine tool is a power-driven machine that holds a workpiece and a cutting tool, provides controlled relative motion between them, and removes material or otherwise changes the workpiece. Its major subsystems are:

  • Structure: bed, column, base, slides, guideways, and table.
  • Drive system: motor, gearbox, spindle, belts, ball screws, and servo drives.
  • Control system: manual controls, programmable logic controller, CNC, and feedback devices.
  • Workholding system: chuck, vice, fixture, collet, faceplate, or locating system.
  • Tooling system: toolholder, cutting tool, turret, magazine, and automatic tool changer.
  • Auxiliary systems: coolant, lubrication, chip removal, guarding, and measurement.

The machine structure must resist static forces, cutting forces, vibration, and thermal distortion. A rigid structure reduces deflection and improves dimensional accuracy. Guideways constrain motion while allowing low-friction travel. Linear rolling guides provide low friction and high positioning speed; box ways generally provide greater damping and load capacity.

Machine-tool accuracy has several dimensions:

  • Positioning accuracy: closeness of an axis to its commanded position.
  • Repeatability: ability to return to the same position.
  • Geometric accuracy: straightness, squareness, parallelism, and alignment.
  • Rigidity: resistance to elastic deformation under load.
  • Thermal stability: resistance to dimensional change caused by heat.
  • Dynamic stability: resistance to chatter and vibration during cutting.

A machine may have excellent positioning repeatability but still produce inaccurate parts if the fixture is poorly located, the tool deflects, or the workpiece heats significantly.

Common machine-tool types

Machine toolPrimary motionTypical operationsImportant capability
Engine lathe/CNC latheWorkpiece rotation; tool feedTurning, facing, boring, threadingCylindrical parts
Milling machine/machining centreRotary cutter; table/tool translationFacing, slotting, profiling, drillingPrismatic parts and complex surfaces
Drilling machineDrill rotation and axial feedDrilling, reaming, tappingHoles
Grinding machineAbrasive-wheel rotationSurface, cylindrical, and form grindingFine accuracy and finish
Broaching machineLinear tool strokeInternal/external profilesHigh-rate repeated profiles
EDM machineControlled electrical dischargesDie sinking and wire cuttingHard or intricate conductive materials

The choice depends on geometry, material, tolerance, surface finish, batch size, flexibility, and total cost. A machining centre may replace several separate machines because it combines milling, drilling, tapping, and automatic tool changing in one setup.

2. Cutting Mechanics and Tool Selection

In machining, the cutting edge penetrates the workpiece and produces a chip. The cutting process requires relative motion, usually resolved into cutting speed, feed motion, and depth of cut.

For a rotating workpiece or cutter, cutting speed is:

V = (πDN)/1000

where V is cutting speed in m/min, D is the effective diameter in mm, and N is rotational speed in rev/min. The equation assumes a circular path and consistent diameter. Thus,

N = 1000V/(πD)

For a milling cutter with z teeth and feed per tooth fz in mm/tooth, table feed is:

F = fz z N

where F is feed in mm/min. For turning, if feed per revolution is f in mm/rev,

F = fN

For a simplified rectangular cutting section, material-removal rate is approximately:

Q = vf ap ae

where Q is material-removal rate in mm³/min, vf is feed velocity in mm/min, ap is axial or depth-of-cut engagement in mm, and ae is radial or width engagement in mm. The expression is an approximation; actual removal depends on tool path, interrupted cutting, entry and exit conditions, and machine limitations.

A first estimate of machining time for a straight cut is:

tm = L/F

where tm is cutting time in minutes and L is travel distance in mm. Approach, overtravel, tool changes, inspection, and handling must be added for total cycle time.

Cutting-tool materials

  • High-speed steel (HSS): tough, economical, and easily ground; suitable for interrupted cuts and low-to-medium speeds.
  • Cemented carbide: higher hot hardness and speed capability; common in general production.
  • Ceramics: high-temperature capability but relatively brittle; used mainly for suitable high-speed, continuous cuts.
  • Cermets: good wear resistance and finish in selected steels.
  • Polycrystalline diamond (PCD): excellent for aluminium alloys, composites, and nonferrous materials; unsuitable for ordinary cutting of ferrous materials because of chemical interaction at high temperature.
  • Cubic boron nitride (CBN): effective for hardened ferrous materials.

Tool selection must consider workpiece material, operation, rigidity, cutting speed, chip control, coolant, tolerance, and cost. A positive rake insert may reduce cutting forces, while a stronger negative-rake geometry may be preferred for heavy roughing on a rigid machine. Nose radius influences finish and cutting-force direction: increasing it can improve finish under stable conditions but can also increase radial force and vibration.

The ideal cutting parameters are not determined by a formula alone. Manufacturer data, machine power, tool overhang, workholding, material condition, and prior process evidence must be considered. Parameters should be reduced when rigidity is poor, tool overhang is long, or the workpiece is thin.

Worked Example 1: Milling parameters

A four-tooth cutter of diameter 80 mm is recommended to operate at a cutting speed of 150 m/min. The feed per tooth is 0.08 mm/tooth. Calculate spindle speed and table feed.

First,

N = (1000 × 150)/(π × 80) ≈ 596.8 rev/min

A practical programmed value may be 597 rev/min. The feed is:

F = 0.08 × 4 × 596.8 ≈ 190.98 mm/min

Thus, approximately 597 rev/min and 191 mm/min are suitable starting values, subject to tool-maker recommendations and machine capability. Units are consistent because cutting speed is converted using diameter in millimetres and spindle speed in rev/min.

3. Workholding, Location, and Datum Control

Workholding must hold the workpiece against cutting forces without distortion and must expose the surfaces required for machining. A sound setup follows the principles of:

  1. Location: restrict unwanted translational and rotational degrees of freedom.
  2. Clamping: apply force to seat the workpiece against locators.
  3. Accessibility: expose cutting surfaces and permit chip evacuation.
  4. Repeatability: permit reliable loading and unloading.
  5. Rigidity: minimize deflection and vibration.
  6. Safety: prevent ejection and avoid interference with tools.

A practical locating scheme often uses a primary plane, a secondary plane, and a tertiary plane. This is commonly described as the 3-2-1 locating principle: three points establish a primary plane, two establish a secondary plane, and one establishes a tertiary plane. The exact arrangement must be adapted to part geometry; redundant or over-constrained locating can prevent seating or distort the part.

Typical devices include three-jaw and four-jaw chucks, collets, machine vices, step blocks, strap clamps, magnetic chucks, vacuum fixtures, and dedicated fixtures. Soft jaws can be bored to the actual workpiece diameter and provide improved concentricity and support. Thin parts may require broad clamping areas, support pads, or low clamping forces.

A datum is a theoretically exact reference used to define part geometry. A work coordinate system is the machine representation of that reference. Confusing a drawing datum with a convenient but inaccurate setup surface is a frequent source of error. The process planner should select datums that minimize tolerance accumulation and relate directly to functional requirements.

4. Process Planning

Process planning converts a part drawing, material specification, and production quantity into a sequence of manufacturing operations. It balances quality, cost, capacity, and risk.

A robust planning sequence is:

  1. Interpret material, geometry, tolerances, surface finish, and special requirements.
  2. Identify raw-stock form and allowance for machining.
  3. Select the manufacturing route and machines.
  4. Establish datums and workholding methods.
  5. Divide the work into setups and operations.
  6. Select tools, toolholders, cutting fluids, and inspection equipment.
  7. Determine cutting parameters and estimate time.
  8. Define in-process and final inspection.
  9. Review safety, chip control, ergonomics, and contingencies.
  10. Document the route sheet, setup sheet, tool list, and CNC program.

Roughing removes most of the excess material efficiently while leaving a controlled allowance. Semi-finishing establishes intermediate accuracy. Finishing produces final size and surface condition. Critical features should generally be machined from stable datums, and operations that create high distortion or heat should be completed before precision finishing where appropriate.

Setup planning

A setup sheet should identify:

  • machine and fixture;
  • raw material and orientation;
  • work offset and datum references;
  • tools, holders, gauges, and tool lengths;
  • spindle speed, feed, and depth of cut;
  • coolant and chip-control requirements;
  • sequence of operations;
  • inspection points and acceptance criteria;
  • safety hazards and restart instructions.

Multiple setups increase handling and datum-transfer error. However, forcing all features into one setup may produce poor accessibility, weak clamping, or excessive tool overhang. The best plan minimizes setups without compromising capability.

Capability and tolerance

Process capability compares process variation with specification limits. If a stable process has mean μ and standard deviation σ, the capability indices are commonly defined as:

Cp = (USL − LSL)/(6σ)
Cpk = min[(USL − μ)/(3σ), (μ − LSL)/(3σ)]

Here, USL and LSL are upper and lower specification limits. These indices assume a stable process and are most interpretable when the output distribution is approximately normal. Cp measures potential capability if centred; Cpk also accounts for off-centre operation. A high index does not prove that the process is stable or that measurement systems are adequate.

5. Numerical Control and CNC Systems

Numerical control uses coded numerical information to command machine motion. CNC adds a computer-based controller capable of storing programs, managing offsets, coordinating axes, monitoring inputs, and supporting diagnostics.

A CNC system includes:

  • program interpreter;
  • interpolator, which calculates coordinated motion;
  • servo amplifiers and motors;
  • position feedback devices such as encoders or scales;
  • spindle drive and spindle encoder;
  • operator interface;
  • programmable machine-control functions.

Open-loop systems command motion without measuring the final position. Closed-loop systems compare commanded and measured positions and correct errors. CNC machines commonly use closed-loop axis control, although machine architecture varies.

Coordinate systems and programming modes

A milling machine commonly uses X, Y, and Z axes; a lathe commonly uses Z along the spindle axis and X radially. Positive directions follow the machine builder’s coordinate convention. The programmer must distinguish:

  • Machine coordinate system: fixed by the machine reference position.
  • Work coordinate system: established from the part datum, such as G54.
  • Tool coordinates and offsets: compensate tool length, radius, nose geometry, and wear.
  • Absolute programming: coordinates measured from the active origin.
  • Incremental programming: coordinates measured from the current tool position.

Most CNC codes are preparatory functions (G-codes), miscellaneous functions (M-codes), coordinate words, spindle speed, feed, and tool commands. Exact code meanings differ by controller, so the machine manual is authoritative.

Important functions often include rapid positioning, linear interpolation, clockwise and counterclockwise circular interpolation, plane selection, units, absolute/incremental mode, cutter compensation, work offsets, spindle control, coolant, and program end. Modal commands remain active until changed; this makes programs concise but creates risk if the programmer assumes an incorrect active mode.

Illustrative CNC milling program

The following is an illustrative, controller-dependent example. It faces a rectangular surface using a 10 mm cutter. It is not a universal production program and must be verified by simulation and a controlled dry run.

%
O0901 (FACE MILLING EXAMPLE)
G21 G17 G90 G40 G49 G80
G54
T01 M06
S1800 M03
G00 X-5.0 Y-5.0 Z10.0
M08
G01 Z-0.5 F120
G01 X105.0 F300
G00 Z10.0
G00 Y15.0
G01 Z-0.5 F120
G01 X-5.0 F300
G00 Z10.0
M09
G53 G00 Z0
M30
%

The safety line establishes units, plane, absolute mode, and cancels selected compensations and cycles. The tool approaches above the work, feeds to depth, traverses the surface, retracts, and repeats in the opposite direction. In practice, cutter diameter, stock size, fixture clearance, tool length offset, spindle limits, and the controller’s syntax must be checked.

CNC programming safety

Before execution, the programmer or operator should verify tool offsets, work offset, spindle direction, feed mode, clearance planes, fixture location, coolant, and maximum travel. Programs should be reviewed line by line, simulated where possible, and tested using single-block, reduced rapid, and feed override controls. Never rely on simulation alone: incorrect setup data can make a correct program unsafe.

6. Applied Case: Two-Setup CNC Manufacture of a Flanged Shaft

This is an illustrative case. A steel flanged shaft is required in a batch of 200 pieces. The part consists of a cylindrical shaft, an integral flange, a central drilled hole, and a keyway. The shaft diameter has a close dimensional tolerance, the flange face requires a specified finish, and the hole must be concentric with the shaft.

Background and problem

The initial proposal used three setups: turning, drilling, and milling the keyway. Handling time was high, and hole concentricity varied because the drill was located from a face that had not been machined in the same datum system.

Analysis

A CNC lathe can turn the shaft and flange, face the flange, and drill the axial hole in one setup if the raw bar is adequately supported. The keyway requires a milling operation. The turning chuck must grip a sufficient length, and the unsupported shaft length must be limited to avoid chatter. A tailstock or steady rest may be needed for slender stock.

Proposed route

  1. Saw steel bar with machining allowance.
  2. Setup 1: hold bar in a three-jaw chuck; face the end; rough-turn the shaft and flange; finish-turn critical diameters; drill and, if required, ream the axial hole; inspect diameter and hole runout.
  3. Setup 2: locate on the finished shaft diameter and flange datum using soft jaws or a dedicated fixture; mill the keyway; inspect width, depth, and angular position.
  4. Deburr, wash, visually inspect, and conduct final dimensional inspection.

The datum strategy keeps the hole concentric with the turned axis and locates the keyway from the finished cylindrical datum. Finishing the critical diameter before milling prevents the milling setup from damaging the functional surface.

Outcome and learning points

The revised route reduces setup count, improves datum consistency, and lowers handling time. It also introduces risks: the lathe must control chip evacuation during drilling, the second fixture must not distort the shaft, and the keyway cutter must be adequately supported. A process capability study should be performed on the critical diameter and hole location after initial production. The case demonstrates that productivity is not merely a faster feed rate; it is the result of an integrated sequence, stable workholding, suitable tooling, and reliable inspection.

7. Productivity, Cost, and Sustainability

Production time consists of cutting time, rapid movements, tool changes, loading and unloading, inspection, setup, and downtime. A useful planning estimate is:

tcycle = tcut + trapid + ttool-change + tload/unload + tinspect

For a batch of n parts, average time per part including setup may be estimated as:

tpart = tcycle + tsetup/n

These are planning identities rather than universal physical laws. They are useful only when all major time categories are defined consistently.

Increasing cutting speed may reduce cutting time but increase tool wear, heat, power demand, or dimensional drift. Increasing feed can improve productivity but may worsen surface finish or cutting forces. Economic decisions should consider tool cost, machine rate, scrap, rework, energy, coolant, and delivery requirements.

Sustainable practice includes near-net-shape stock selection, optimized tool paths, minimum-quantity lubrication where appropriate, coolant recycling, dry machining when technically suitable, chip segregation, and energy-efficient equipment. Environmental controls must never compromise operator safety or part quality.

8. Challenges, Limitations, and Contemporary Developments

Important limitations include thermal growth, backlash, tool wear, chatter, workholding distortion, inaccurate offsets, burr formation, and variation in raw material. CNC automation reduces repetitive manual work but does not remove the need for engineering judgement. A CNC machine can repeatedly reproduce an incorrect datum or unsafe program.

Digital manufacturing increasingly connects CAD, CAM, CNC, measurement, and production records. Tool-condition monitoring can use spindle power, vibration, acoustic emission, or vision to detect wear and breakage. Digital twins and machine simulation help identify collisions and estimate cycle time. Artificial intelligence can assist tool-wear prediction, parameter optimization, and anomaly detection, but its recommendations require validated data, explainable limits, cybersecurity protection, and human approval.

Relevant governance practices include access control for CNC programs, revision management, traceability of offsets and inspection data, validated post-processors, and protection against unauthorized changes. Safety must comply with applicable national regulations, machine-guarding standards, lockout procedures, and the machine manufacturer’s instructions.

Best-Practice Checklist

Before machining, confirm that:

  • the drawing revision, material, and stock allowance are correct;
  • datums and tolerances have been interpreted correctly;
  • the fixture is rigid, clean, and safe;
  • tools and offsets match the setup sheet;
  • speeds and feeds are within tool and machine limits;
  • tool travel is clear of the workholding system;
  • coolant and chip evacuation are suitable;
  • the program has been simulated and checked;
  • a dry run or single-block trial is planned;
  • inspection instruments are calibrated and appropriate;
  • tool wear, defects, and deviations are recorded for process improvement.

Chapter Summary

Machine tools are integrated systems of structure, drives, controls, workholding, tooling, auxiliary equipment, and safety devices. Their performance depends not only on nominal accuracy but also on rigidity, thermal stability, vibration control, datum quality, and tool condition. Cutting speed, spindle speed, feed, material-removal rate, and machining time provide essential planning calculations, but practical parameters must be checked against tooling data and machine capability.

Workholding locates and clamps the part while minimizing distortion and maximizing accessibility. Process planning establishes the route, setup sequence, datums, tooling, parameters, inspection, and safety controls. CNC systems execute coordinated motion through programs, offsets, interpolation, and feedback, but controller-specific syntax and setup verification remain essential. Effective manufacture balances capability, productivity, cost, sustainability, and worker safety. Modern digital and AI-assisted systems can improve monitoring and optimization when governed by validated procedures and human oversight.

Key Terms

Machine tool: Power-driven equipment that produces controlled relative motion between a tool and workpiece.

Rigidity: Resistance of a machine, tool, or workpiece to deformation under load.

Workholding: Devices and methods used to locate and clamp a workpiece.

Datum: Theoretical reference used to define part geometry.

Fixture: Specialized device for locating and securing a workpiece.

Cutting speed: Relative speed between cutting edge and workpiece at the cutting zone.

Feed: Controlled tool or workpiece advance during machining.

Depth of cut: Thickness or depth of material engaged by the cutting tool.

Material-removal rate: Volume of material removed per unit time.

Tool offset: CNC compensation for tool position, length, radius, or wear.

CNC: Computer numerical control of machine-tool functions.

Interpolation: Coordinated calculation of axis motion along a programmed path.

Modal code: CNC command that remains active until replaced or cancelled.

Roughing: High-removal operation that leaves material for later operations.

Finishing: Operation intended to achieve final size, tolerance, or surface condition.

Process plan: Documented sequence of manufacturing operations and resources.

Repeatability: Ability to reproduce the same result under unchanged conditions.

Chatter: Self-excited vibration during machining that damages finish and tooling.

Capability: Ability of a stable process to meet specified requirements.

Post-processor: Software that converts CAM tool paths into controller-specific code.

Review Questions

Short Answer Questions

  1. What are the main subsystems of a machine tool?
  2. Distinguish positioning accuracy from repeatability.
  3. Why are datums important in process planning?
  4. What is the purpose of a tool offset in CNC machining?
  5. State two advantages and two limitations of CNC machine tools.

Long Answer Questions

  1. Explain the construction and functional requirements of a CNC machining centre.
  2. Describe the 3-2-1 locating principle and discuss situations in which it must be modified.
  3. Explain how roughing, semi-finishing, and finishing operations should be arranged.
  4. Discuss the factors that influence cutting-tool selection.
  5. Explain the stages of preparing, verifying, and safely executing a CNC program.

Analytical / Application Questions

  1. A milling cutter has diameter 100 mm, six teeth, cutting speed 180 m/min, and feed per tooth 0.06 mm/tooth. Calculate spindle speed and table feed, showing units and appropriate rounding.
  2. Develop a two-setup process plan for a flanged component with a turned diameter, an axial hole, and a cross-drilled hole. Justify the datums, workholding, operation order, and inspection plan.
  3. A process has specification limits of 25.00 ± 0.05 mm, mean 25.01 mm, and standard deviation 0.01 mm. Calculate Cp and Cpk, then interpret the effect of process centring. Do not assume stability unless it has been demonstrated.

Multiple Choice Questions with Answers

Question 1

Which machine-tool characteristic most directly reduces dimensional error caused by cutting-force deflection?

A. High rigidity

B. Large coolant tank

C. Low spindle speed only

D. Manual tool changing

Correct Answer: A. High rigidity

Question 2

A 50 mm diameter cutter operates at 100 m/min. What is its approximate spindle speed?

A. 64 rev/min

B. 637 rev/min

C. 1,000 rev/min

D. 6,370 rev/min

Correct Answer: B. 637 rev/min

Question 3

For a four-tooth milling cutter, feed per tooth is 0.05 mm/tooth and spindle speed is 1,000 rev/min. What is the table feed?

A. 12.5 mm/min

B. 50 mm/min

C. 200 mm/min

D. 4,000 mm/min

Correct Answer: C. 200 mm/min

Question 4

What is the primary purpose of a work offset such as G54?

A. To define the part-related coordinate origin

B. To increase spindle power

C. To measure cutting temperature

D. To cancel tool wear

Correct Answer: A. To define the part-related coordinate origin

Question 5

Which operation normally removes the greatest volume of excess material?

A. Finishing

B. Polishing

C. Roughing

D. Inspection

Correct Answer: C. Roughing

Question 6

Which workholding principle is most directly concerned with preventing unwanted movement while avoiding distortion?

A. Location and controlled clamping

B. Maximum clamp force in every case

C. Random datum selection

D. Eliminating all inspection

Correct Answer: A. Location and controlled clamping

Question 7

What does Cpk account for that Cp does not?

A. Tool material hardness

B. Process centring relative to specification limits

C. Machine purchase price

D. Number of CNC axes

Correct Answer: B. Process centring relative to specification limits

Question 8

In a CNC program, a modal command is one that:

A. Is ignored after the first block

B. Remains active until changed or cancelled

C. Can only control coolant

D. Always stops the machine

Correct Answer: B. Remains active until changed or cancelled

Question 9

Which tool material is particularly associated with machining hardened ferrous materials?

A. CBN

B. Wood

C. Rubber

D. Low-carbon steel only

Correct Answer: A. CBN

Question 10

Why should a CNC program be tested using simulation, dry runs, or single-block operation?

A. To eliminate the need for correct offsets

B. To verify motion, clearance, and setup assumptions before cutting

C. To increase material hardness

D. To replace all final inspection

Correct Answer: B. To verify motion, clearance, and setup assumptions before cutting

Manufacturing Processes
Chapter 9 of 15