MCDKnowledge

Community Knowledge > Virtual Commissioning

Virtual Commissioning Pitfalls and Gotchas (Practitioner Reports)

Official Siemens documentation covers the "happy path" setup for virtual commissioning with NX MCD, S7-PLCSIM Advanced, TIA Portal, and SIMIT. Practitioner forums and third-party writeups surface a different set of problems: data type mismatches, communication bottlenecks, and simulation-vs-reality gaps that official guides rarely dwell on.

Data type conversion problems (OPC UA signal mapping)

A recurring practitioner report on connecting NX MCD to TIA Portal / PLCSIM Advanced via OPC UA: Boolean signals map and behave correctly, but double-type signals get forced/truncated to int when NX MCD reads them from the OPC UA server. This is a real problem for anything relying on floating-point values coming back from the PLC — for example continuous position or analog sensor values — because they silently lose precision when treated as integers.

Source: forum discussion aggregated via web search of support.industry.siemens.com forum thread "OPC UA with NX MCD, Tia Portal and PLC SIM advanced" (thread ID 308522).

Related complaint from the same discussion space: users attempting to connect NX v12 with TIA Portal v15 for virtual commissioning without SIMIT (i.e., a direct OPC UA/PLCSIM Advanced coupling, skipping SIMIT as the middle layer) reported that Siemens' own documentation did not provide adequate guidance for that specific topology, forcing them to reverse-engineer the setup from partial examples.

OPC UA sampling-interval bottleneck causes visible motion artifacts

A peer-reviewed hybrid virtual-commissioning study (robotic manipulator + machine vision, single S7-1500TF controller, TIA Portal 15.1, NX MCD) hit a concrete timing pitfall: the initial PLC-side OPC UA server had a 100 ms minimum sampling interval, which was too coarse for the motion being simulated. The visible symptom was "looping" artifacts in the simulated tool trajectory — i.e., the digital twin's motion did not match the real/expected path, showing step-like discontinuities.

The fix: switch to an OPC UA .NET server with a 20 ms cycle time. After the change, tool traces in NX MCD matched the traces recorded in TIA Portal. The authors' explicit conclusion: "communication speed was not sufficient" at the default sampling rate for fast robotic motion — a concrete, quantified example of the generic advice "increase your OPC sampling rate" that shows what actually breaks and by how much.

Source: "Hybrid Virtual Commissioning of a Robotic Manipulator with Machine Vision Using a Single Controller," MDPI Sensors 2022, https://pmc.ncbi.nlm.nih.gov/articles/PMC8874962/ (open access via PubMed Central).

Real-time simulation has a speed ceiling

The same study found that real-time simulation at the robot's full operating speed was not computationally feasible — fast dynamics outran the available compute power for synchronized PLC + physics + vision simulation. Practical implication: if a mechanism in your MCD model moves fast (high-speed pick-and-place, high-RPM spindles, etc.), expect to either scale down simulation time-factor, simplify the physics model, or accept a mismatch between simulated and real cycle time during development — don't assume 1:1 real-time co-simulation "just works" at production speeds.

PLCSIM Advanced setup gotchas (general, apply directly to MCD co-simulation workflows)

From a practitioner tutorial on S7-PLCSIM Advanced (not MCD-specific, but directly applicable since MCD virtual commissioning workflows depend on PLCSIM Advanced under the hood):

  • API DLL version must match the installed PLCSIM Advanced version, and bitness (x64 vs x86) must be consistent across the application, the DLL, and the Runtime Manager. Mismatches are a common silent-failure source.
  • User session context matters: the Runtime Manager and the connecting application must run under the same Windows user context. Mixing an administrator-elevated process with a standard-user Runtime Manager instance means they won't see each other — a classic "why can't my tool find the virtual PLC" support question that isn't actually about MCD or PLCSIM configuration at all.
  • Simulation success is not a hardware guarantee. Passing all tests against a simulated PLC (via PLCSIM Advanced) provides no guarantee of flawless behavior against real hardware — some timing behaviors and hardware-specific features are simplified in simulation.
  • Recommended sequencing: start with Softbus (PLCSIM) mode for isolated development before moving to TCP/IP networked mode; increase virtual time-scaling factors gradually (don't jump straight to 100x) and watch for cycle-time warnings or motion-control overruns; explicitly set virtual time at scenario start for reproducible tests.

Source: https://antomatix.com/s7-plcsim-advanced-only-tutorial-you-need/ ("S7-PLCSIM Advanced only tutorial you need," Antomatix — portal for control engineers).

SIMIT coupling errors with subassembly physics

A Siemens community question titled "Coupling error, SIMIT with NX MCD, when physics are assigned in subassemblies" indicates that assigning physics behaviors (rigid bodies, joints, sensors) inside subassemblies rather than at the top-level assembly is a known trigger for SIMIT coupling errors in real projects. The full resolution thread was not accessible (Siemens community login/JS wall), but the existence and phrasing of the question itself is a useful signal: flatten physics assignment to the top assembly level, or be prepared to troubleshoot coupling errors, when working with subassembly-scoped physics in a SIMIT-coupled model.

Source: https://community.sw.siemens.com/s/question/0D54O00006pUy0OSAS/coupling-error-simit-with-nx-mcd-when-physics-are-assigned-in-subassemblies (page content itself was inaccessible at fetch time; topic captured from search index metadata).

Source: https://support.industry.siemens.com/forum/WW/en/posts/opc-ua-with-nx-mcd-tia-portal-and-plc-sim-advanced/308522 · retrieved 2026-07-08