CAM WORKFLOWCoordinate systems, post, DNC

The key points of setup before creating toolpaths (coordinate system, stock, tools), checking after they are made (simulation), and getting them to the machine (post-processor, transfer). At the end is a checklist to go through before running a program for the first time.

How to define the work coordinate system (program origin)

Top view (XY)Machine originValue entered in G54XYWork origin= CAM WCSPartTableSide view (XZ)Tool length HMachine originZ of G54ZXZ is + toward the tool(direction away from the surface being cut)Work origin
What is registered in a work coordinate system offset such as G54 is the position of the work origin as seen in the machine coordinate system. The tool length goes into the tool offset (H). The positional relationship is shown schematically.

G-code dictionary: G54–G59, G92, G53, G43 (tool length compensation)

Defining the stock

Tool library

For holder, collet, and spindle taper dimensions, see Toolingpage.

How to enter cutting conditions

The guides for trochoidal slot milling and for the first depth of cut in high-efficiency roughing can be calculated on the Toolpath types page. For speed and feed, see the End mill and milling cutter calculator.

Simulation and collision check

Checking stageWhat it finds① Playback in CAMPath and how it cutsTool contactHow the stock is cut away② Machine simulationShows even the machine structureCollisions with fixtures and the machineStroke overruns③ NC program verificationVERICUT, NCVIEW, etc.Produced by the post,errors in the NC program④ NC control displayDraws without moving the machineErrors in registered values(coordinate system, tool offsets)Post-processing happens here

For collision checking on 5-axis machines, see5-axis calibration, collision, fixtures and tools.

Post-processor

CL dataMachine-independent pathPost AFor FANUC-type machinesNC programThat machine's formatPost BFor Heidenhain-type machinesNC programThat machine's format
How a post is written differs by CAM (Fusion uses JavaScript, FreeCAD uses Python, NX uses Post Configurator, Creo uses GPOST).

How to choose and fix one

How posts are provided (by software)

SoftwarePost
Autodesk (Fusion)Posts written in JavaScript (.cps) are distributed free in the library. They can be edited[20][21]
FreeCADBundles multiple posts. If none fits, you can write your own (Python). The G20/G21 unit is determined on the post side[4]
Siemens (NX)Modify or create posts with Post Configurator and others. There are also tools for building machine kinematics[22]
PTC (Creo)Creo/NC GPOST (post generation tool)[8]
GibbsCAMLibrary of more than 10,000 posts[14]
Hexagon (WORKNC)Dedicated posts matched to the machine[23]

For how to read the NC program that comes out, see G/M code dictionary.

DNC operation and memory operation

Memory operationPCNC programUSB, LAN, RS-232CNC controlLoad everything into memoryLoad first, then runLarge programs that do not fit cannot be runDNC operationPCNC programRS-232C, LANNC controlBufferReceives a little at a timeRuns while being sentMatch I/O channel, baud rate, and stop bits

Common mistakes (before the first run)

Checking an item only marks it; nothing is saved anywhere.

Related commands: tool length setting mistake →G43, G49 mixed-up units →G20, G21

Frequently Asked Questions

What is the difference between DNC operation and memory operation?
A CNC can store only a limited program size, so large programs cannot run from its memory. They are run by DNC (remote buffer operation), where the program is sent from outside while machining.
What are the main causes of crashes when running a new NC program?
The main causes are a mismatch between the CAM origin and the work offset set on the machine (G54 and so on), a wrong tool length offset (H) value or number, and the wrong tool in the spindle. On the first run, check the path on the CNC's graphic display.
Where should I place the work origin in CAM?
Put it at a point that is easy to pick up on the machine, such as a stock corner, the top face or a hole center. On the machine, pick up the same point with an edge finder or touch probe and register it in the work offset. Point the Z axis away from the cut face (toward the tool).
Can I use a downloaded generic post as is?
A distributed post does not always match your machine, so test any new post carefully. If none fits, modify or write one, and verify it by cutting complex surfaces on the actual machine.

Other CAD/CAM pages

CAD/CAM basics

The difference between CAD, CAM and CAE, the 8 steps of the CAM workflow, and the types of CAM. Also the entry to 97 terms.

CAM simulator (try CAM in your browser)

Set the shape in your browser, choose a tool and a cutting method, and a 3D stock is cut and an NC program is output. 2.5D, 3D surfaces, 3+2, simultaneous 5-axis.

CAM finder

Pick your machine, part shape, rotary axes, current CAD and more to see the tier you need and CAM confirmed to support it (no ranking).

Terms & learning path

97 terms in four levels: Beginner, Intermediate, Advanced, Applied. Plain explanations, what matters on the shop floor, common misconceptions, and a learning path for each level.

Axes & licenses

Tiers of 2.5D, 3D, 3+2, and simultaneous 5-axis, and whether you can add them later. Three patterns for which tier 3+2 sits in, by maker. A comparison table of 23 products.

Machine builders × CAM

Partner CAM systems, certified post-processors, machine models, and in-house conversational programming and digital twins for 22 machine tool builders. How NC code differs by control.

CAM by machine type

12 fields including 5-face machines, simultaneous 5-axis, molds, mill-turn, Swiss-type, wire EDM, gears, and tool grinding. Dedicated CAM and the strength of the evidence.

Japan and the world

The global CAM market is about $3.1 billion (2025). Rankings that change with the yardstick, regional circumstances, Japan’s homegrown CAM, China, and a consolidation timeline.

Toolpath types

Contour, pocket, hole, high-efficiency roughing, trochoidal; waterline, raster, surface-following, pencil, rest machining. Includes calculators for trochoidal slot milling and an initial depth-of-cut guide.

CAD/CAM makers & products guide

57 products in 9 use-case groups. A map of groups (parent companies), CAM that runs inside CAD, strengths, industries, AI features, and Japanese contacts.

Data formats

What STEP (AP203, AP214, AP242), IGES, Parasolid, ACIS, DXF, DWG, STL, and 3MF carry. Problems that occur in exchange.

5-axis machining

The difference between 3+2 and simultaneous 5-axis, machine configurations, NC functions such as tool center point control, calibration, common mistakes, and 5-axis calculations.

Sources

Coordinate systems, tool offsets, and causes of collisions are based on public manuals from NC makers and machine tool makers; posts and simulation on each CAM's help; DNC on university materials. Setup methods differ by machine, so check the instruction manual of your machine.

  1. Mitsubishi Electric, “The Basics of CNC Machining Programming (for Machining center) e-Learning material (PDF)”
  2. Haas Automation, Inc., “Mill Operator's Manual 8 - Part Setup (online version)”
  3. Autodesk, “Fusion Help: Setup tab (milling and cutting) reference (how to define the WCS)”
  4. FreeCAD project, “CAM Workbench (FreeCAD Documentation)”
  5. Hexagon (ESPRIT), “ESPRIT Milling”
  6. Dassault Systèmes, “DELMIA Machining - Online Store (plans and prices)”
  7. Autodesk, “Fusion Help: search results for rest machining (explanation of Rest Machining)”
  8. PTC, "PTC Store: Creo Machining Suite"
  9. Autodesk, “Fusion Help: 3D Adaptive Roughing (formerly Adaptive Clearing) reference”
  10. Sandvik Coromant, “Slicing and trochoidal milling (technical information)”
  11. Autodesk, "Inventor CAM 2020 Help: To Simulate and Post Process the Toolpaths"
  12. Autodesk, “Fusion for Personal Use Changes (Fusion Blog, 2020 announcement of changes and FAQ)”
  13. Autodesk, “Autodesk Fusion with PowerMill (Japanese; pricing and purchase)”
  14. GibbsCAM (Sandvik group), “GibbsCAM home page”
  15. Simpletech Co., Ltd., “Simpletech home page (NCVIEW)”
  16. CGTech (VERICUT), “About VERICUT”
  17. Haas Automation, Inc., “Mill Operator's Manual 11 - Operation (online version)”
  18. C&G Systems Inc., “CAM-TOOL”
  19. Czech Technical University in Prague (Acta Polytechnica), “Vavruška P. Creating a Multi-axis Machining Postprocessor (Acta Polytechnica 52(4), 2012)”
  20. Autodesk, "Autodesk Fusion Post Processor Library"
  21. Autodesk, “Autodesk Fusion product page (Japanese; includes pricing and personal-use description)”
  22. Siemens Digital Industries Software, "NX X Manufacturing Standard"
  23. Hexagon, "WORKNC"
  24. Kumamoto University, Faculty of Engineering Technical Division, “DNC operation of an NC milling machine using a remote buffer (Dai Kurata, Technical Division Report FY2018)”
  25. Siemens Digital Industries Software, “Computer-aided manufacturing (CAM) (glossary)”
  26. Library of Congress, “STL (STereoLithography) File Format Family (fdd000504)”
  27. Autodesk, "Inventor LT 2020 Help: About Imported STEP and IGES data (Construction Environment)"