Problem Overview
SIMIT (Siemens Mechatronics Simulator) users attempting to import a TIA Portal project frequently encounter the following error dialog when selecting a project in the SIMIT project tree or running the PLCSIM coupler wizard:
The TIA project is possibly opened in a TIA instance, the project contains errors in TIA or some addon packages in TIA are missing.
The dialog is generated by the SIMIT-TIA coupling component (the SIMIT_COUPLER add-in used by the PLCSIM, S7-PLCSIM, NX-MCD, and TIA Openness bridge). It is a generic message that maps to one of three distinct root causes. Because the text does not indicate which branch fired, the technician has to test each path in order. The message has been reported on the following confirmed combinations:
| SIMIT Version | TIA Portal Version | Observed Status |
|---|---|---|
| SIMIT V10.2 (DEMO) | TIA Portal V16 | Error reproduced |
| SIMIT V11.1 | TIA Portal V16 | Resolved by Openness grant |
| SIMIT V10.1 / 10.0 | TIA Portal V15.1 / V16 | Intermittent depending on hotfix level |
| SIMIT V9.0 | TIA Portal V15 | Addon package required |
The message text is a logical OR of three failure conditions. The coupling checks them in sequence and stops at the first one that matches, so the same dialog can be triggered by any of the three.
Root Cause Analysis
The SIMIT-TIA import path is built on top of the Siemens TIA Openness automation interface. Before the SIMIT coupler can read tags, blocks, and the project tree from a TIA project, the following three preconditions must all be true:
- The TIA Portal instance is reachable through Openness. The TIA Openness API requires that no other TIA process owns the project exclusively, OR that the project is actively held open in the same Windows user session so the openness handshake can succeed.
- The TIA project compiles without errors. SIMIT reads the compiled S7 blocks via Openness; unresolved references, type mismatches, or missing library references abort the read.
- The required TIA optional packages are installed. The minimum set is the TIA Openness package plus any support package that matches the device families in the project (e.g. S7-1500, S7-1200, PLCSIM, HMI panels).
When any single condition fails, SIMIT displays the composite message rather than a per-cause error. The diagnostic flow below isolates which condition applies to a specific installation.
Diagnostic Flow
Cause 1 - TIA Portal Holds the Project Exclusively
SIMIT talks to TIA Portal through the Openness API. If TIA Portal is open and the project is loaded in the project tree on the same Windows user session, Openness can negotiate access. If TIA Portal is open on a different Windows user session, or if a previous TIA Portal process crashed without releasing the project lock file (*.lock in ...\[ProjectName]\System\), the Openness handshake fails and SIMIT reports the project as "possibly opened in a TIA instance." Confirm this branch with:
dir "%USERPROFILE%\AppData\Local\Temp\*.lock" /s
Any orphaned .lock file from a killed TIA process causes the same symptom. Delete the lock file only after verifying that no TIA Portal instance is running.
Cause 2 - TIA Project Contains Compilation Errors
The Openness API only exposes compiled blocks. If the project tree shows red icons, SIMIT aborts the import. Open the project in TIA Portal, run Compile > Software (rebuild all), and resolve every entry in the Inspector > Info > Compile tab before re-attempting the SIMIT import. Common error classes that block Openness even when the PLC is otherwise usable:
- Missing PLC hardware (device proxy not installed)
- Unresolved library master copies after a TIA upgrade
- Type conflicts between global DBs and instance DBs
- HMI tags pointing to deleted PLC tags
Cause 3 - Missing TIA Addon Packages
The SIMIT installer registers its TIA addin under Siemens\Automation\Portal Vxx\AddIns, but several required support packages are not part of the SIMIT media and must be installed separately. The minimum set for SIMIT V10 and V11 is:
| Package | Source Media | Mandatory |
|---|---|---|
| TIA Portal Openness V16 (or matching V-version) | TIA Portal installation DVD / TIA Administrator | Yes |
| SIMATIC S7-PLCSIM V16 | TIA Portal installation DVD | Yes for PLCSIM coupling |
| SIMIT TIA Coupler AddIn | SIMIT installation media | Yes |
| Support packages for the device families used (e.g. S7-1500 HSP) | Siemens Online Support | If project uses the device |
Step-by-Step Resolution
- Confirm both programs are from the same Windows user session. Run TIA Portal and SIMIT from the same login. Openness uses DCOM and does not cross session boundaries on Windows by default.
- Open the TIA Portal project first. Launch TIA Portal V16, open the project, and let the project tree finish loading. Do not close TIA Portal during the SIMIT import.
- Compile the project cleanly. Right-click the PLC station > Compile > Software (rebuild all). The status bar must show Compilation finished without errors.
-
Verify TIA Openness is installed. In TIA Portal: Help > Installed software. Confirm a line beginning with
SIMATIC TIA Portal Opennessexists for the matching V-version. -
Verify the SIMIT TIA Coupler addin is registered. Check the folder
%ProgramFiles%\Siemens\Automation\Portal V16\AddIns\SIMIT. The DLLSIMIT.TIA.AddIn.dllmust be present. - Install the matching TIA Openness package. If the line is missing, insert the TIA Portal DVD, run the setup, and select SIMATIC TIA Portal Openness. Restart the PC after installation.
- Install any required support packages. In TIA Portal: Options > Support packages > Install support packages. Add the latest HSP for every PLC family referenced in the project.
- Launch SIMIT and import the project. In SIMIT, drag the TIA Portal Coupler from the catalog to the project tree, or use the menu Project > Import TIA Portal project. TIA Portal will display an Openness access prompt; click Allow within the default 30-second timeout.
- Re-attempt the import. The error dialog should not appear. SIMIT lists the imported tags and blocks in the coupling editor.
Version Compatibility Matrix
Openness is version-locked. SIMIT and TIA Portal must be on a Siemens-released combination, or the Openness handshake fails silently and surfaces as the same error dialog. The combinations validated in the field are:
| SIMIT Release | Compatible TIA Portal | TIA Openness Build | PLCSIM Coupler |
|---|---|---|---|
| SIMIT V9.0 | V14 SP1 / V15 | V14/V15 Openness | PLCSIM V14 / V15 |
| SIMIT V10.0 | V15.1 | V15.1 Openness | PLCSIM V15.1 |
| SIMIT V10.1 | V15.1 / V16 | V15.1 or V16 Openness | PLCSIM V16 |
| SIMIT V10.2 (DEMO and full) | V16 | V16 Openness | PLCSIM V16 |
| SIMIT V11.0 / V11.1 | V16 / V17 | V16 or V17 Openness | PLCSIM V16 / V17 |
The DEMO mode of SIMIT V10.2 enforces the same coupling path as the full license, so the error appears in DEMO mode whenever any of the three causes are present.
Verification Procedure
After applying the resolution, verify that the import path is healthy using these checks:
- Openness prompt is shown only once per session. The first import of a project causes TIA Portal to display the access prompt. Subsequent imports in the same session do not.
- SIMIT coupling editor lists tags. In SIMIT, double-click the imported TIA coupler. The Signals tab must show every PLC tag referenced by the project. Empty lists indicate that the import still failed silently.
- PLCSIM instance starts. If you used the PLCSIM coupler, the PLCSIM instance must start and the connection state in the SIMIT status bar must show Connected in green within 10 seconds.
- Round-trip a tag. Force a Boolean tag in the TIA project, recompile, and read it through a SIMIT signal. A value change within 200 ms confirms the Openness tag subscription is live.
- Restart the PC. Restart Windows and re-run the import cold. If the error returns, an Openness DCOM permission is missing on the Windows user account.
DCOM and Windows Account Hardening
TIA Openness uses DCOM and WMI to communicate with TIA Portal. On hardened Windows installations, the Openness call returns E_ACCESSDENIED and SIMIT displays the same error message. Configure the following on the Windows account that runs SIMIT and TIA Portal:
- Member of the local group
DCOM UsersorDistributed COM Users. - Launch and Activation Permissions for the TIA Portal COM application (run
dcomcnfg, navigate to Component Services > Computers > My Computer > DCOM Config > Siemens TIA Portal, and grant the account Local Launch and Local Activation rights). - Access Permissions must include the account with Allow for Local Access and Remote Access.
- Windows Firewall rule allowing inbound TCP 135 (DCOM endpoint mapper) and the dynamic range 49152-65535 for the local subnet.
After applying DCOM changes, restart the COM+ Event System and the DCOM Server Process Launcher services, then re-run the import.
Cleanup of Orphan Locks
When TIA Portal crashes, the project lock file *.lock is left in the project folder. The next Openness call returns project already in use. To clean the lock safely:
tasklist | findstr "Portal.exe"
taskkill /f /im Portal.exe
del /s /q "%USERPROFILE%\Documents\Automation\<Project>\*.lock"
Only run the del command after confirming that no TIA Portal process is active. The lock file is recreated automatically by TIA Portal the next time the project is opened.
Field-Proven Workarounds
| Symptom | Likely Cause | Workaround |
|---|---|---|
| Error on a brand new project, no compilation | Openness package missing | Install TIA Openness matching the TIA V-version |
| Error on a project that imports fine on a different PC | Missing support package or DCOM rights on the new PC | Install support packages, grant DCOM rights |
| Error immediately after TIA Portal crash | Orphan .lock file |
Kill any Portal.exe, delete the .lock file |
| Error appears in SIMIT DEMO only | Coupling not licensed in DEMO mode | Switch to full SIMIT license or use a SIMIT-provided demo project |
| Error appears intermittently | Antivirus locking the project file | Add the TIA project folder and the SIMIT install folder to the AV exclusion list |
Preventive Configuration
- Always run SIMIT and TIA Portal as the same Windows user, in the same session.
- Keep the SIMIT version and the TIA Portal version on a Siemens-released compatibility pair. Mixing SIMIT V10 with TIA V17, for example, breaks Openness even though both products install cleanly.
- Apply Siemens hotfixes to both products on the same maintenance window. Hotfix KB entries that touch Openness are referenced in the SIMIT release notes.
- Disable Windows fast startup when commissioning, as fast startup has been observed to leave stale DCOM bindings that break the Openness handshake on the first cold boot.
FAQ
Why does SIMIT say my TIA project is open in another instance when no TIA Portal window is visible?
An orphaned .lock file from a previous TIA Portal crash, or a TIA Portal running in a different Windows user session, both trigger the message. Confirm with tasklist | findstr Portal.exe on every session and remove any *.lock file in the project folder.
Does keeping the TIA project open in TIA Portal during the SIMIT import actually fix the error?
Yes. When the project is open in the same Windows session, the TIA Openness handshake succeeds and TIA Portal displays a one-time access prompt. Granting the prompt establishes the Openness session that SIMIT uses to read the project.
Which TIA addons are mandatory for SIMIT to import a TIA Portal V16 project?
Install the TIA Portal V16 Openness package, the matching S7-PLCSIM V16 if you use the PLCSIM coupler, and the latest hardware support packages for every PLC family in the project. The SIMIT TIA Coupler addin is installed automatically with SIMIT.
Can SIMIT V10.2 DEMO import a TIA Portal V16 project?
Yes, as long as TIA Openness V16 is installed and the project compiles cleanly. DEMO mode does not bypass the Openness requirement; it only limits the runtime and the number of signals.
How do I verify that the TIA Openness handshake is live after the import?
Force a Boolean tag in the TIA project, recompile, and read it through a SIMIT signal. A value change within 200 ms confirms that the Openness tag subscription is active and the error is fully resolved.