MACHININGMachining

For each type of machining, we cover how the machine works, how to read specs, setup, and how to write programs, and we are adding hands-on experiences you can run and check in your browser. There are four pages, for lathes, machining centers, grinding machines and 5-axis machining, each with a simulator.

Cutting machines are classified by what rotates and what moves. Roughly: round parts are turned on a lathe, which rotates the workpiece; flat surfaces, holes and pockets are machined on a machining center, which rotates the tool; the final finishing of hardened parts is done on a grinder, which cuts with a grinding wheel; and sloped surfaces and complex curved surfaces are done on a 5-axis machine, which can also change the tool orientation.

This page is for people just starting to learn machining and for students, operators starting to write NC programs, and designers who want to know how parts are machined so they can use that in their drawings. Every page is written and checked against public documents from machine tool, tool, grinding wheel and NC makers and teaching materials from the Ministry of Health, Labour and Welfare (MHLW) and universities, with sources given. Number and G-code conventions can differ by machine, so in the end check the instruction manual of the machine in front of you.

Learn by
doing:
it's the best!

Chips, the Kezuriba mascot

Where to start

Lathe

Manual, CNC, sliding-headstock and vertical lathes compared; parts and how to read the specs; insert designations; cutting conditions; setup. A simulator that cuts in 3D as you write G-code, plus live views of spindle speed, surface finish, power and deflection.

▶ With simulator

Machining Center

Vertical vs. horizontal vs. double-column, how to read specs, coordinate systems and tool offsets, setup, canned cycles. A browser NC simulator that cuts in 3D from your G-code, plus 5 exercises.

▶ With simulator

Grinding machines

Surface, cylindrical, internal and centerless grinders compared; the five wheel factors and how to read wheel markings; dressing; grinding conditions and how to prevent burn and chatter; surface-grinding setup. A simulator for surface grinding, the cylindrical plunge cycle and centerless rounding.

▶ With simulator

5-Axis Machining

How 3+2 differs from simultaneous 5-axis, machine configurations (table, head), NC functions such as tool center point control, calibration, common mistakes, and 5-axis calculations.

▶ With simulator

Interactive tools

Machining basics in brief

What rotates decides the machine

MachineWhat rotatesHow it cutsBest suited for
LatheWorkpieceA cutting tool is applied to the rotating part to cut it roundOD, facing, boring, grooving, threading, tapering
Machining CenterToolsCuts a workpiece fixed on the table while automatically changing tools from the tool magazineFace milling, contouring, pockets, drilling, tapping
Grinding machinesGrinding wheel (and the workpiece too, in cylindrical grinding)Removes material a little at a time with the hard, fine abrasive grains of a fast-rotating wheelFinishing the flat surfaces, OD and ID of hardened parts to µm accuracy
5-axis machineTool (two rotary axes also change the tool orientation)Adds two rotary axes to X, Y and Z and cuts while changing the orientation of the tool and workpieceHoles in inclined surfaces and multi-face machining (3+2); free-form surfaces of impellers and dies (simultaneous 5-axis)

Convert cutting conditions from cutting speed to spindle speed

Cutting conditions recommended in tool makers' catalogs are usually given as cutting speed Vc (m/min). What you enter into the machine is spindle speed n (min⁻¹), so convert with n = 1000 × Vc ÷ (π × D) (D is the diameter being cut on a lathe, or the tool diameter in milling). Feed rate is Vf = f × n (f is feed per revolution), and the feed for tapping is F = S × P (S is spindle speed, P is pitch). In operations where the diameter changes, such as facing on a lathe, the cutting speed is higher toward the outside even at the same spindle speed.

In grinding, the speed of the wheel is expressed as peripheral speed Vs = π × Ds × ns ÷ 60000 (m/s). Note that the unit is m/s, not the m/min used in cutting. A wheel is marked with its maximum operating peripheral speed (for example 33 m/s), and it must never be run faster than that.

3+2 and simultaneous 5-axis

5-axis machining comes in two kinds: “3+2 (indexing)”, in which the rotary axes tilt the tool and lock it before the 3 axes do the cutting, and “simultaneous 5-axis”, in which the tool orientation changes continuously during cutting. Mitsubishi Denki Giho (Mitsubishi Electric's technical journal) and Siemens documents say that 3+2 is enough for most general parts. Simultaneous 5-axis presupposes CAD/CAM and is used for shapes such as the free-form surfaces of impellers and dies.

Sources: Mitsubishi Materials, “Turning formulas” (in Japanese), Sandvik Coromant, "Turning formulas and definitions", Noritake, “General-purpose products general catalog vol.3, technical data” (in Japanese), Mitsubishi Denki Giho Vol.85 No.4, “Improved usability of indexing functions in the M700V series” (in Japanese), Siemens, "SINUMERIK live: Programming dynamic 5-axis machining", MHLW, “Human Resource Development Manual: Machining (NC lathe operation)” (in Japanese). Detailed sources are given in the sources section of each page.

FAQ

Should I learn manual lathes or NC lathes first?
The MHLW's human resource development manual says that even in workplaces where NC lathes are the norm, skills such as deciding the machining sequence, cutting tools and conditions, and measuring skills are acquired by actually using a manual lathe, so training on manual machines is required. The Lathe learning order page outlines the flow from safety, measurement and chucking through to NC.
Can a program that runs in the simulator be used on a real machine as it is?
No. The simulator on this site is for checking how G-code works and how the tool moves. Some codes mean different things on different machines even with the same number (M-codes in particular are defined by the machine maker), and offsets such as tool length and work origin also differ from machine to machine. On a real machine, check the commands in the instruction manual, then proceed in this order: set the tool offsets and the tool start point, check the program, and make a test cut (the NC lathe section of the Lathe learning order page).
Is there an order for drilling holes on a machining center?
To improve positional accuracy, the basic order is to first mark the location with a center drill (starting drill), then drill the pilot hole, then tap (or ream). Drilling can be written with canned cycles such as G81 and G83 (Drilling Canned Cycles List).
When is grinding used?
When you want to finish a part that has become hard from hardening to µm accuracy. It is good at jobs such as making the thickness and parallelism of flat surfaces uniform (surface grinding), finishing the OD of shafts and rolls (cylindrical grinding), and grinding the outer surface of pins and rollers in large quantities without center holes (centerless grinding). For how to choose among surface, cylindrical, internal and centerless grinding, see Types of grinding machines. For measures against burn and chatter, see Grinding conditions.

Programming Articles