← Back to Home

🔧 CNC Turning Program Builder

Build complete turning programs for FANUC, Siemens & Haas controllers

Workpiece & Material Setup
Step 1: Stock Dimensions

Enter the stock material dimensions and target finished dimensions.

Step 2: Origin Reference (Work Zero)

Select where Z=0 is located. X=0 is always at the spindle centerline. All tool movements are relative to this origin.

Step 3: Safe Distances (from Origin)

Define safe clearance positions relative to the origin. Tools will rapid to Safe X/Z before approaching the workpiece.

Material
SFM: 300-500 Feed (mm/rev): 0.15-0.30 DOC: Up to 3mm
Quick Templates

Face + OD Turn

Facing & OD roughing/finishing

Face + Bore

Facing & ID boring

Face + Drill

Facing & center drilling

Full OD

Face, turn, groove, thread, part

Full ID

Face, drill, bore, thread

Custom

Build from scratch

Program Settings
Safe Approach/Retract (G1)
Operation Sequence 0

No operations added yet

Add Operation
Generated G-Code
; Add operations and click Generate ; Complete program will appear here
Program Settings
Stock Settings
Safe Approach/Retract (G1)
Operation Type
Roughing G71/G72 Cycle
Finishing G70 Cycle
Both Rough + Finish
Tool & Spindle
Cutting Parameters
Dimensions
Options
Generated G-Code
; Select operation and parameters ; G-Code will appear here

Lathe Operations Overview

Understanding each operation helps you select the right tool geometry, insert grade, and cutting parameters.

Operation Description Common Tools Key Considerations
FacingMachining the end face perpendicular to axisPCLNR, MCLNR, DCLNRUse 80° or 55° inserts; ensure clearance at center
OD TurningReducing the outside diameter along lengthPCLNR, MCLNR, DWLNRMatch insert angle to approach; consider chip flow
RoughingHigh material removal rate with larger DOCPCLNR, MWLNRUse strong insert shapes (C, W, S); heavy chipbreakers
FinishingFinal pass for surface finish and accuracySVJBR, SDJCRSmall nose radius; light chipbreakers; higher speeds
Taper TurningCreating a conical surface with varying diameterPCLNR, MCLNRConsider effective cutting angle; use appropriate clearance
ProfilingComplex contours combining radii, tapers, stepsSVJBR, SDJCR, DVJNR35° or 55° inserts for accessibility; check interference
BoringEnlarging an existing hole from insideS-SCLCR, A-SDUCRMinimize overhang; use anti-vibration bars for deep bores
DrillingCreating a hole in the center of workpieceCenter drills, indexable drillsStart with center drill; peck for deep holes
OD ThreadingCutting external threads on workpieceSER, SEL, LaydownMatch thread form (60° metric, 55° BSP); use thread relief
ID ThreadingCutting internal threads inside a boreSIR, SNREnsure bore diameter allows tool entry; check clearance
GroovingCutting a narrow channel or recessGFVR, DGFHRMatch insert width to groove; consider chip evacuation
PartingCutting off the workpiece from bar stockQD, GY, Cut-off bladesUse narrow inserts; reduce speed near center; support part

Tool Holder Nomenclature

Tool holders follow standardized naming conventions that describe their clamping method, insert compatibility, and dimensions.

ISO Standard (Metric)

Example: PCLNR2525M12

P C L N R 25 25 M 12
PClamping System
CInsert Shape
LInsert Clearance
NTool Style
RHand
25Shank Height
25Shank Width
MTool Length
12Insert IC

Position 1: Clamping System

CodeSystemDescription
PLever LockMost common; uses a lever to pull insert into pocket
CTop ClampClamp presses on top of insert; good for negative inserts
SScrewCenter screw through insert; compact design
MMulti-LockCombination of clamp and pin; very secure
DLever + ClampDual locking for heavy machining

Position 2: Insert Shape

CodeShapeAngleStrengthBest For
CRhombus80°HighGeneral turning, versatile
DRhombus55°MediumProfiling, copy turning
VRhombus35°LowFine profiling, tight corners
TTriangle60°MediumGeneral turning, 3 edges
SSquare90°HighHeavy roughing, 4/8 edges
RRound-HighestHeavy roughing, scaling
WTrigon80°HighHeavy cuts, 6 edges

Position 3: Insert Clearance Angle

CodeAngleApplication
NNegative insert - double-sided, strong
CStandard positive clearance
P11°More positive - light cuts, profiling
BSlight clearance

Position 4: Tool Style (Approach Angle)

CodeLead AngleApplication
A90°Square shoulder, facing
B75°General turning
D45°Heavy roughing
F90°End cutting, facing
J93°General with slight lead
K75°Standard OD turning
L95°Back-facing capable
S45°Maximum chip thinning

Position 5: Hand of Tool

CodeHandDescription
RRight-handCuts from right to left (toward chuck) - most common
LLeft-handCuts from left to right (away from chuck)
NNeutralCan cut in both directions

ANSI Standard (Inch)

Example: MCLNR-164D

M C L N R - 16 4 D
MClamp Type
CInsert Shape
LClearance
NStyle
RHand
16Shank (1/16")
4Insert IC
DLength
Tip: ANSI shank size is in 1/16" increments. So "16" = 16/16" = 1" square shank. The insert IC is in 1/8" increments, so "4" = 4/8" = 1/2" IC.

Insert Nomenclature

Carbide inserts use a standardized code that defines shape, size, tolerance, and features.

ISO Standard

Example: CNMG120408-PM

C N M G 12 04 08 - PM
CShape
NClearance
MTolerance
GFeatures
12Size (IC)
04Thickness
08Corner R
PMChipbreaker

Position 1: Insert Shape

CodeShapeIncluded AngleEdgesStrength
CRhombus80°2/4Good balance of strength and accessibility
DRhombus55°2/4Better accessibility, less strength
VRhombus35°2/4Best accessibility, weakest
TTriangle60°3/6Good economy, medium strength
SSquare90°4/8Strong, good for roughing
RRound-InfiniteStrongest, for heavy roughing
WTrigon80°3/6Good economy and strength

Position 2: Clearance Angle

CodeAngleTypeApplication
NNegativeDouble-sided, strongest, most economical
APositiveLight cutting
BPositiveGeneral positive
CPositiveStandard positive
P11°PositiveHeavy positive for aluminum/soft materials
Negative vs Positive: Negative inserts (N) are double-sided (twice the edges) and stronger but require more power. Positive inserts (C, P) cut more freely with lower forces but are single-sided.

Positions 5-6: Insert Size (IC)

CodeIC DiameterCommon Uses
066.35mm (1/4")Small parts, finishing
099.525mm (3/8")Light to medium machining
1212.7mm (1/2")General purpose - most common
1615.875mm (5/8")Heavy machining
1919.05mm (3/4")Heavy roughing

Positions 9-10: Corner Radius

CodeRadius (mm)Radius (inch)Application
020.2mm0.008"Fine finishing, weak edge
040.4mm0.016"Finishing
080.8mm0.031"General purpose
121.2mm0.047"Medium roughing
161.6mm0.063"Heavy roughing
Surface Finish Formula: Ra (μm) ≈ (feed² × 1000) / (8 × nose radius). Larger nose radius = better finish at same feed rate.

ANSI Standard

Example: CNMG-432

C N M G - 4 3 2
CShape
NClearance
MTolerance
GFeatures
4IC (1/8")
3Thick (1/16")
2Corner R

Tool Types by Operation

Select the right tool holder style for your specific machining operation.

OD Turning - General

  • PCLNR - 80° insert, lever lock, versatile
  • MCLNR - 80° insert, top clamp
  • DCLNR - 55° insert, more access
  • DWLNR - 80° trigon, heavy cuts

OD Turning - Finishing

  • SVJBR - 35° insert, tight profiles
  • SDJCR - 55° insert, profiling
  • SVVCN - 35° insert, very accessible
  • SDUCR - 55° positive, light cuts

Facing

  • PCLNR/PCLNL - Standard facing
  • MWLNR - Heavy facing
  • SCLCR - Light facing

Boring Bars

  • S-SCLCR - Standard steel shank
  • S-SDUCR - 55° for profiles
  • A-SCLCR - Anti-vibration
  • E-SCLCR - Carbide shank
  • C-SCLCR - Coolant-through

Threading - External

  • SER - 60° external right-hand
  • SEL - 60° external left-hand
  • SER-NF - UN threads (55°)
  • Laydown style for rigidity

Threading - Internal

  • SIR - Internal right-hand
  • SNR - Internal neutral
  • Match bar diameter to bore
  • Consider chip evacuation

Grooving

  • GFVR - Face grooving
  • DGFHR - OD grooving
  • GY - Deep grooving
  • Match insert width to groove

Parting / Cut-off

  • QD - Quick disconnect blades
  • GY - Deep parting
  • Narrow inserts (2-3mm)
  • Reduce speed near center

Boring Bar Selection Guide

Bore DiameterBar DiameterMax OverhangType
10-15mm6-8mm3×DSteel
15-25mm10-16mm4×DSteel
25-40mm16-25mm4×DSteel or Carbide
40-60mm25-40mm5-6×DCarbide or Anti-vib
>60mm>40mm6-10×DAnti-vibration
Rule of Thumb: Use the largest possible boring bar diameter. Maximum overhang for steel is 4×D, carbide 6×D, anti-vibration 10×D.

Insert Grades & Coatings

Selecting the correct grade and coating is critical for tool life and productivity.

ISO Material Classification

ISO CodeColorMaterial GroupCharacteristicsGrade Range
PBlueSteelLong chips, good machinability, adhesive wearP10 - P40
MYellowStainless SteelWork hardening, built-up edge, abrasiveM10 - M40
KRedCast IronShort chips, abrasive, easy to machineK10 - K40
NGreenNon-ferrousSoft, gummy, long chips, low forcesN10 - N30
SPurpleSuperalloysHigh strength at temperature, work hardeningS10 - S30
HGrayHardened Steel>45 HRC, abrasive, high cutting forcesH10 - H30
Grade Number Guide: Lower numbers (P10, M10) = harder, more wear resistant, for finishing. Higher numbers (P40, M40) = tougher, for roughing and interrupted cuts.

Coating Types

CoatingProcessMax TempBest Applications
TiNPVD600°CGeneral purpose, easy wear detection, low-alloy steel
TiCNPVD/CVD400°CAbrasive materials, cast iron, medium-carbon steel
TiAlNPVD800°CHigh-speed machining, dry cutting, stainless, alloy steel
AlTiNPVD900°CExtreme heat, hardened steel, superalloys, dry machining
Al₂O₃CVD1200°CHigh-speed steel finishing, excellent chemical resistance
CVD DiamondCVD700°CAluminum, graphite, composites, non-ferrous
CBNSintered1000°CHardened steel >45 HRC, cast iron, powder metal
PCDSintered700°CAluminum-silicon, composites, non-ferrous, graphite

Material-Specific Recommendations

MaterialISO GradeCoatingSpeed RangeNotes
Low Carbon SteelP15-P25TiCN + Al₂O₃150-300 m/minWatch for built-up edge
Alloy Steel (4140)P20-P35TiAlN100-200 m/minHigher toughness needed
Stainless 304/316M15-M25TiAlN or AlTiN100-180 m/minSharp edge, positive rake
Gray Cast IronK10-K20TiN + Al₂O₃150-300 m/minAbrasive, dry cutting OK
Aluminum 6061N10-N20Uncoated/PCD300-1000 m/minSharp edge, positive rake
Titanium Ti-6Al-4VS15-S25TiAlN/Uncoated30-60 m/minLow speed, high feed, coolant
Inconel 718S20-S30AlTiN/Ceramic20-40 m/minVery tough, work hardens
Hardened Steel 50 HRCH10-H15CBN80-180 m/minRigid setup essential

Chipbreaker Selection

Chipbreakers control chip formation, breaking, and evacuation. Choose based on depth of cut and feed rate.

ChipbreakerTypeDOC RangeFeed RangeApplication
-PFLight Finishing0.3 - 1.5 mm0.05 - 0.15 mm/revFine finishing, tight tolerances
-MFMedium Finishing0.5 - 2.0 mm0.10 - 0.25 mm/revGeneral finishing, profiling
-PMMedium0.5 - 3.0 mm0.15 - 0.35 mm/revGeneral purpose, most common
-MMMedium-Heavy1.0 - 4.0 mm0.20 - 0.40 mm/revHeavier roughing, good chip control
-PRHeavy Roughing1.0 - 6.0 mm0.25 - 0.50 mm/revMaximum material removal
-MRRoughing2.0 - 8.0 mm0.30 - 0.60 mm/revHeavy duty, interrupted cuts
-GSStainless0.5 - 2.5 mm0.10 - 0.30 mm/revStainless steel specific
-SMSuperalloy0.3 - 2.0 mm0.08 - 0.20 mm/revInconel, titanium, nickel alloys
Chip Control Tips:
  • If chips are too long: Increase feed or use a tighter chipbreaker
  • If chips are burning/blue: Increase coolant or reduce speed
  • If chips are nested: Wrong chipbreaker for the DOC/feed combination
  • If insert is chipping: Chipbreaker is too aggressive for the conditions

Quick Reference Charts

Nose Radius Selection

Surface Finish RequiredFeed RateRecommended Nose Radius
Ra 0.8 μm (Fine)0.05-0.10 mm/rev0.4-0.8 mm
Ra 1.6 μm (Good)0.10-0.20 mm/rev0.8-1.2 mm
Ra 3.2 μm (Medium)0.20-0.35 mm/rev0.8-1.6 mm
Ra 6.3 μm (Rough)0.30-0.50 mm/rev1.2-2.4 mm

Recommended Tool Holder Sizes

Shank Size (mm)Insert ICMax DOCMachine Size
12×126-9 mm2 mmSmall lathes
16×169-12 mm3 mmLight duty
20×2012 mm4 mmMedium duty
25×2512-16 mm6 mmGeneral purpose
32×3216-19 mm8 mmHeavy duty

Threading Insert Selection

Thread TypeProfile AngleInsert CodePitch Range
ISO Metric (M)60°16ER/IR AG600.5 - 6.0 mm
UN (UNC, UNF)60°16ER/IR UN604 - 28 TPI
Whitworth (BSW)55°16ER/IR W554 - 20 TPI
BSP/BSPP (G)55°16ER/IR W558 - 28 TPI
NPT/NPTF60°16ER/IR NPT8 - 27 TPI
Acme29°16ER/IR ACME2 - 16 TPI
Trapezoidal (Tr)30°16ER/IR TR301.5 - 12 mm
Thread Insert Sizing: The number before ER/IR indicates the insert size. 16ER = 16mm IC, 11ER = 11mm IC. Use full-profile inserts for best thread quality, or partial profile for multiple pitches.
2D TOOLPATH SIMULATION
Cutting
Rapid
Approach/Retract
Start
End
Click outside or press ESC to close