Explainer
Where HMI Panel Simulation Saves Historical Data
Short answer
Yes. In the panel simulation, every data log whose storage location is set to Storage Card SD writes its archive files into a stand-in folder on the root partition of the engineering PC's drive C:. The files remain after the session ends, and the next simulation overwrites them, so the folder is scratch space for testing, not productive logging.
On this page
- Can you view or save historical data in panel simulation?
- Where does the simulated storage card folder live?
- How do you point a data log at the storage card?
- What does “temporary” mean for the saved data?
- What can a panel simulation not do?
- How is panel simulation different from WinCC Runtime Advanced on a PC?
- Does the same idea apply to WinCC Unified?
- How do you prove the archives are really being written?
- Questions asked
Yes — the panel simulation does write historical data, and you can view it after the session just as you would on the panel. When the simulation runs, TIA Portal creates a stand-in storage card area on the root partition of the engineering PC, and any log pointed at the storage card writes its archive files there. The catch is lifecycle, not time: this is scratch space for testing, not a productive store. This article covers where the folder lives, how to point a log at it, what temporary means, what the simulation cannot do, how it differs from WinCC Runtime Advanced on a PC, and how to prove the archives are real.
Can you view or save historical data in panel simulation? #
You can, for both tag archives and the audit trail: start the simulation with the logs configured for the storage card and the archive files appear as ordinary files in the simulated storage card area on the engineering PC.
For the length of the session the simulated runtime behaves like the panel runtime: tag logging, alarm logging and audit records are written exactly as the compiled project instructs, so you can exercise screens, trigger alarms and watch the files accumulate. Nothing is metered, so the session runs as long as you need it to.
Where does the simulated storage card folder live? #
On the root partition of the engineering PC — the system drive, normally C: — the simulation creates the stand-in card folder the first time a log writes, and its name follows the storage location the project selected, mirroring the card layout a real panel uses.
Siemens' storage-media documentation for its operator panels shows that layout: a Storage Card SD folder holding one folder per log under the log's own name, with a parallel Storage Card USB location for USB media. The simulation reproduces the same structure as ordinary Windows folders on the boot drive, so the path you browse on the PC matches the path the panel would use on the card.
On real hardware the same setting writes to the card in the panel's slot, and getting files off that card has its own quirks, including the case where HMI SFTP cannot see the SD card data log files.
How do you point a data log at the storage card? #
Open the log editor under Historical data in the project tree, select the log, and set its storage location to Storage Card SD — the same choice the panel honors on its real card — then compile and start the simulation.
- In the project tree, open the HMI device's Historical data editor and select Tag logging; alarm logging and audit logging have their own editors with the same kind of storage setting.
- For each log, set the storage location to the SD card entry rather than the USB or network options.
- Compile the HMI project so the runtime picks up the changed log configuration.
- Start the panel simulation and exercise every screen change, event and alarm that should produce records.
- Let the session run long enough to write a meaningful number of records, then stop it and inspect the files.
The storage choice you make here is the same one the project carries to hardware, so configuring it for the simulation also checks that the project writes to the card correctly before commissioning.
What does “temporary” mean for the saved data? #
Temporary is not a timer: it describes the environment's lifecycle — the files stay on disk after you stop the session, but the card area belongs to the simulation as a whole, and the next project you simulate overwrites its folders or deletes any file that reuses a name.
Nothing in the session is metered, so a simulation can run an entire shift and the archive keeps growing until you stop it. The overwrite happens when a different project is simulated later, because the runtime reuses the same card location; that is why the environment is built for simulation work rather than as a defined runtime for productive operation.
What can a panel simulation not do? #
Panel-specific hardware behavior is outside the simulation: LEDs do not light, touch calibration has no meaning in a mouse-driven window, and similar panel functions are unavailable, while panel-style behavior such as softkeys and the external interfaces is simulated.
None of those gaps touches the logging path, because archives, alarms and audit records come from the runtime logic the simulation does implement. Do not treat a clean simulation as a pass on hardware, though — final acceptance of logging, alarm and touch behavior belongs on the real panel.
How is panel simulation different from WinCC Runtime Advanced on a PC? #
The panel simulation is a temporary, session-scoped environment for testing a panel project on a PC, while WinCC Runtime Advanced is a defined PC runtime, started from the WinCC RT loader or by launching the runtime start executable with the project as a parameter.
| Aspect | Panel simulation | WinCC Runtime Advanced on a PC |
|---|---|---|
| Purpose | Test a panel project on the engineering PC | Run an HMI project productively on a PC |
| Lifetime | Exists only while the simulation session runs | Installed PC software, runs until closed |
| Card storage | Simulated by folders on the system root partition | Persistent storage on the PC's own drives |
| Next run | Overwrites the card folders, deletes colliding names | Keeps previously written logs |
| Panel functions | Softkeys and interfaces simulated; LEDs and touch calibration are not | Not a panel; the HMI runs in a PC window |
If the goal is productive PC operation rather than a test bench, the path is running the HMI project on Runtime Advanced once the project's runtime device version matches the installed runtime — see running a TIA Portal V14 HMI project on WinCC Runtime Advanced. Archiving on Runtime Advanced asks for its own logging license; why WinCC Logging for Runtime Advanced asks for a license covers that case.
Does the same idea apply to WinCC Unified? #
Yes, with its own mechanics: Unified panels define the storage location for the tag and alarm log databases in the operator panel's Runtime settings, and the Unified simulation likewise substitutes its own environment for the real panel runtime, with the differences documented for it.
So the same workflow holds there too: decide where the logs live before you simulate, and read the documented simulation limitations for your generation of software before you trust a result.
How do you prove the archives are really being written? #
Run a timed bench check and count the records: for example, set a tag log to record one tag once per second, run the simulation for 60 seconds, and expect about 60 data rows in the archive file, because 60 s divided by the 1 s recording cycle equals 60 records.
Worked example, with example inputs rather than a specification: configure the log with a cyclic 1 s trigger on a test tag, start the simulation, hold the test running for 60 s, then stop the session. The check is three comparisons: every row's timestamp advances by about 1 s; the final row's value equals the value the tag actually held at the end; and for a CSV-format log the row count matches the elapsed recording time, since 60 s ÷ 1 s per record = 60 data rows plus the header row. A gap in the timestamps means records were deferred or lost — a dropped connection, for instance, pauses logging and the runtime catches up when it returns — so judge timing by the timestamps and completeness by the final logged value, not by the count alone.
Treat the 60-row figure as an example pass limit tied to those example inputs; your trigger cycle, session length and connection quality set your own count. Once the bench check passes, confirm retention behavior on the real panel before sign-off — verifying HMI historical trend retention before committing walks through that check.
Questions asked
How do you keep the archives from one simulation run before starting another?
Stop the session and copy the archive files out of the simulated card folder into a normal directory you name by date and project, before you start any other simulation. The next run overwrites that area and deletes files that reuse a name, so nothing inside it survives as an archive.
What format are the archive files in the simulated card folder?
Whatever format the log itself uses, because the simulation writes exactly what the panel would write. A log configured for CSV produces files you can open in a text editor or spreadsheet; a log kept in the log database format is read back through the runtime or an export rather than opened directly.
Do you need a physical memory card to run the panel simulation?
No. The simulated card is an area of the engineering PC's disk, so no physical memory card, card reader or slot is involved in a simulated session; nothing is written to removable media. You only need a card when the same project runs on the real panel.
Can the simulation log values from a real controller during a bench test?
Yes. The simulated panel exchanges values with a simulated or a real controller, so you can drive the logged tag to known values during the bench test. That is what makes the record check meaningful: each logged value must match what the controller actually held at that timestamp.