Step 1: Collect machine information
- Machine: make, model, type (VMC, HMC, 5-axis, lathe, mill-turn).
- Controller: brand, model and software version, installed options.
- Kinematics: axis names, rotary configuration (table-table, head-table, head-head), pivot distances, directions and limits.
- Tooling: tool changer type, pre-select, maximum tools, tool length measurement method.
- Options: TCP, tilted planes, high-speed modes, probing, through-spindle coolant, chip conveyor.
- Sample programs: hand-written or edited programs that run well today.
- Machine manuals: programming manual and MTB-specific M-code list.
Step 2: Agree the output specification
Sit with programmers and operators to agree the exact format: header content, comments, line numbers, tool change sequence, safe start codes, preferred cycles, rotary output and end-of-program behaviour. Write this down as the post specification; it becomes the test checklist later.
Step 3: Choose the base and language
| CAM system | Post language / tools |
|---|---|
| Autodesk Fusion, Inventor CAM, HSMWorks | JavaScript (.cps) with the Autodesk post engine |
| Siemens NX CAM | Post Builder / Post Configurator, Tcl event handlers |
| Mastercam | MP language (.pst) with machine and control definitions |
| SolidCAM | GPP language (.gpp / .mac) with VMID machine files |
| hyperMILL, PowerMill, Esprit, others | Vendor-specific post generators and scripting |
We usually start from the closest proven base post for the controller, then customise it. Writing from scratch is reserved for unusual machines.
Step 4: Develop
- Configure machine kinematics and limits.
- Implement program structure: header, safe start, tool changes, end.
- Implement motion: rapids, linear, arcs, rotary and multi-axis.
- Implement cycles, compensation, coolant and machine options.
- Add safety checks: limit violations, unsupported operations, missing data.
Step 5: Test with a standard program set
Post a set of test parts covering every operation type the shop uses: facing, pocketing, contouring, drilling, tapping, boring, 3+2, simultaneous 5-axis, turning and threading as applicable. Compare output line by line with the specification.
Step 6: Simulate
Run the NC code in G-code based machine simulation (for example VERICUT, NCSIMUL, NX ISV, CAMplete or Fusion machine simulation) with an accurate machine model to check motion, limits and collisions.
Step 7: Prove on the machine
1. Dry run above the part, feed and rapid overrides reduced
2. Single block through tool changes and rotary moves
3. Air cut on the real setup
4. First part with operator at feed hold
5. Fine-tune and release
Step 8: Document and support
Deliver the post with a change log, a list of post properties and options, and the test programs. Keep it under version control so future changes are traceable.
A post processor is only finished when it has cut real parts on the real machine.
Start your custom post project
See our CNC post processor development service, or read how commissioning works.