Resolving SIMIT PLCSIM Coupling Error with TIA Portal V15

David Krause11 min read
SiemensTIA PortalTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Resolving SIMIT PLCSIM Coupling Error with TIA Portal V15

Problem Description

Engineers integrating Siemens SIMIT with TIA Portal V15 for virtual commissioning frequently encounter the following error when attempting to connect to S7-PLCSIM or PLCSIM Advanced from the SIMIT PLCSIM Coupling component:

Simulation cannot be open. The PLCSIM program is not running. Please start PLCSIM first and then start the simulation.

The error is reported by the SIMIT runtime when the PLCSIM Coupling (or PLCSIM Advanced Coupling) component cannot establish a session with a running PLCSIM instance, even when:

  1. A PLCSIM Coupling has been added to the SIMIT chart.
  2. S7-PLCSIM V15 (or PLCSIM Advanced) has been launched first.
  3. SIMIT is started after the PLCSIM window is visible.

This issue is most common in projects that target an S7-1500 CPU, simulate a robot cell using ABB RobotStudio, and rely on SIMIT for the process/PLC-in-the-loop emulation. The root cause is almost always a product selection or coupling-type mismatch, not a defective installation.

Important: S7-PLCSIM (the classic version included with TIA Portal) does not support S7-1500 CPUs. Any project that contains an S7-1500, S7-1500 Software Controller, ET 200SP CPU, or ET 200pro CPU requires PLCSIM Advanced. Attempting to use a classic PLCSIM Coupling in SIMIT with an S7-1500 project will always fail with the error described above.

Product Architecture

Understanding the three components in the stack is required to diagnose the failure correctly.

Component Product Article Number Role
PLC Engineering TIA Portal V15 / V15.1 6ES7822-1AA05-0YA5 (STEP 7 Professional) PLC and HMI configuration, programming
Classic Simulation S7-PLCSIM V15 / V15.1 6ES7841-0CC05-0YA5 Simulates S7-300, S7-400, ET 200S, WinAC
Advanced Simulation PLCSIM Advanced V2.0 (V15) / V3.0 (V16) / V4.0 (V17) / V5.0 (V18) / V6.0 (V19) 6ES7822-1AA05-0YA5 (bundle) or 6ES7852-0AC05-0YA5 Simulates S7-1500, ET 200SP, ET 200pro with virtual Ethernet
Process Simulation SIMIT V10.0 / V10.1 / V10.2 (TIA V15) — SIMIT V11.0+ (TIA V17+) 6DL8910-0AA00-0AB0 (SIMIT SP) Process and signal-level emulation; couples to PLCSIM
Robot Simulation ABB RobotStudio 2019.x / 2020.x / 2021.x / 2022.x — Robot cell virtual commissioning, paired with SIMIT

SIMIT acts as the orchestrator. It reads/writes tags from PLCSIM using a coupling component and exposes the same tags to RobotStudio, OPC UA clients, or a PROFINET device.

Compatibility Matrix

TIA Portal S7-PLCSIM PLCSIM Advanced SIMIT RobotStudio (tested)
V15.0 V15.0 V2.0 (SP1+) V10.0, V10.1 6.07, 2019.x
V15.1 V15.1 V2.0 SP1, V2.1 V10.1, V10.2 6.08, 2020.x
V16 V16 V3.0 V10.2, V10.3 2021.x
V17 V17 V4.0 V11.0 2022.x
V18 V18 V5.0 V2023 2023.x

Reference: SIMIT V10.0 and STEP 7 (TIA Portal) Getting Started on Siemens SiePortal.

Root Cause Analysis

The error "The PLCSIM program is not running" is reported when the SIMIT coupling cannot locate a registered PLCSIM runtime. The five most common underlying causes, ordered by frequency in field reports, are:

  1. PLCSIM version mismatch. The TIA project contains an S7-1500 but the user has only S7-PLCSIM (classic) installed. The classic instance cannot be detected by SIMIT, so the coupling reports the program is not running.
  2. Wrong SIMIT coupling type. The user added a classic "PLCSIM Coupling" instead of a "PLCSIM Advanced Coupling" in the SIMIT chart. Classic PLCSIM uses a Windows process handle; PLCSIM Advanced uses the PLCSIM Advanced API on TCP port 102 (S7) plus the PLCSIM Advanced service bus.
  3. PLCSIM Advanced service not running. The "PLCSIM Advanced" Windows service (display name: PLCSIM Advanced Virtual Ethernet Service) is required for PLCSIM Advanced to publish its instances. If disabled, the instance starts locally but is invisible to SIMIT.
  4. Instance name not matching. The instance name entered in PLCSIM Advanced (e.g., "S71500_1") must match exactly the instance name declared in the SIMIT coupling configuration. Mismatches are case-sensitive.
  5. Download order reversed. TIA Portal must download the project to the running PLCSIM Advanced instance before SIMIT can connect. Starting SIMIT against a PLCSIM Advanced instance that has no project loaded still reports the program as not running.

Diagnostic Procedure

Run the following checks before changing configuration. Each takes less than 30 seconds and isolates the failure domain.

  1. Identify the CPU family. In TIA Portal, open Project tree → Devices → [CPU] and read the catalog name. If the catalog begins with "6ES7 5xx-\*" (S7-1500 family), PLCSIM Advanced is mandatory.
  2. Confirm installed simulation product. Open Control Panel → Programs → Programs and Features. Look for either "S7-PLCSIM V15" (classic) or "PLCSIM Advanced" (advanced). Both may be installed simultaneously without conflict.
  3. Check the PLCSIM Advanced service. Run services.msc and locate the service. It must show status "Running" and startup type "Automatic".
  4. Validate the virtual Ethernet adapter. In Device Manager → Network adapters, look for "Siemens PLCSIM Advanced Virtual Ethernet Adapter". If it is missing, the PLCSIM Advanced installation is incomplete.
  5. Test PLCSIM Advanced in isolation. Start PLCSIM Advanced, create an instance named "TEST", start the instance, then download a minimal TIA project to it. If this works, the SIMIT issue is a coupling misconfiguration rather than a PLCSIM Advanced defect.

Resolution: Step-by-Step

Prerequisites

  • Windows 10 64-bit (1809+) or Windows 11 64-bit.
  • Administrator rights on the engineering workstation.
  • TIA Portal V15 (or later) with STEP 7 Professional installed.
  • PLCSIM Advanced V2.0 or later installed and licensed.
  • SIMIT V10.0 or later installed and licensed.
  • ABB RobotStudio (any recent version).

Step 1 — Install or Verify PLCSIM Advanced

  1. Download PLCSIM Advanced from the Siemens SiePortal (search for "PLCSIM Advanced V2.0").
  2. Run the installer as administrator.
  3. Select the option to install the virtual Ethernet adapter; allow the driver installation prompt.
  4. Reboot the workstation when prompted.
  5. Activate the license via the Automation License Manager.

Step 2 — Configure the PLCSIM Advanced Service

  1. Open Windows Start → Administrative Tools → Computer Management → Services and Applications → Services.
  2. Locate PLCSIM Advanced.
  3. Right-click → Properties → set Startup type to Automatic.
  4. Click Start if the service is not running.
  5. Click OK and leave the service running.

Step 3 — Start the PLCSIM Advanced Instance

  1. Launch PLCSIM Advanced from the Windows Start menu.
  2. In the Instance field, type a unique name (e.g., S71500_SIMIT). Do not include spaces or special characters.
  3. Set the Path of project files to a writable folder (e.g., C:\SIMIT\PLCSIM_Advanced\S71500_SIMIT).
  4. Leave Local checked for single-workstation use.
  5. Click Start. The status column should change to Running.

Step 4 — Download the TIA Project to the Instance

  1. In TIA Portal V15, open your project.
  2. Select the S7-1500 CPU in the project tree.
  3. Go to Online → Extended download to device.
  4. In the Target device dropdown, select PLCSIM Advanced.
  5. In the Instance field, enter the exact instance name from Step 3 (S71500_SIMIT).
  6. Click Search. TIA should find the instance.
  7. Select the instance and click Load.
  8. Confirm the dialogs. The CPU in PLCSIM Advanced should switch to RUN or STOP (depending on the project configuration).

Step 5 — Add the Correct SIMIT Coupling

  1. Open the SIMIT project.
  2. Open the chart editor.
  3. Delete any existing PLCSIM Coupling components.
  4. Drag a PLCSIM Advanced Coupling from the component catalog into the chart.
  5. Double-click the coupling to open its configuration.
  6. Enter the same instance name (S71500_SIMIT) used in Step 3.
  7. Configure the IP address: 127.0.0.1 for local-only coupling, or the virtual Ethernet adapter's IP if coupling with a remote PLCSIM Advanced.
  8. Set the rack/slot to match the CPU configuration in TIA Portal (default rack 0, slot 1 for S7-1500).
  9. Map the required tags (DBs, M, I, Q) between SIMIT and PLCSIM.
  10. Save the SIMIT project.

Step 6 — Verify the Connection

  1. Confirm PLCSIM Advanced shows the instance as Running and the TIA project loaded.
  2. In SIMIT, click Start simulation.
  3. Open the coupling's status dialog. It should display Connected.
  4. Force a tag value in PLCSIM Advanced and observe the corresponding SIMIT tag change.
  5. If Connected is displayed, the error is resolved.

Configuring SIMIT for ABB RobotStudio

After the PLCSIM Advanced coupling is verified, connect SIMIT to RobotStudio using one of the following methods.

Method SIMIT Component RobotStudio Side Use Case
OPC UA OPC UA Server Coupling OPC UA Client add-in Recommended; simple to configure
TCP/UDP TCP/UDP Coupling Socket I/O add-in Custom protocol, low latency
PROFINET PN Coupling (requires SIMIT PN) PROFINET device / IO device Full PROFINET integration

For the typical RobotStudio / SIMIT handshake (handshake bits, gripper commands, conveyor encoder):

  1. Define tags in SIMIT that mirror the PLC DBs involved in the cell handshake (e.g., DB100.DBX0.0 = "Cell_Ready", DB100.DBX0.1 = "Cycle_Start").
  2. Expose these tags via the SIMIT OPC UA server (endpoint: opc.tcp://<SIMIT_PC>:48000 by default).
  3. In RobotStudio, add an OPC UA Client add-in (or a custom RAPID module using the PC SDK) and subscribe to the same tags.
  4. Map RobotStudio I/O signals to the OPC UA tags using the I/O Configuration panel.
  5. Start the RobotStudio virtual controller in Virtual mode.

Advanced Configuration

Remote PLCSIM Advanced

To run PLCSIM Advanced on a different PC and couple SIMIT to it:

  1. On the PLCSIM Advanced PC, allow inbound TCP port 102 and the PLCSIM Advanced service port (default 49152-65535) in Windows Firewall.
  2. Start the instance with the virtual Ethernet adapter assigned to the workstation's subnet.
  3. On the SIMIT PC, configure the PLCSIM Advanced Coupling with the remote instance's IP address.
  4. Ensure both PCs are on the same subnet or have a route between them.

Multiple Instances

PLCSIM Advanced V2.0+ supports multiple instances on the same workstation. Each instance must:

  • Have a unique name.
  • Use a unique virtual Ethernet IP.
  • Be assigned to a unique SIMIT coupling.

The total number of concurrent instances is limited by the PLCSIM Advanced license (counted as "PLCSIM Advanced Instances" in the Automation License Manager).

Performance Tuning

Parameter Default Recommended for TIA V15 Effect
SIMIT cycle time 100 ms 50-100 ms Lower = faster response, higher CPU
PLCSIM Advanced scan 10 ms 10-20 ms Matches SIMIT cycle for stable handshake
Tag count per coupling — < 2 000 Avoids coupling timeout
OPC UA publish interval 100 ms 50 ms Smoother RobotStudio handshake

Error Code Reference

SIMIT Error Message Hex / Code Root Cause Fix
The PLCSIM program is not running. Please start PLCSIM first and then start the simulation. 0x80070005 (access) or 0x80000001 (coupling) PLCSIM instance not detected Verify PLCSIM Advanced is running and instance name matches
Coupling could not be established 0x80004005 Wrong coupling type or TCP blocked Use PLCSIM Advanced Coupling; allow port 102
Instance not found 0x80000002 Instance name typo Compare instance name with PLCSIM Advanced window
Service not available 0x80070422 PLCSIM Advanced service stopped Start service in services.msc
License not found 0x800710E0 PLCSIM Advanced license missing Activate license in ALM

Service and Network Verification

Use the following commands in an elevated Command Prompt to verify the runtime environment:

REM Check PLCSIM Advanced service
sc query "PLCSIM Advanced"

REM Verify virtual Ethernet adapter
ipconfig | findstr "Siemens"

REM Test PLCSIM Advanced TCP port (local)
powershell Test-NetConnection -ComputerName 127.0.0.1 -Port 102

REM Check PLCSIM Advanced API process
tasklist | findstr "PLCSIMAdvanced"

REM Verify Automation License Manager
almserver -status

All four checks should return positive results. If the port test fails, the firewall is the most likely cause.

Field-Proven Caveats

License timing. PLCSIM Advanced licenses are stored against the host ID. When moving to a new workstation, deactivate the license before the transfer. A "ghost" instance can remain registered in the Automation License Manager and block new instances from starting.
Virtual adapter conflict. Some VPN clients (Cisco AnyConnect, GlobalProtect) reserve the 192.168.x.x range used by PLCSIM Advanced's default virtual subnet. Change the PLCSIM Advanced virtual IP to a non-overlapping range (e.g., 10.10.10.1/24) if VPN connectivity is required simultaneously.
Windows 11 24H2. Microsoft tightened driver signing in 24H2; the Siemens PLCSIM Advanced Virtual Ethernet Adapter may fail to install without enabling Test Mode temporarily. This is not required on 22H2 or Windows 10.
RobotStudio path length. ABB RobotStudio occasionally fails to load projects with deep folder nesting. Keep the SIMIT project path under 80 characters total to avoid loading errors that mimic coupling failures.

Verification Checklist

  1. PLCSIM Advanced service is Running.
  2. PLCSIM Advanced instance is Running with the correct name.
  3. TIA project downloaded successfully to the instance.
  4. SIMIT coupling is the PLCSIM Advanced Coupling (not classic).
  5. Instance name in the coupling matches the PLCSIM Advanced instance exactly.
  6. SIMIT simulation status shows Connected.
  7. Tag values update in both directions (PLCSIM ↔ SIMIT).
  8. RobotStudio OPC UA subscription receives expected updates.
  9. RobotStudio cycle start/stop commands are visible in the TIA program.
  10. No error messages in the SIMIT log viewer.

References to Official Documentation

For deeper details, consult:

Frequently Asked Questions

What is the difference between S7-PLCSIM and PLCSIM Advanced?

S7-PLCSIM (classic) simulates only S7-300, S7-400, ET 200S, and WinAC. PLCSIM Advanced simulates S7-1500, ET 200SP, ET 200pro, and S7-1500 Software Controller, and exposes a TCP/IP API plus a virtual Ethernet adapter for instance-level control. Any S7-1500 project requires PLCSIM Advanced.

Can PLCSIM Advanced simulate an S7-300 or S7-400?

Yes. PLCSIM Advanced supports S7-300/400 in addition to S7-1500, but you must still add a PLCSIM Advanced Coupling in SIMIT (not the classic PLCSIM Coupling) because the runtime architecture is different.

Which SIMIT version is required for TIA Portal V15?

SIMIT V10.0, V10.1, or V10.2 are compatible with TIA Portal V15. For TIA V17 use SIMIT V11, and for TIA V18 use SIMIT V2023. Mixing versions across major TIA releases is not supported.

How can I confirm PLCSIM Advanced is running correctly?

Open the PLCSIM Advanced main window. The instance row should show status Running with a green indicator. Additionally run sc query "PLCSIM Advanced" in an elevated command prompt; the STATE field must read RUNNING.

Does ABB RobotStudio need a paid add-in to talk to SIMIT?

No. SIMIT can publish tags via its built-in OPC UA server (default endpoint opc.tcp://<host>:48000). RobotStudio subscribes to these tags using a free OPC UA Client add-in or a custom PC SDK module, so no additional ABB license is required for the SIMIT handshake.

Why does the same error appear even with PLCSIM Advanced installed?

Most often the SIMIT chart still contains a classic PLCSIM Coupling instead of a PLCSIM Advanced Coupling. Delete the old coupling, drag a PLCSIM Advanced Coupling from the catalog, and re-enter the exact instance name used in PLCSIM Advanced.

Back to blog