Guarded five-axis CNC shaping a timber component

5-Axis Post Processor: What It Does and How to Match One to Your Machine

A 5-axis post processor is the translator between your CAM software and your machine’s controller. It turns the toolpath you drew into the exact G-code, rotary-axis moves and tool-change blocks that one specific machine understands. Get it right and the first part runs as simulated. Get it wrong and the machine moves differently from the preview. For a cabinet, joinery or furniture shop buying a 5-axis machine, the practical lesson is to settle the machine configuration, the controller and the CAM package together, before the purchase order, not after the crate arrives.

This guide explains the post in plain terms, lists what has to line up, and shows how to check the output safely. It is general guidance drawn from software and academic documentation. For the exact capabilities of a given Anderson model, we work from the product page and your application, so please talk to us about your production before assuming anything from a family name or an axis count.

Anderson Group Australia
Match CNC Machinery to Your Production
Anderson Group Australia supplies CNC machinery for woodworking manufacturers and can discuss your application before you choose a machine.

Contact Us

TL;DR

  • A post processor converts neutral CAM toolpath data into the G-code or proprietary language of one machine and controller, so each machine configuration normally needs its own post.
  • On 5-axis machines the post also does the kinematics: it works out the rotary-axis movements that place the tool tip and tool axis where the CAM path asks.
  • Compatibility depends on the machine layout (head/head, table/head or table/table), the controller, rotary limits and the CAM package, not on the axis count alone.
  • Never run a new post first on a real part: simulate with the full machine, tool, holder and workholding model, then prove it with an air cut.
  • Before buying, write down your CAM package, the part types and the machine configuration you need, and confirm them against the exact model’s documentation.

Table of Contents

What a post processor actually does

Your CAM software does not write machine code directly. It first produces a neutral intermediate file describing tool data, operation types and the tool centre line. The post processor then translates that file into ISO/EIA G-code or the controller’s own language. Because machines differ (one supports circular interpolation, another needs everything in linear moves), the same guide says you will probably need a separate post for each machine tool.

For a 3-axis nesting router this is routine. The post outputs X, Y and Z moves, tool changes, spindle speeds and drilling cycles, and most shops never think about it. On a 5-axis machine the post carries far more of the load.

Why 5-axis is a different job

CAM output for 5-axis work is expressed as cutter location data: three tool-tip coordinates plus three direction values for the tool axis. An academic framework from the University of Greenwich describes the post’s main function as calculating the inverse kinematics, meaning it converts that tip position and orientation into the five axis movements the physical machine must make. The same work lists feed-rate calculation, breaking long moves into short linear segments, and avoiding singularities (positions where a rotary axis can flip suddenly) as further jobs of a good post.

The practical consequence: a 5-axis program cannot sensibly be written or edited by hand the way a 3-axis one can. The post is part of the machine’s capability, not an accessory.

Three things the post has to agree with

Think of a 5-axis chain as three links: the CAM machine definition, the post, and the controller. They must all describe the same machine.

1. Machine configuration (kinematics)

Five-axis machines place their two rotary axes in different spots:

  • Head/head: both rotary axes are in the spindle head. Common on gantry routers and large-format machines used for shaped panels, curved parts and solid timber.
  • Table/head: one rotary axis in the head, one in the table.
  • Table/table: both rotary axes move the workpiece, as on a trunnion table.

Post developers ask for exactly this information. RhinoCAM’s published list of what is needed to judge feasibility includes the configuration, rotation direction and angle limits for each rotary axis, whether axes are orthogonal, the controller’s G and M code specification, start and end blocks, tool change definition, arc output format, a sample 5-axis program and how drilling cycles are output (simulated with G01 moves or as canned cycles such as G81 and G83).

That last point matters in panel work. If your parts need a lot of drilling and boring, ask how the post outputs those operations on the exact machine you are considering.

2. The controller and how it handles the tool tip

Some controllers calculate tool-tip compensation themselves, often called TCP, RTCP or TCPC. Others do not, and everything must be calculated in CAM and the post. An Australian example is MASSO, whose documentation states that its Mill controller supports continuous 5-axis and 3+2 machining with A and B axes but does not support TCP, so all kinematics must be calculated in the CAM software. It also notes a C axis has to be mapped to A or B in the post, and that toolpaths must be recalculated in CAM if the tool length differs from the one in the G-code.

This is the part that surprises buyers. Two machines that both say “5-axis” can demand completely different posts because one controller does the tool-point transformation and the other relies on the post to do it. Applying compensation in both places, or in neither, gives wrong motion. Whichever applies to your machine, it is a documented fact to confirm for the exact model and controller, not something to infer.

3. The CAM package and its post library

Posts are written for a CAM product, and often a specific release. Library posts for 4 and 5-axis often exist but are switched off by default and sometimes enabled through post properties. Machine definitions allow one generic post to serve several machines with different kinematics, but a post supports them only if it contains the activateMachine function, according to the same training guide.

A compatibility checklist to complete before you buy

Use this as a one-page brief when you discuss a 5-axis machine. Each row is a fact to confirm for the exact model and configuration.

Item Why it matters for the post Where the answer comes from
Machine layout (head/head, table/head, table/table) Sets the kinematic model the post must solve The model’s documentation
Rotary axis names, directions and angle limits Wrong limits or signs give mirrored or out-of-range moves Model documentation and controller manual
Controller make, model and software revision Decides the G-code dialect and whether TCP is available Controller manual
Tool-tip compensation: in the controller or in the post Double or missing compensation gives wrong motion Controller and post documentation
Continuous 5-axis or 3+2 positioning only Changes how work offsets are handled Your part list against the model’s capability
Tool change and tool length handling Pivot-point length must match the program on some head types Controller and machine documentation
Drilling cycles: canned or simulated Affects program size and cycle time on drilled parts Post documentation
CAM package and release Posts are written for a specific CAM product Your CAM supplier
Optional equipment (pallet changing, probing, rotary accessories) Never assume from the family name The exact model’s specification

That last row follows a rule we apply to every machine we discuss: options such as pallet changing, probing or accessories are confirmed model by model, not inferred from a name or axis count.

Tool length and pivot point: a detail that catches shops out

MASSO’s documentation draws a useful distinction. On a fixed-spindle trunnion machine, standard automatic tool zeroing measures the tool and adjusts Z0. On a pivoting head, tool length is measured from the head’s pivot point and must exactly match the length in the G-code, which the operator sets with a jig or pre-measured collets.

For a shop that changes tooling often, such as profile cutters, ball-nose tools and drills on shaped-panel work, this affects how you run the machine day to day, not just how the post is written. Ask how tool lengths are established on the model you are considering.

3+2 versus continuous 5-axis, and what changes in the code

At its simplest, 3+2 means locking the two rotary axes at an angle and cutting with three axes. Continuous means all five move together. Research from UNSW Making on a Haas machine explains why both need care: the work origin effectively moves as the part rotates. It describes two tracking methods: dynamic work offsets for indexed 3+2 work, which translate the origin after rotation, and tool centre point control for simultaneous work, which rotates the origin and axis directions in real time. Those are Haas commands and are an example, not a rule for every controller.

The concept transfers, though. If you plan to start with 3+2 positioning and move to continuous work later, make sure the post and controller can do both. Our guide to dynamic work offsets covers how offsets behave when the part is rotated.

What this means for woodworking shops

Most joinery, cabinet and furniture programs do not begin as hand-built G-code. They come out of design or nesting software and reach the machine through a post or a native file. PolyBoard, for instance, lists built-in posts that output MPR, CIX/CID, F4G, TCN, XXL and HOP files, or layered DXF through an intermediate CAM package. It also supports 4 and 5-axis machines and suggests using test files to confirm they load into the machine’s interface.

When 5-axis comes in, typically for curved components, angled cuts, shaped solid timber or sculpted parts, you usually move to a dedicated CAM package. ALPHACAM’s woodworking material describes head-mounted rotary axes on routers that can be programmed at any orientation, with safe rapid moves between planes checked by solid simulation. That is one vendor’s description of its own software, but it shows the shape of the workflow: head-mounted rotary axes, a CAM machine definition, a matching post, simulation.

To decide whether 5-axis suits your product range at all, read 5-axis CNC for woodworking: where it pays off. If most of your work is flat panel processing, nesting and drilling, a 5-axis post is not your priority. A nesting router such as the Genesis PLUS or the ATS series is the application match, and your post questions are about the nesting software’s output instead.

What this means for woodworking shops

Simulate before you cut

A correct-looking toolpath on screen proves very little. The UNSW Making guide notes that 5-axis machining dramatically increases collision risk. Simulation has to include the stock, tool holders, tool stick-out, workholding and an accurate machine model, because the machine may stop before the spindle hits the table but cannot know what tool or workholding you have fitted.

The same guide’s post-processing checklist for the Haas UMC 350 is a good model of the sort of settings to review on any machine: select the correct 5-axis machine model in the post, cycle tools at the start to validate tool numbers, make rapid moves obey the rapid override, and convert rotary rapid moves into controlled feed moves. The exact options are specific to that machine and post, so treat the list as a pattern for your own setup sheet.

A sensible proving sequence

  1. Check the machine definition in CAM. Axis directions, limits, pivot distances and tool holders should match the real machine.
  2. Simulate in CAM, then simulate the posted code. Previewing the toolpath is not enough: the G-code is what the controller will execute. Software that checks collision detection in design software shows why accurate machine, stock and workholding models matter before any metal or timber is cut.
  3. Read the first lines of the output. Look at the header, tool-change block, work offset and the first rotary move. A wrong convention often shows up immediately.
  4. Air cut at reduced feed. Run well above the part, with rapid and feed overrides low and a hand on the stop.
  5. Cut a sacrificial or low-value part first. Then record the post revision that worked.

Workholding belongs in this sequence too. Our guide to CNC workholding methods covers how clamping affects accuracy and distortion, and the workholding model in your simulation should match it.

Woodworking CAM vendors build simulation into their packages for the same reason. Planit’s CABINET VISION brochure describes an add-on that previews machine operations on screen to reduce errors and scrapped parts, and notes it connects to major CNCs sold in Australia.

When can a post be configured, and when does it need developing?

Three situations come up in practice.

  • Library post, same controller and layout. Often only options need setting. Confirm that the 4/5-axis outputs are enabled and that the machine definition is selected.
  • Library post, similar machine. This is where small edits can hide big work. If the kinematics or the tool-tip handling differ, the post’s foundations differ, and a quick tweak is no longer quick.
  • No suitable post. A machine-specific post has to be developed, using the information in the checklist above plus a sample 5-axis program from the machine.

The cheapest time to find out which situation you are in is before you choose the machine.

Buying a 5-axis machine with the post in mind

Two habits save a lot of trouble.

Start from the parts, not the axis count. List what you will actually cut: curved door rails, shaped legs, angled joints, three-dimensional carving, or flat panels with drilling. That list tells you whether you need continuous 5-axis, 3+2 positioning, or neither.

Keep wood and metal ranges separate. Our woodworking range includes the MASS-5 large-scale 5-axis machining centre, the MASS-B enclosed 5-axis CNC machine and the AXXIOM 5-axis series. The Focaseiki range is a separate line for metal and aluminium milling, and its 5-axis vertical machining centre, ram type 5-axis vertical machining centre and APC with zero-point system are for metalworking applications. A post written for a metal machine’s controller and kinematics is not interchangeable with one for a woodworking machine, so confirm the manufacturer and documented material application for each model you are comparing.

For liquid coolant on metal machines, as for dust extraction on wood machines, never assume fitment from a machine name. Confirm the exact model and configuration.

Buying a 5-axis machine with the post in mind

Talk to us about your application

We supply CNC machinery, servicing and parts to Australian manufacturers, mainly kitchen, cabinet, joinery and furniture makers. We help you choose machinery for your own production; we do not offer subcontract cutting or machining.

If you are weighing a 5-axis purchase, bring your CAM package, your part types and the machine configuration you are considering, and we will check them against the product page for the model.

ATS Series CNC Nesting Routers

Browse our wood machinery range or metal machinery range, then discuss your application or request a quote through the machine page.

FAQ

Can I use a 3-axis post on a 5-axis machine?

No. A 3-axis post has no way to calculate the rotary-axis movements. Academic work on 5-axis posts describes inverse kinematics as the core task, and a 3-axis post does none of it. You need a post written or configured for your machine’s layout and controller.

Do I need a different post for every machine?

Usually yes. Machines differ in controller dialect and configuration, so a separate post per machine tool is the normal expectation. Machine definitions in some CAM packages let one generic post serve several machines, provided the post supports them.

Does the controller or the post handle tool-tip compensation?

It depends on the controller. Some controllers calculate it themselves, while others, such as the MASSO Mill controller, do not support TCP and need all kinematics calculated in CAM. Confirm this for the exact controller on the machine you are buying, and make sure compensation is applied in one place only.

What should I send when asking about 5-axis compatibility?

Send your CAM package and release, the controller model, the machine layout, rotary axis limits and a sample 5-axis program if you have one. These are the items post developers ask for, as in RhinoCAM’s post development requirements. For a purchase, add your part list and tell us which model you are considering.

Sources

Privacy Policy

Scroll to Top