Troubleshooting Empty Alarm History on SIMATIC TP900 HMI Panels

David Krause11 min read
HMI / SCADASiemensTroubleshooting
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

Problem Description

A SIMATIC TP900 panel connected to a S7-1200 CPU 1214C via TIA Portal V15.1 displays real-time alarms correctly in the alarm view, but the alarm history screen remains empty. No archived or logged alarm records are shown when the operator navigates to the historical alarm view, even though the runtime is online and discrete alarm tags are actively triggering.

This is one of the most common configuration faults when commissioning SIMATIC Comfort Panels, because alarm logging involves four separate layers that must each be correctly configured: a storage location, a logging task, an alarm class assignment, and a view filter. If any one of them is missing or misconfigured, the history view returns an empty result set without raising an error in the engineering environment.

Symptom signature: Active alarms appear in the live alarm view, system messages are not generated, alarm log file is missing on the configured storage medium, and the alarm history control shows zero rows. If the runtime throws system message 130001 ("Log not started") or 130002 ("Log is full"), see the System Messages section below.

Affected Hardware and Software

Component Specification Notes
HMI SIMATIC TP900 Comfort (6AV2 124-1JC01-0AX0 family) 9" widescreen, 16M colors, WinCC Comfort/Advanced
PLC SIMATIC S7-1214C DC/DC/DC (6ES7 214-1AG40-0XB0) Firmware V4.4 typical for TIA V15.1 projects
Engineering TIA Portal V15.1 + WinCC Comfort V15.1 Update 4 or later strongly recommended
HMI Runtime Comfort Panel image V15.1.x.x Must match engineering version for compilation
Storage medium USB 2.0 stick, FAT32, ≤ 32 GB typical See USB compatibility section
Project type Single-station with HMI ↔ PLC connection No PC RT involved

The reference documentation for alarm logging on this generation of Comfort Panels is the SIMATIC STEP 7 Basic/Professional V15.1 and SIMATIC WinCC V15.1 system manual, available from Siemens Industry Online Support: SIMATIC STEP 7 / WinCC V15.1 system manual (109755202).

Root Cause Analysis

Five independent root causes can each produce this exact symptom. Identify which applies before changing settings.

ID Root Cause Probability Detection Signal
RC1 "Persistence" flag on the alarm log is disabled, so the internal buffer is volatile and never writes to a file High No log file ever appears on the USB stick; runtime shows alarm buffer but no archive
RC2 No storage location assigned, or path is invalid, or USB medium is not visible to the HMI High System message "Storage medium not found" or "Path not available"
RC3 USB stick format / controller incompatibility (USB 3.0, exFAT, SD-card-in-adapter, large capacity) High Stick is empty after runtime start; no log file created
RC4 Alarm viewer filter excludes archived alarms or filters on a non-matching date range Medium Live alarms show, history view is empty even after fresh log
RC5 Log segment size / number of segments is 0, or segments are not stored on the runtime medium Low Log file size is 0 bytes; no entries are written

Diagnostic Procedure

  1. Open the HMI project in TIA Portal V15.1 and expand HMI_1 → Alarm logs in the project tree.
  2. Right-click the configured log (default name AlarmLog) and confirm a storage location is assigned. If the field is empty, this is RC2.
  3. Open the log's Properties → General tab and verify the Runtime persistence checkbox is enabled. If unchecked, the buffer exists only in memory and is lost on power-off or panel restart. This is RC1.
  4. Compile the project, download to the TP900, and let it run for at least 60 seconds with at least one alarm active.
  5. Check the configured storage path (typically /media/simatic/HMI/alarms on the USB stick) on a PC. If the .csv or .rdb log file is missing or 0 bytes, see RC2 or RC3.
  6. On the panel, navigate to Control Panel → System Messages and look for messages 130001–130005. These identify the exact failure path.
  7. Open the runtime alarm history view on the panel. Right-click the view and select Filter. Confirm the Display archived alarms / Display logged alarms box is checked. If unchecked, this is RC4.
  8. Confirm the filter time range covers the current shift. By default, the history filter may be set to "Today" only and will hide logs from the previous day.

Solution 1: Enable Runtime Persistence for the Internal Buffer

The single most common root cause is a missing persistence flag. On SIMATIC Comfort Panels the alarm log is a segmented circular log; the segments are written to a file only if persistence is enabled, and the storage location points to a writeable runtime medium.

  1. In the project tree select HMI_1 → Alarm logs → <your_log>.
  2. In the work area switch to the Properties inspector.
  3. Open General → Storage location and select Storage medium (USB) or Network (mapped SMB share).
    If the field is greyed out, the runtime license does not include archiving — required option: WinCC Comfort/Advanced with the "Archives" option set.
  4. Set Runtime persistence = Enabled (the property labelled "Persistent storage" in some builds).
  5. Set Number of segments = 1 (minimum) and Segment size = 1000 records for a typical commissioning log.
  6. Compile → Download (full, not delta) → Restart runtime.
Important: When the project is downloaded, the runtime does not auto-create the storage directory. The storage medium must be present and writeable before the HMI boots. If the USB stick is inserted after the runtime has started, you must restart the panel or use the LogOff / LogOn system functions for the log to detect the new medium.

Solution 2: Configure USB Storage for the Alarm Log

Comfort Panels recognise only a constrained set of USB media. The supported envelope is:

Parameter Supported Not supported
USB standard USB 2.0 (Hi-Speed / Full-Speed) USB 3.0-only sticks, USB-C, powered hubs
File system FAT16, FAT32 exFAT, NTFS, ext4, APFS
Capacity ≤ 32 GB (FAT32 practical limit) > 32 GB unless reformatted to FAT32 with third-party tools
Physical form Native USB-A stick SD card in USB adapter, microSD via OTG cable
Partitioning Single primary partition, MBR GPT, multiple partitions, hidden partitions
  1. Format the USB stick as FAT32 (Windows: format X: /FS:FAT32 /Q). Do not use the exFAT default offered by Windows 10/11 on large media.
  2. Insert the stick into the TP900 before powering the panel.
  3. Power on. The panel mounts the medium as /media/simatic/<label>. The label is taken from the volume name.
  4. In the project, under Runtime settings → Alarm logs, set the storage path to /media/simatic/<label>/Logs or simply /media/simatic/ to let the runtime create its own subdirectory.
  5. Verify the runtime detects the medium: trigger a known alarm and check the USB stick contents from a PC. The expected file is AlarmLog_<hmi_name>_<date>.csv or .rdb depending on the export format configured.
Field caveat: If multiple USB devices are present (front USB + rear USB, or a USB hub), the panel enumerates them in a non-deterministic order. If the alarm log is configured to write to the first enumerated medium and that medium is an unsupported device, the log silently fails. Always use the rear USB port on TP900 and remove any unneeded peripherals during commissioning.

Solution 3: Review the Alarm Viewer Filter Configuration

The alarm viewer has two tabs in its properties that govern what is shown in the history view: the Display tab and the Filter tab. Both must permit archived records.

  1. Open the screen that contains the alarm history control and double-click the control.
  2. In the Properties → General pane, ensure the control type is Alarm view and the View mode is set to History (not Active and not Statistics).
  3. Switch to the Properties → Filter pane. Check:
    – Show logged alarms = true
    – Show archived alarms = true
    – Filter by time range = disabled, or set to cover the full shift
    – Filter by alarm class = "All" or include Errors, Warnings, System as needed
  4. If a PLC-side filter is also configured via the AlarmViewConfig tag, verify the tag value at runtime. The filter bitmask is bit 0 = Acknowledged, bit 1 = Unacknowledged, bit 2 = Logged, bit 3 = Archived.

System Messages and HMI Event Log Reference

When the log cannot be created, the TP900 runtime emits a system message. Use the table below to map the message to the root cause and the corrective action.

System Message Meaning Corrective Action
130001 Log could not be started Check storage medium presence and path; check persistence flag (RC1)
130002 Log is full; oldest segment overwritten Increase segment size or number of segments; archive off-load
130003 Storage medium full Replace USB stick or move path to network share
130004 Storage medium write-protected Disable write-protect switch on USB stick
130005 Path not available Recreate path or remount medium; restart runtime
130006 Log file could not be opened Check file system; reformat USB to FAT32 (RC3)
130007 Log file write error Replace USB stick; check for bad blocks

Verification Procedure

  1. With the panel in runtime, force a known alarm: set a bit in the PLC that is mapped to a discrete alarm in the HMI tag table.
  2. Acknowledge the alarm, then clear the trigger condition.
  3. Open the alarm history view. The alarm must appear with timestamp, state, and acknowledgement status.
  4. Power-cycle the panel. After the restart, navigate back to the alarm history. The record must still be present (proves persistence is working).
  5. Remove the USB stick and connect it to a PC. Confirm the file AlarmLog_*.csv exists and contains the same record.
  6. If the history is empty but the CSV is populated, the filter on the alarm view is the cause (RC4).
  7. If the CSV is empty but the live alarm appeared, persistence is disabled (RC1) or the storage path is not being written to (RC2/RC3).

Best Practices for TP900 Alarm Logging

  • Use the internal buffer for commissioning, USB for production. During commissioning keep persistence off and the storage location empty; the runtime keeps the last 1024 alarms in volatile RAM and the history view shows them. Switch to persistent USB logging only when the system is handed over to operations, so the volatile buffer is not consumed by commissioning noise.
  • Match the engineering version to the runtime image. A V15.1 engineering project compiled against a V15.0 or V16 runtime can produce silent logging failures. Use Online → HMI operator panel & version to confirm.
  • Configure segment size based on alarm rate. With 200 alarms/min and a 1000-record segment, you retain 5 minutes of history per segment. Size for the longest expected investigation window plus 50% margin.
  • Set the storage path relative to a label, not a serial number. The volume label of the USB stick is stable; the device node (sda1, sdb1) is not. Always reference /media/simatic/<label>/....
  • Test the fail-state before handover. Pull the USB stick during runtime. The panel must either buffer to RAM (persistence off) or emit a system message (persistence on). An undetected failure is worse than a logged one.
  • Tag the log file with the HMI station name. In the log's Properties → General → File name, use the placeholder <hmi_name> so each panel writes to a uniquely named file when multiple TP900s share a network share.
  • Disable the alarm filter by default. Many field engineers enable the time-range filter during commissioning to keep the test record short, then forget to widen it for production. Add a reminder in the project's release notes.

Frequently Asked Questions

Why is the SIMATIC TP900 alarm history empty even though live alarms appear in TIA Portal V15.1?

The most likely cause is that the alarm log's Runtime persistence flag is disabled under HMI_1 → Alarm logs → <log> → Properties → General, or that no storage medium is assigned. Enable persistence and assign a USB or network path, recompile, and re-download to the panel.

Which USB sticks are supported by SIMATIC TP900 Comfort Panels for alarm logging?

Use USB 2.0 sticks formatted as FAT32, single partition, capacity ≤ 32 GB. USB 3.0-only sticks, exFAT-formatted media, SD cards in USB adapters, and sticks larger than 32 GB are not reliably recognised and will prevent the alarm log file from being created.

What does system message 130001 "Log not started" mean on a TP900?

It means the runtime could not open the configured log file. Typical causes are: persistence is disabled, the storage medium is missing, the path is invalid, or the file system of the medium is not supported. Verify the USB stick is present, formatted as FAT32, and that the storage path in TIA Portal matches the mounted volume label.

How do I show only logged (archived) alarms in the TP900 alarm history view?

Open the alarm view control's Properties → Filter pane and enable both Show logged alarms and Show archived alarms. If a time-range filter is active, widen it to cover the full operating period, or disable it during commissioning.

Can a TP900 Basic Panel (WinCC Basic) log alarms at all, or is logging a Comfort-only feature?

Logging requires a WinCC Comfort, Advanced, or Professional runtime. WinCC Basic on TP1500 Basic and smaller panels does not support alarm logs; only the live alarm buffer is available. For the TP900 specifically, the runtime is Comfort-class and full alarm logging is available with the appropriate runtime licence.

Does the alarm log file survive a power cycle of the TP900?

Only if Runtime persistence is enabled and a writeable storage medium is configured. Without persistence the log is volatile RAM and is lost on restart. With persistence on, the segmented log files persist on the USB or network share across power cycles.

Back to blog