Skip to content

What is an Alphacam post-processor? Producing NC code for your machine

What an Alphacam post-processor (post) is, what it does and where to get one: translating toolpaths to G-code, controller differences (Fanuc, Siemens, Osai, Biesse, Homag/WoodWOP, SCM/Xilog), choosing and testing a post, common errors and who should edit it.

Published: · 7 min read

A post-processor (post for short) is the translator file that turns the toolpath Alphacam produces into the NC code a specific machine controller understands. The same drawing and operations come out as one file for Biesse, another for Homag, another for a local router; the post makes the difference. A wrong post means the machine either does not run or runs wrongly — the most expensive kind of CNC error. This article explains what a post does, how it is chosen and how it is tested.

What the post does

Alphacam keeps the toolpath in a machine-independent internal form: coordinates, depths, tool numbers, speeds. The post takes that and:

Controllers and dialects

Controller / brandOutputNote
Fanuc, Siemens, Osai, Fagor, LNCStandard G-code (.nc, .iso)Most local routers; similar command set, header and M codes differ
Homag / Weeke (WoodWOP).mpr macro programNot G-code; operation blocks and variables
Biesse (BiesseWorks / bSolid).cix, .bppOwn language; the post produces Biesse format
SCM (Xilog / Maestro).xxl, .pgmXilog Plus language
Masterwood, Morbidelli, BusellatoBrand language or ISOBy release

Even within one brand, the controller software version affects the post; think "post for WoodWOP 7", not "post for Homag".

Where posts come from, who writes them

Alphacam ships with posts for common controllers; the post specific to your machine is installed or edited by the Alphacam reseller — writing a post needs controller knowledge and is the reseller's job. Post files live in the post folder under LICOMDIR (path varies by release); include them in your backups. When buying a new machine, ask the builder "is there an Alphacam post"; most local builders ship with Fanuc/Osai-compatible posts.

Testing a post, in order

  1. Simulation: simulate the toolpath in Alphacam; this tests the toolpath, not the post, but it is the first filter.
  2. Read the NC file: header (G21 mm, G90 absolute, safe Z), tool call, first move. A meaningless line means a wrong post.
  3. Dry run: no board, Z at safe height, one part; watch the moves.
  4. One part on scrap board: through cut + one hole; measure. If you drew 600 × 400, you must get 600 × 400.
  5. Program with a tool change: two different tools; confirm the change uses the right command.
  6. Drill cycle and multi-spindle: a System 32 row; check the drill group is recognised.

Common errors

How posts relate to add-ins

GMacros macros and add-ins do not touch the post: they write to the Alphacam drawing (layers and geometry), Auto Style assigns the operation (Alphacam Auto Style setup: automatic machining by layer name), your post produces the NC. That is why they "run on every CNC router" — the condition is that your machine has an Alphacam post. For remote help with installation and post/Auto Style mapping: contact.

Frequently asked

Can I edit the post myself?

Small changes (header line, safe Z) can be made in a text editor, but the syntax is release specific; a wrong edit makes the machine run wrongly. Have the reseller make the change, or back up first and test on scrap board.

Can one machine have two posts?

Yes: e.g. single- and dual-station work, or different header/label output for nesting and single parts. The post is chosen when producing NC in Alphacam.

Are posts paid?

Standard posts come with the license; a post written for a custom machine is usually a reseller service and may be charged. GMacros does not sell or write posts; it helps with mapping.

Related products

Tools that do the work described here with one click inside Alphacam: the GMacros Alphacam Package. Purchasing and licensing are explained in the FAQ.

Written by the GMacros team. Alphacam is a registered trademark of Hexagon AB; this guide is independent.

GMacros add-ins and macros run inside Alphacam Router. An Alphacam software license is not included in the product price; you buy Alphacam separately from Hexagon or an authorised reseller. Supported versions: 2019 R1 and later.

WhatsApp