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, seeToolingpage.

÷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 theToolpath types page. For speed and feed, see theEnd 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, seeG/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

Other CAD/CAM pages

📚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)」