Skip to content

Multiple Projects

On this page

You can open several TIA Portal instances in parallel, across TIA Portal versions V15…V21 and including several of the same version. There is no limit on how many projects you keep open. Each open instance runs its own isolated TIA Portal session, so a crash in one does not affect the others. One instance is active at a time; the Project Explorer and the rest of the workspace always reflect the active instance, and you switch the active instance from the project name at the top of the Project Explorer or from the status bar.

Switching projects from the Project Explorer header

As soon as a TIA Portal is connected or a project is open offline, the Project Explorer header shows the active project's name as a button with an up/down arrow symbol at its end. A TIA Portal that is attached without an open project appears as TIA Portal with its version, for example TIA Portal V20; a project open offline shows its name followed by Offline. Hover over the button to see the active project with its TIA Portal version; a long name that is shortened in the header appears in full there.

Click the name to open its menu, the project switcher. It lists every connected project, the active one marked with a check. Pick a different project and the Project Explorer switches to it immediately. A project whose contents are still being read is marked (loading…) in the list: you can switch to it anyway, the Project Explorer then shows a loading indicator until its tree is ready.

Below the project list, the same menu connects more projects or starts new ones:

  • Attach to Running TIA Portal
  • Open TIA Project
  • Open TIA Project (Offline)
  • New TIA Project
  • Open Multi-User Session, Upload Project to Multi-User Server and Manage Multi-User Servers (Multi-User needs the Pro plan or above, see Multi-User Session)

While a project is open offline, the menu lists that project first (checked), followed by every connected TIA Portal project. Picking one of those switches to it and closes the offline project. Below the list you find Open TIA Project (Offline) to open a different project offline, and Close Offline TIA Project.

The menu also works from the keyboard: press Tab until the project name has focus, then Enter, Space, Down Arrow or Alt+Down Arrow to open it, and Esc to close it again. The arrow at the far left of the header still folds and unfolds the view; clicking the project name never folds it.

With nothing connected and no project open offline, the header simply reads "Project Explorer" and clicking it folds the view as usual. To connect, click Connect in the empty Project Explorer.

TIA Portal settings

The menu of the project name also offers TIA Portal Settings, and so does the Command Palette. A tab opens with the settings of the connected TIA Portal version, which apply to every project: one row per setting with the columns Folder, Name, Type, Value and Note. The note tells you whether you can change the setting in Studio (Can be changed), whether it is Read-only in Studio, or why it cannot be read. One setting is marked Switched by Studio around bulk operations: Studio switches it off and on again itself during bulk operations, so it cannot be edited here; while such an operation runs, the note adds switched off right now.

Click Edit on a row that can be changed: a True/False setting offers the two values, a number is entered and checked against its range, and the language is entered as a culture name such as en-US or de-DE, and a value in another form is refused before anything is sent. A change applies to every project you open with this TIA Portal version and stays in TIA Portal after you close Studio; the message confirms the new value, or tells you that the setting already had it and nothing was written. The entry needs a connection to TIA Portal and is not offered for a project opened offline.

Switching instances from the status bar

The TIA entry at the left of the status bar (very bottom of the window) shows the active instance: the TIA Portal version and project name, the name TIA Portal gives the project, without the file extension, with a trailing count such as (3) when more than one instance is open.

Hover over the entry to see the connection details. While a TIA Portal is connected, the tooltip also lists, under Installed products:, every product installed in that TIA Portal with its version, and the options of each product indented below it.

When more than one instance is open, click that status-bar entry to open the instance switcher, a picker that lists every open instance (the active one marked with a check) plus an Open / Attach New Instance entry. Selecting an instance makes it active and reloads the Project Explorer for that instance's project.

The Project Explorer always shows the active instance's project. Tree expansion, scroll position and selection are kept per instance. Switching back to a previously-active instance restores the tree exactly as you left it.

Opening another instance

The most direct way is the project name at the top of the Project Explorer: click it and choose Attach to Running TIA Portal or Open TIA Project.

Alternatively, open another instance the same way you make the first connection: run Connect, then choose Attach to Running Instance or Open TIA Project. You can also click the Open / Attach New Instance entry in the status-bar instance switcher. All paths lead to the same choice:

Choice Action
Open TIA Project File picker for an .ap15 … .ap21 project file. Opens a new TIA Portal session for that version.
Attach to Running TIA Portal (in Connect: Attach to Running Instance) Lists every running TIA Portal instance with an open project; pick one to attach without spawning a second TIA Portal. A TIA Portal Studio already works with is marked Already open in Studio or Connected in this window.

Switching projects

Pick a different project from the menu of the project name at the top of the Project Explorer, or from the status-bar switcher, to change the active project. The Project Explorer swaps to the new project's PLCs and blocks, and views that follow the connected project reload for the newly active instance. While the new project's tree is being read, the Project Explorer shows a loading indicator. PLCSim, the Password Vault and other application-wide surfaces stay unchanged across the switch.

The Agents window has its own connection: switching there changes only the Agents window, and switching here changes only the main window. Both windows can use the same project; they then share one TIA Portal. See Agents Window for its connect buttons.

Closing and saving an instance

Command Action
Disconnect Closes only the active instance. The other open instances stay active. When the Agents window uses the same project, Disconnect leaves the project open for the Agents window and does not ask whether to save.
Save Project Saves the active instance's project (atomic, same behaviour as TIA Portal's Save action).

Run these from the Command Palette (Ctrl+Shift+P); Save Project is also a button in the Project Explorer view title.

Same-version multi-instance

You can open and attach to several TIA Portal projects of the same major version in parallel, each in its own isolated TIA Portal session. There is no limit on the total number of open instances.

Studio never starts a second session for a project or a TIA Portal it already works with:

  • If the selected project file is already open, for example in the other window, Studio switches to that project instead of opening it again.
  • If you pick a TIA Portal from the Attach list that Studio already works with, including one started by opening a project from file, Studio switches to it instead of attaching a second time.
  • While the same project or TIA Portal is still being opened or attached, Connect reports that it is already being opened. Wait until it is connected, then switch to it.

A closed or crashed TIA Portal

If the TIA Portal behind an open instance is closed or ends unexpectedly (window closed, crash, process kill, out-of-memory), Studio notices right away: the instance disappears and a notification names the disconnected project. Every window that worked with it shows that no project is connected; Studio does not move a window to another project on its own. Other open instances keep running normally, only the affected session is gone; pick one of them from the project switcher to continue. Run Connect to reconnect at any time.

The notification carries a Reconnect button that opens the same connect choices, so you do not have to look for the command first. If TIA Portal goes away while Studio is reading or writing, the message says what was interrupted, down to the screen it was working on. A screen that could not be loaded because the connection went away says so in the editor and offers Reconnect as well.