How-to
Simulate two HMI panels in WinCC Advanced V13 SP2
Short answer
TIA Portal V13 SP2 with WinCC Advanced starts only one simulated panel at a time. To run two, copy an HmiRTm.ini into the WinCCRT Adv folder, set OnlyOneInstance to false, point LoadConfigFile at each compiled .fwc file, and start HMIRTM.exe once per panel.
On this page
The integrated TIA Portal V13 SP2 simulation command starts the PLC simulation and one HMI simulation, nothing more. To run a second panel on the same station, copy an HmiRTm.ini file into the WinCCRT Adv folder, set OnlyOneInstance to false, point LoadConfigFile at each compiled .fwc file in turn, and start HMIRTM.exe once per panel. This works with WinCC Advanced V13 SP2 on one PC and needs no second virtual machine.
Why the normal simulation path stops at one panel #
In TIA Portal, the WinCC Basic, Comfort and Advanced simulation workflow permits one simulated Runtime or panel at a time. A Runtime instance here means one running HMI process loaded with one compiled project. Pressing the simulation command again will not give you an independent second panel, so the workaround changes the launch path rather than the projects.
Three approaches exist, and the table shows when each applies:
| Method | Result | What it needs |
|---|---|---|
| TIA Portal simulation command | PLC plus one HMI Runtime | TIA Portal V13 SP2 with WinCC Advanced V13 SP2 |
| Direct HMIRTM.exe launch | Two HMI Runtime processes on one PC | A manually prepared HmiRTm.ini and two compiled .fwc files |
| Separate virtual machines | One panel per VM | A real PLC or PLCSIM Advanced shared by both VMs |
Use the direct-launch method only when you actually need two simultaneous panel views. A single-panel project should stay on the normal command, because it handles the PLC simulation startup for you. If you are still deciding how the simulation fits the station setup, the article on whether a Modbus HMI project needs SCADA software covers the one-runtime-versus-multi-runtime question from the sizing side.
Prepare the runtime folder and both projects #
The proven setup takes an HmiRTm.ini file that already exists in a WinCC flexible installation and copies it into the WinCCRT Adv directory, the folder that contains the Advanced Runtime launcher. Keep the original WinCC flexible file intact so that installation keeps working.
- Compile both HMI devices in TIA Portal and note the generated .fwc file for each project. The Runtime loads the compiled .fwc artifact, not the TIA project file, so do not substitute one for the other.
- Locate HMIRTM.exe in the WinCCRT Adv folder.
- Copy HmiRTm.ini from the WinCC flexible installation into that same folder.
- Keep a backup copy of the INI file before you edit its entries.
Before going further, confirm two things: the WinCCRT Adv folder now contains both HMIRTM.exe and the copied HmiRTm.ini, and you have two distinct, loadable .fwc files.
Set the multiple-instance entries #
OnlyOneInstance controls whether the launcher rejects a second Runtime process. LoadConfigFile names the compiled project that the next launch loads. Both entries live in the copied HmiRTm.ini.
| INI entry | Required content | Effect |
|---|---|---|
| OnlyOneInstance | false | Allows another Runtime process to start |
| LoadConfigFile | Full path to one .fwc file | Selects the project the next launch loads |
Edit the file in a plain text editor: set OnlyOneInstance to false, put the first project's .fwc path in LoadConfigFile, and save without renaming the file. Preserve the remaining structure and spelling, because a malformed line simply keeps the old behavior. Reopen the saved file and check that OnlyOneInstance reads false and that the LoadConfigFile path resolves to the first compiled file.
Start the first Runtime #
HMIRTM.exe reads HmiRTm.ini from its own folder automatically at startup, so no command-line switch is needed.
- Start HMIRTM.exe from the WinCCRT Adv folder.
- Wait for the first HMI project to finish loading.
- Confirm the opening screen belongs to the intended first device.
- Leave this Runtime window open.
If the wrong project opens, stop here and correct the LoadConfigFile path before touching the second launch, otherwise a later failure cannot be told apart from an instance-control error. After this step you should have one running Runtime window showing the first project.
Start the second Runtime #
The next process reads the INI file again at startup, so change only LoadConfigFile and leave OnlyOneInstance at false.
- Edit HmiRTm.ini while the first Runtime stays open.
- Replace the path in LoadConfigFile with the second project's .fwc path.
- Save the file.
- Start HMIRTM.exe again.
- Arrange both Runtime windows so both panel displays stay visible.
If the second process never appears, the saved value of OnlyOneInstance is most likely no longer false. If it opens the first project again, the edited LoadConfigFile path was not saved before launch. Done correctly, you now have two concurrent Runtime windows, one per project.
Verify PLC communication end to end #
Two open screens prove only that the processes started. Both projects must also exchange data with the PLC, and each project's connection has to be verified on its own. Start the PLC simulation before operating any HMI objects. If values stay stuck even though the connection looks configured, the article on why HMI simulation cannot talk to a simulated PLC covers the usual cause, and the article on a WinCC runtime that connects only via TIA Portal covers the related startup problem.
- Operate a noncritical command from the first panel and expect the corresponding PLC value to change.
- Watch the same PLC value on the second panel and expect its display to follow.
- Repeat the test in reverse, driving a different noncritical command from the second panel.
- Close only one Runtime window and expect the other to stay open and responsive.
- Restart the closed instance with LoadConfigFile pointing at its .fwc file and expect both panels to communicate again.
A panel that opens but shows stale or unavailable values has passed the instance test and failed the communication test. Diagnose its configured PLC endpoint and connection settings rather than touching OnlyOneInstance.
Safety note #
Run these tests on the simulation bench or an isolated test cell only. A configuration that swaps Runtime files and starts unnamed processes has no place on a machine that will run production; commission on the real panels with the vendor's documented download procedure before anyone depends on the screens.
Questions asked
Why does TIA Portal V13 SP2 open only one HMI simulation?
The integrated simulation command for WinCC Basic, Comfort and Advanced targets starts a single Runtime or panel at a time by design. To see two panels on the same engineering station, start HMIRTM.exe directly with OnlyOneInstance set to false in the copied HmiRTm.ini and load a different compiled .fwc file for each launch.
Why does the second panel open the first project again?
LoadConfigFile still holds the first project's .fwc path, or the edited INI file was not saved before the second launch. The Runtime reads HmiRTm.ini only at startup, so change the path, save the file, then start HMIRTM.exe again.
Both panels open but only one shows live PLC values. What now?
OnlyOneInstance controls process startup, not communication. A panel that opens but holds stale or unavailable values has a connection problem. For the usual causes and fixes, work through the communication checks in the companion article on a WinCC runtime that only connects via TIA Portal.