NX Machine Simulation: The Short Version
NX machine simulation moves a kinematic model of your CNC machine, with tools, fixture and part, through a program inside NX CAM and checks travel limits and collisions before the machine runs. Only G-code-driven simulation reads what your post wrote. inteliScience CAM engineers check the model against your machine, so a green run means something.
| What the simulation needs | Where it comes from | What goes wrong when it is off |
|---|---|---|
| Kinematic model: axes, travel limits, pivot points | Post Hub machine kit, NX library machine or your own model | Rotary positions and limits your machine does not have |
| Controller driver | The kit, a generic driver, or VNCK on SINUMERIK | Cycles and tool changes move differently than on the control |
| Postprocessor | The same post that writes programs for the machine | The simulation checks a program the machine never gets |
| Tools with holders, numbers and registers | Your tool library | The run stops, or simulates the wrong tool length |
| Part, blank and fixture on the part mount junction | Your CAD, per job | Clamps and vises are never checked |
| Work offset | Fixture offset 1 in NX, G54 on the control | The part sits somewhere else in the model than on the table |
The Problem: A Green Simulation of a Machine You Do Not Own
Ask an NC programmer whether a program was simulated and the answer is nearly always yes. Ask which machine the simulation ran on, and which program it read, and the answer gets shorter.
In most NX shops we see three versions of “simulated”: a Verify run with material removal, a library machine with roughly the right axes, or a kit downloaded once and never compared with the machine on the floor. All three can be green on Friday and wrong on Monday. A library machine has its own travel limits, not yours. A collision between spindle head and trunnion that nobody defined is never checked. A tool whose number differs from the NC program either stops the run or simulates a tool that is not in the magazine.
Siemens names the underlying gap itself. A CAM system that simulates its own internal toolpath shows something that can differ from the G-code the machine runs, and its NX Manufacturing blog warns that this disconnect “can result in costly errors on the shop floor” (Siemens NX Manufacturing blog, March 2020).
NX machine simulation closes that gap only when three things are true: the model is your machine, the simulation reads the posted code, and someone has compared both with the real machine once. This guide covers the setup, written against NX for Manufacturing 2606 (released 19 June 2026, current as of October 2026), and it is plain about which checks you get. Proving the post itself, from reference programs to a signed protocol, is a separate job, covered in our guide to postprocessor validation before the machine.
Three Ways NX Simulates, and Which One Checks the Machine
NX CAM simulates on three levels, plus controller emulation on SINUMERIK. Toolpath verification checks the cut against part and stock. Machine tool simulation moves a machine model with the toolpath NX calculated. G-code-driven simulation moves the same model with the code your post wrote. Only the last two see the machine, and only G-code-driven simulation sees the post.
| Mode | What drives it | What it checks | What it cannot see |
|---|---|---|---|
| Toolpath verification (Verify) | NX’s internal toolpath | Gouges, material removal, holder against part and in-process stock | The machine, its limits, the post |
| Machine tool simulation, toolpath-driven | The internal toolpath, on a machine model | Travel limits and collisions with machine components, as NX calculated the motion | Everything the post decides: rotary solution, TCP output, cycles as the control runs them |
| G-code-driven simulation | The posted NC code, through a controller driver | The program the machine will get: axis positions, limits, collisions, machining time | Whatever is not in the model, and control behavior the driver does not reproduce |
| Controller emulation (VNCK) | The NC code, run by a SINUMERIK software kernel set up for your machine | Closest to the machine: cycles, accelerations, times | Controls other than SINUMERIK |
Siemens built this as a modular set. Its fact sheet for NX CAM Integrated Simulation and Verification (ISV) names CAM Visualize for toolpath and material removal, Machine Tool Simulation for “simulations of the machining process within the context of a complete machine tool”, and Advanced Machine Tool Simulation to “create new machine models with full kinematic definition” (Siemens ISV fact sheet, 2011). The names in your license file may differ today: the NX 2506 release notes list G-code-driven simulation and machine kits among the add-ons of NX X Manufacturing’s value-based licensing.
NX 2506 also added a view while you program: machine movements shown “with instant axis position updates and automatic limit violation alerts” (Siemens, What’s new in NX 2506, 23 June 2025). That is a good early warning, and it works on the toolpath before any post has run. NX 2606 brought turning to the Manufacturing Viewer, where operators step through the machining sequence; that is visualization for the shop floor, not a machine check.
Our position: on any machine with rotary axes, only G-code-driven simulation counts as machine simulation. Toolpath-driven simulation is a programming aid. On a 3-axis mill with a proven post it can be enough. On a trunnion table, the post decides which way the B axis swings, and a simulation that never saw the post cannot know.
When controller emulation (VNCK) is worth it
Controller emulation is worth it on SINUMERIK machines where cycle time, smoothing or the control’s own cycles matter, which in practice means 5-axis and mill-turn. Siemens integrates the SINUMERIK Virtual NC Controller Kernel (VNCK) into NX, “calibrated for your machine tool” with “hundreds of unique performance parameters”, so the simulation runs the NC code the way that control does.
Two conditions come with it. VNCK covers SINUMERIK only, and it depends on the parameters of the real machine, which usually come through the machine builder. Clarify licensing with Siemens or your reseller before you plan on it. For Fanuc and other controls, the realistic setup is G-code-driven simulation with a matched driver, plus the control’s own simulation where the control offers one.
Our recommendation: VNCK when a SINUMERIK 5-axis or mill-turn machine is expensive to stop and the time estimate feeds a quote; G-code-driven simulation with a checked kit for everything else. The gap between a good driver and an emulated control is far smaller than the gap between a checked model and an unchecked one.
What an NX Machine Simulation Setup Consists Of
An NX machine simulation setup is a kinematic model of the machine, a controller driver, the post, and the job data: tools, fixture, blank and part. The kinematic model is where the work goes, because it has to describe your machine in the dimensions that matter for collisions, not in the brochure’s.
The model is a tree. Each moving component hangs from the one that carries it, each axis has its limits, and two junctions connect the job to the machine: one on the spindle for the tool, one on the table for the part. One possible chain for a table-table 5-axis machine:
Tool side Part side
MACHINE_BASE MACHINE_BASE
+-- X linear -325 to +325 mm +-- B rotary -5 to +110 deg (trunnion)
+-- Y linear -215 to +215 mm +-- C rotary endless (table)
+-- Z linear -400 to 0 mm +-- part mount junction
+-- spindle housing +-- fixture, blank, part
+-- tool mount junction
+-- holder, tool
Checked against each other:
holder and tool vs fixture, part, table, trunnion
spindle housing vs trunnion, table, fixture
trunnion vs machine base and enclosure, where they can meet
What has to be right in that tree, measured on your machine rather than copied from a catalog:
- Travel limits of every axis, as the software limits on the control are set.
- Pivot distances between the rotary axes, and from them to the spindle nose or table surface. They decide where the linear axes go after a tilt.
- Rotary limits and directions: the B range, whether C is endless, and the positive sense of each rotary axis.
- Home and tool change positions, and the path the machine takes to reach them.
- Collision geometry for spindle housing, trunnion, table and anything else the tool can reach, detailed enough that a near miss in the model is a near miss on the machine.
- Collision pairs: which components NX checks against each other. A pair that is not defined is not checked.
The data comes from the machine builder’s documentation, the control’s machine data for the limits, and a CAD model of the machine if the builder provides one. What the documents cannot settle gets measured once on the machine, with the control’s position display.
Where the controller driver fits
The driver is the piece that turns NC code into axis motion inside the simulation. For the library machines, Siemens’ fact sheet describes generic machine controller drivers; a kit brings a driver matched to its controller. A driver that does not know your builder’s cycles, M codes or tool change macro will still move the axes, just not the way your control does.
Machine Kit, Library Machine or Your Own Model
Start with Post Hub. Siemens’ smart machine kits bundle “an accurate model of the machine, complete with its kinematics, a tailored postprocessor, and a simulation module driven by G-code”. There were 55 of them in March 2023 and 100 by July 2023 (Siemens NX Manufacturing blog, July 2023), and Siemens’ NX CAM product page now speaks of more than 1,000 machine kits directly accessible from NX CAM (Siemens, retrieved 9 October 2026).
If no kit matches, the Machine Tool Simulation library offers “the most common machine tool/kinematics configurations” with generic drivers, and the machine sizes can be edited. For a machine that neither covers, the machine tool builder in NX lets you define “geometry, linkages, kinematics and tooling” yourself, in the fact sheet’s words.
| Your situation | Model source | Check before you trust it |
|---|---|---|
| A kit for your machine model, control and options exists in Post Hub | Post Hub kit | Travel limits, pivot distances, rotary limits, tool change position, options such as a second rotary table |
| Same kinematic type, no kit | NX library machine, dimensions edited | Everything above, plus the driver: a generic one does not know your builder’s cycles and M codes |
| Unusual kinematics: nutating head, mill-turn, twin spindle, pallet changer | Own model built in the machine tool builder, from the builder’s CAD | A full comparison with the machine, axis by axis |
| Machine retrofitted or rebuilt | Existing model, updated | Whatever the retrofit touched, and the post with it |
Our clear recommendation: kit first, own model only where the kit stops short. And no kit is your machine until four numbers have been checked against it: travel limits, pivot distances, rotary limits and the tool change position. Builders ship the same machine type with different options, and a kit describes one configuration. How posts, Post Hub and Post Configurator fit together is covered in our overview of how NX CAM posts work.
Setting Up a Simulation Run in NX, Step by Step
Once the model exists, a simulation run is setup work in the Manufacturing application, and most failed runs are setup errors rather than model errors. Tool numbers, registers and the fixture offset have to match the NC program exactly, or the simulation either stops or quietly simulates something else.
The sequence follows Siemens’ community article on simulating a G-code file in NX CAM, extended by the points that decide whether the result is worth anything:
- Machine. Load the kit or library machine into the Machine Tool view. If the Operation Navigator still says GENERIC, nothing below means anything.
- MCS and fixture offset. The main MCS carries fixture offset 1, which corresponds to G54. Add an MCS for each of G55 to G59 the program uses.
- Part mount. Mount the part on the part mount junction of the table, with the blank under the WORKPIECE group and the fixture as modeled geometry, clamps included.
- Tools. Give every tool the tool number, adjust register and cutcom register the NC program uses, a holder that is really in your magazine, and a length close to the measured one.
- Post. Post with the post that belongs to this machine, the one that writes production programs.
- Run. Start the G-code-driven simulation, step block by block through tool changes, tilts and TCP sections, and let the rest run with collision checking on.
- External programs. For NC code from elsewhere, such as an old program or a hand edit, Siemens describes a separate path, Simulate Machine Code File under Tools. The file has to state its units with G20 or G21.
- Record. Note the kit or model version, the post version and the NX release next to the result.
The programming side of this, from tool axis options to holder checks inside the operation, is in our walkthrough of NX CAM 5-axis programming.
A desk check before the simulation runs
Before a long program goes into simulation, a desk check of the axis ranges it asks for takes seconds. The script below reads a posted Fanuc-style program, converts untilted moves into machine coordinates with your work offset and tool lengths, and compares them with the travel limits from the same data you used for the model:
# nc_axis_envelope.py: desk check of the axis ranges a posted NC program asks for,
# against the machine's travel limits. Runs before the simulation, not instead of it.
# Python 3.9+, standard library only, read-only. Fanuc-style ISO code, G90 only.
# Usage: python nc_axis_envelope.py posted/4711_OP10.nc
import re
import sys
from pathlib import Path
# Machine coordinates in mm and degrees, from the builder's data or the checked kit.
# C is an endless rotary table on this machine, so it has no limit here.
LIMITS = {"X": (-325.0, 325.0), "Y": (-215.0, 215.0), "Z": (-400.0, 0.0),
"B": (-5.0, 110.0)}
WORK_OFFSET = {"X": -180.0, "Y": -95.0, "Z": -420.0} # G54 as set on the control
TOOL_LENGTH = {1: 92.5, 5: 118.0, 12: 141.2} # H register: gauge line to tip
WORD = re.compile(r"([GHXYZBC])\s*([+-]?\d*\.?\d+)")
rotary = {"B": 0.0, "C": 0.0}
length, absolute, tilted, tcp, needs_model = 0.0, True, False, False, 0
seen = {axis: [] for axis in LIMITS}
for no, line in enumerate(Path(sys.argv[1]).read_text(encoding="latin-1").splitlines(), 1):
code = re.sub(r"\(.*?\)", "", line.upper()) # drop comments
words = [(k, float(v)) for k, v in WORD.findall(code)]
g = {v for k, v in words if k == "G"}
absolute = (absolute or 90.0 in g) and 91.0 not in g
if g & {28.0, 30.0, 53.0}:
continue # reference return or move in machine coordinates
if not absolute and any(k in "XYZBC" for k, _ in words):
sys.exit(f"line {no}: incremental move, this check only reads G90 coordinates")
tilted = (tilted or 68.2 in g) and 69.0 not in g
tcp = (tcp or bool(g & {43.4, 43.5})) and not g & {43.0, 49.0}
if 49.0 in g:
length = 0.0
for k, v in words:
if k in rotary:
rotary[k] = v
if k in LIMITS:
seen[k].append((v, no))
elif k == "H" and 43.0 in g:
if int(v) not in TOOL_LENGTH:
sys.exit(f"line {no}: no length for H{int(v)} in TOOL_LENGTH")
length = TOOL_LENGTH[int(v)]
linear = [(k, v) for k, v in words if k in "XYZ"]
if linear and (tilted or tcp or any(rotary.values())):
needs_model += 1 # work and machine axes differ
continue
for k, v in linear:
seen[k].append((v + WORK_OFFSET[k] + (length if k == "Z" else 0.0), no))
for axis, (low, high) in LIMITS.items():
if not seen[axis]:
print(f"{axis} not programmed")
continue
values = [v for v, _ in seen[axis]]
out = [no for v, no in seen[axis] if not low <= v <= high]
print(f"{axis} {min(values):9.3f} to {max(values):9.3f} limit {low} to {high} "
+ (f"OUT OF RANGE, lines {out[:5]}" if out else "ok"))
print(f"{needs_model} blocks run tilted, rotated or with TCP: check them in the simulation")
The last line of the report matters most. Every block that runs on a tilted plane, with a rotary axis away from zero or with TCP active is one where work coordinates and machine axes part ways, and only the kinematics model can tell where the axes really go. Arcs are checked at their end points only. A clean report means the 3-axis part of the program fits the machine, nothing more.
A kit that loads and a program that runs green is a POC. What production needs on top: a model checked against your machine’s limits and pivot distances, fixtures and clamps in the model, tools that match the magazine, one comparison with the real machine, and a model versioned together with the post. Our CAM engineers set this up as the machine simulation add-on to NX postprocessor development: one machine, one post, simulated and then accepted on the machine.
What Collision and Limit Checks You Really Get
Inside the model, a lot. Outside it, nothing. A green NX machine simulation means that none of the component pairs you defined touched, that no axis left the limits you entered, and that this held for the tool lengths you assumed. Each of those three conditions is a place where model and machine can drift apart.
| Check | Caught when | Missed when |
|---|---|---|
| Linear travel limits | The model carries the control’s software limits | The model carries catalog travel, or a tilted section runs toolpath-driven |
| Rotary limits and tilting solution | G-code-driven simulation, rotary limits and directions modeled | Toolpath-driven simulation: the post chooses the solution later |
| Tool and holder against part and fixture | Holder modeled, fixture and clamps in the model | Clamps, bolts or vise jaws that were never modeled |
| Machine components against each other | Components modeled and the pair defined | The pair is missing, or the geometry is a simplified box |
| Rapid moves into stock | In-process workpiece active during the run | The run started without a blank |
| Tool change and return moves | The driver reproduces the builder’s tool change sequence | The builder’s macro moves differently than the driver |
| Machining time | G-code-driven estimate, compared once with the control | Accelerations and smoothing, unless the control is emulated |
Tool length and near misses
Two details catch more shops than any row in that table. The first is tool length: the model uses the length in the NX tool, the machine uses the one in the control’s tool table, and on a tilted 5-axis move a few millimetres of difference push the holder toward the fixture. The second is near misses. Find out whether your setup reports clearances or only contact; if it reports only contact, a pass by two millimetres looks exactly like a pass by fifty.
Machining time as a check
Machining time is the most underrated check. G-code-based simulation gives machining time estimates “including cutting motions, position and transfer moves, and tool changes”, as Siemens wrote in 2020. Set that estimate next to the run time the control reports for the first part. A gap you cannot explain points to feed output, dynamics or a driver that does not know your machine. The checkpoint method for comparing simulated and real axis positions is part of the validation guide linked above.
What the machine still has to prove
A green run is not a release. At IMTS 2026 in Chicago (14 to 19 September), Siemens’ Mark Hindsbo put it in one line: “Manufacturing truth has always ultimately been at the machine” (Siemens NX Manufacturing blog, 22 September 2026). The simulation makes the first run on the machine safe. The air cut and the test part still happen.
Keep the Model, the Post and NX in Step
A simulation model has versions, just like a post. Record which kit or model version, which post version and which NX release belong together, and treat a change to any of the three as a reason to run a known program through the simulation again.
NX ships twice a year, in June and December. Release 2612 went through Siemens’ Early Access Program between 31 August and 25 September 2026, so the next round of kit loading and post checks is close for shops that upgrade early. Retrofits count as changes too: a new head, a new table or an added rotary axis changes the model and the post together.
inteliScience is a Siemens NX, NXOpen and Teamcenter specialist delivering nearshore from Cluj-Napoca, Romania, one hour ahead of CET. Our CAM engineers set up machine simulation as an add-on to the posts they build: the model checked against your machine, the simulation driven by the post’s NC code, the reference programs simulated before the test part, and the whole set accepted together with the post. Models and posts are built and tested by engineers. NC code that moves a machine needs a person who answers for it.
Frequently Asked Questions
What is machine simulation in Siemens NX CAM?
Machine simulation in Siemens NX CAM moves a 3D model of the CNC machine, with its kinematics, travel limits, tools, fixture and part, through an NC program inside the programming session, and checks for collisions and limit violations before the program reaches the machine. It can be driven by the toolpath NX calculated or, in G-code-driven mode, by the NC code the postprocessor wrote. Only the G-code-driven mode checks what the machine will actually receive, and every result is only as good as the machine model behind it.
Toolpath-driven vs G-code-driven simulation in NX CAM: what is the difference?
Toolpath-driven simulation moves the machine model with the toolpath NX calculated internally; G-code-driven simulation moves it with the posted NC code, run through a controller driver. The difference is the postprocessor: rotary solutions, tool center point output, cycles and tool change sequences are decided in the post, so only G-code-driven NX machine simulation can catch errors there. Toolpath-driven simulation is still useful while programming, as an early check of reach and travel limits.
Is a Siemens Post Hub machine kit accurate enough for machine simulation?
A Post Hub machine kit is a good starting point, and often enough once it has been checked against the real machine. Siemens describes its smart machine kits as a machine model with kinematics, a tailored postprocessor and G-code-driven simulation, but a kit describes one configuration of a machine type, while builders ship options, different travel ranges and their own tool change sequences. Check travel limits, pivot distances, rotary limits and the tool change position against your machine before trusting a green result.
Can NX machine simulation detect every collision before the CNC machine runs?
No. NX machine simulation detects collisions between the components it models and checks against each other, within the travel limits and tool lengths entered in the model. Clamps that were never modeled, a component pair that was never defined, a real tool longer than the NX tool, or a tool change sequence the driver does not reproduce all pass the simulation and can still hit on the machine. Use the simulation to make the first run safe, then confirm with an air cut and a test part.
How much does it cost to set up machine simulation for a CNC machine in Siemens NX?
There is no list price, because the effort depends on where the model comes from, the number of axes and channels, and how much of the machine has to be measured and checked. A Post Hub kit that fits needs a check against the machine, while a mill-turn or a machine without a kit needs a model built from the builder’s CAD and documentation. Licenses come on top: Siemens’ NX 2506 release notes list G-code-driven simulation and machine kits among the NX X Manufacturing add-ons, priced through Siemens or a reseller. At inteliScience, machine simulation is an add-on to NX postprocessor development, quoted per machine after the requirements questionnaire; a new post for one 3-axis milling machine starts at €5,000.
Next Step
Name the machine, the control and what you have today: a Post Hub kit, a library machine, a CAD model from the builder, or nothing yet. A CAM engineer tells you whether the kit is enough, what has to be checked on the machine, and what a simulation model for it involves.
Related Topics
- NX postprocessor development, with machine simulation as an add-on
- From the Manufacturing application to tool, operation and post
References
- Siemens NX Manufacturing blog, “How NX CAM simulation capabilities validate machines and processes”, 2 March 2020: https://blogs.sw.siemens.com/nx-manufacturing/how-nx-cam-simulation-capabilities-validate-machines-and-processes/ (retrieved 9 October 2026)
- Siemens PLM Software, fact sheet “NX CAM Integrated Simulation and Verification”, 2011: https://www.plm.automation.siemens.com/de_de/Images/6759_tcm73-4544.pdf (retrieved 9 October 2026)
- Siemens NX Manufacturing blog, “What’s new in NX for manufacturing (June 2506)”, 23 June 2025: https://blogs.sw.siemens.com/nx-manufacturing/whats-new-in-nx-for-manufacturing-june-2506/ (retrieved 9 October 2026)
- Siemens NX Manufacturing blog, “What’s new in NX for Manufacturing 2606 (June 2026)”, 19 June 2026: https://blogs.sw.siemens.com/nx-manufacturing/whats-new-in-nx-for-manufacturing-2606-june-2026/ (retrieved 9 October 2026)
- Siemens NX Manufacturing blog, “80,000 NX CAM postprocessor downloads: a new milestone for Post Hub”, 14 March 2023: https://blogs.sw.siemens.com/nx-manufacturing/80000-nx-cam-postprocessor-downloads-a-new-milestone-for-post-hub/ (retrieved 9 October 2026)
- Siemens NX Manufacturing blog, “Smart Machine Kit Solutions hits milestone of 100 kits on Siemens Post Hub”, 26 July 2023: https://blogs.sw.siemens.com/nx-manufacturing/smart-machine-kit-solutions-hits-milestone-of-100-kits-on-siemens-post-hub/ (retrieved 9 October 2026)
- Siemens, “Postprocessing and machining simulation”, NX CAM product page: https://www.siemens.com/en-us/products/nx-manufacturing/cam-software/postprocessing-simulation/ (retrieved 9 October 2026)
- Siemens Community, “How to simulate any G-code file in NX CAM”: https://community.sw.siemens.com/s/article/how-to-simulate-any-g-code-file-in-nx-cam (retrieved 15 September 2026)
- Siemens NX Manufacturing blog, “Siemens at IMTS 2026: Industrial AI, digitalization and the future of part manufacturing”, 22 September 2026: https://blogs.sw.siemens.com/nx-manufacturing/siemens-at-imts-2026-industrial-ai-digitalization-and-the-future-of-part-manufacturing/ (retrieved 9 October 2026)
- Siemens, Early Access Program for release 2612 (31 August to 25 September 2026): https://resources.sw.siemens.com/en-US/presentation-welcome-to-the-nx-early-access-program/ (retrieved 9 October 2026)

