TP1500 Comfort HMI Alarm Buffer: Configuring the Full 1024-Entry Capacity
Symptom: A Siemens SIMATIC TP1500 Comfort panel (15.4" widescreen, 1280 x 800, color TFT) is reporting only ~60 alarm events in the on-screen alarm buffer, although the panel's published performance features list a 1024-event alarm buffer. The panel appears to "wrap around" the buffer after only a few days of operation. This article walks through the root cause (alarm view filtering, not buffer exhaustion), the correct configuration steps in TIA Portal, and how to extend retention to 50,000 entries using an SD-card alarm log.
1. Problem Description
The reported symptom is consistent across several firmware generations of the TP1500 Comfort:
- The Alarm View on the TP1500 Comfort displays approximately 50-60 historical events before new events overwrite the oldest.
- The events visible in the view are only a single class (typically "Errors" or "Warnings"), not all configured classes.
- System events such as "Connection to PLC failure" or "Operator station change" do not appear in the view.
- After roughly 3 days of operation at a low event rate (~20 events/day), the buffer appears to roll over, even though no single class has reached 1024 entries.
The user expectation, set by the performance features table, is that 1024 alarm events should be retained in the volatile buffer across all configured alarm classes plus the system alarms.
2. Root Cause: Alarm View Filtering vs. Device Buffer
The TP1500 Comfort (and all Comfort Panels) maintains one shared, circular, volatile buffer in runtime memory. The published size is:
| Comfort Panel variant | Alarm buffer entries (volatile) | Alarm log entries (SD/USB) |
|---|---|---|
| TP700 Comfort | 1024 | 50000 |
| TP900 Comfort | 1024 | 50000 |
| TP1200 Comfort | 1024 | 50000 |
| TP1500 Comfort | 1024 | 50000 |
| TP1500 Comfort Outdoor | 1024 | 50000 |
| TP1900 Comfort | 1024 | 50000 |
| TP2200 Comfort | 1024 | 50000 |
| KP1500 Comfort (key) | 1024 | 50000 |
Reference: Siemens TIA Portal – Performance features of Comfort Panels (v21).
Why only ~60 entries are visible, then:
- Single-class view: The Alarm View on the screen has only one alarm class selected. If the user enabled only "Errors" and 60 error events have fired, that view will display a maximum of 60 rows before the 61st event rolls the oldest off-screen. The remaining 964 buffer slots are still occupied by Warnings, Operator Information, and System Events that the view is not displaying.
- System alarms filtered out: By default, the Alarm View does not include the system alarm class unless explicitly enabled in the view properties.
- Acquired/Hidden filter: A filter set to "Show only unacknowledged" or "Show only active" will reduce the visible count even though the buffer itself is full.
-
Buffer isolation per view: If multiple Alarm Views are defined and the user has used
AlarmView.GetAlarmBufferCountor equivalent, a per-view count is returned. A view that only requests one class returns the entries for that class, not the total device buffer.
3. Confirming the Root Cause on the Panel
Before reconfiguring, verify the actual buffer fill on the running panel. Two reliable methods:
3.1 Read the buffer fill from the runtime
On the TP1500 Comfort, open the Alarm View properties, and add a Status bar. Enable the "Buffer fill" column. The status bar will show e.g. 312 / 1024, proving the panel is keeping 312 events in the 1024-slot buffer even when only 60 rows are visible.
3.2 Use the WinCC Comfort online diagnostics
- Open TIA Portal, project tree, expand Devices & Networks.
- Right-click the TP1500 Comfort and choose Online & Diagnostics.
- Connect to the panel over PROFINET/Ethernet.
- Open the Diagnostics folder and select Alarm buffer. The online view shows the complete history of all classes, including system events, with timestamps and state.
4. Solution A: Display the Full Buffer in a Single Alarm View
Use this when the goal is to see all classes (errors, warnings, system events) on the panel without a log file. The change is in the view configuration, not the buffer itself.
Step 1 – Open the Alarm View configuration
- In TIA Portal, project tree, expand HMI > HMI_1 [TP1500 Comfort] > Screens.
- Double-click the screen containing the Alarm View (e.g. Screen_1).
- Select the Alarm View object.
- In the Properties window, choose Properties > General > Alarm classes.
Step 2 – Activate every configured alarm class
For each alarm class defined in the project (e.g. Errors, Warnings, System, Operator Information, Diagnostic):
- Tick the checkbox "Use this alarm class".
- Confirm the corresponding bit in the alarm class mask is set; this is the binary mask that controls which classes feed the view.
Step 3 – Add columns for full context
Under Properties > Columns, enable the following columns so each event is unambiguous:
- Number
- Time of occurrence (date and time, ms resolution)
- Alarm state (raised / cleared / acknowledged)
- Alarm class (icon + text)
- Alarm text (the multilingual text from the alarm configuration)
- Point of error (PLC tag or tag name)
- PLC / connection name
Step 4 – Configure the buffer handling for the view
- Properties > General > Display: set "Allow operator to change buffer display" = enabled (lets the operator toggle the source buffer at runtime).
-
Properties > General > Buffer: set "Alarm buffer source" =
Alarm buffer (volatile)to read the 1024-slot RAM buffer. - Properties > Display filter > Alarm classes: tick all classes, including System alarms and Operator information.
Step 5 – Save, compile, and download
- Save the project (Ctrl+S).
- Right-click the HMI device > Compile > Software (rebuild all).
- Transfer the compiled RT to the TP1500 Comfort via Ethernet or USB.
- Restart the panel and verify that the Alarm View now shows events from every class up to a combined 1024-slot history.
5. Solution B: Persistent Alarm Log on SD Card (50,000 entries)
The 1024-slot RAM buffer is volatile. To retain alarm history across power cycles, configure a CSV alarm log on the SD card slot (X51) on the back of the TP1500 Comfort. Each alarm class can have its own log file with up to 50,000 entries per log; the SD card's available space is the practical upper limit when multiple logs are used.
Prerequisites
| Item | Specification |
|---|---|
| SD card type | Siemens SIMATIC HMI SD card, 2 GB to 32 GB, FAT32 formatted |
| Card slot | X51 (TP1500 Comfort rear) |
| TIA Portal version | V16 or later; V17/V18/V19/V20/V21 all support the same log configuration |
| Panel firmware | WinCC Comfort RT V16.0.0.x or later (V17/V18 firmware on the panel side) |
| Operator authorization | User group with "Manage logs" permission if the operator needs to clear the log |
Step-by-step: Create the alarm log
- Project tree > HMI_1 [TP1500 Comfort] > Historical data > Logs.
- Double-click Add new log. A new Log_1 is created.
- Rename to
AlarmLog_Errors(or per your naming convention). - In the log properties, set the Storage location to
SD card(pathStorage Card SD\Logs\). - Under Columns, add the alarm fields you want stored: Number, Time, State, Class, Text, Acknowledgement, PLC, Tag.
- Under Properties > General > Entries, set Maximum number of entries = 50000. Set Behavior when full =
Overwrite oldest entries (circular log). - Under Properties > Alarms, click Add. From the alarm class list, choose the classes to log: Errors, Warnings, System, Operator Information. Each class can be routed to its own log file or shared with others.
Step-by-step: Display the log on the panel
- Project tree > Historical data > Logs > AlarmLog_Errors.
- Open the screen that should display the historical alarm history.
- Drag a new Alarm View onto the screen and set its Source property to
Alarm log (CSV file)and select AlarmLog_Errors. - Set the Display filter to show all classes, all states (raised, cleared, acknowledged).
- Compile and download.
Verifying the log is being written
- Insert the SD card into a PC using a card reader.
- Open
\Storage Card SD\Logs\AlarmLog_Errors\. - A CSV file
[name]_[date].csvshould be present, updated in near real time. Each row is one alarm event with the configured columns.
6. Solution C: Selecting a Specific Logged View for the 250-Alarm Requirement
The original request was to display "at least 250 alarms in alarm buffer". This is achievable without a log because the device buffer is 1024 slots:
- Open the Alarm View properties (see Section 4).
- Set the Filter so the view receives events from all configured classes.
- Set Sort to Time of occurrence, descending.
- Set Scrollable = true so the operator can scroll through the entire buffer.
- Compile and download. The view will hold the most recent 1024 events from every class combined. 250 events is well below that limit.
If the project has fewer than 250 events configured across all classes, the view will display every event; the buffer will not "wrap" until 1024 events have been generated.
7. Maximum Number of Alarms in the Buffer – Quick Reference
| Question | Answer |
|---|---|
| What is the maximum number of entries in the Comfort Panel alarm buffer? | 1024 events (volatile, all classes combined) |
| What is the maximum number of entries in a single Alarm View? | 1024 events (limited by device buffer) |
| How many events can be shown in a single alarm class within the buffer? | Up to 1024 (subject to overall buffer cap) |
| What is the maximum number of entries in an SD-card alarm log? | 50000 per log |
| Can the buffer be expanded beyond 1024 by configuration? | No, it is a fixed RAM allocation; expand via an alarm log instead |
| Are system alarms included in the 1024? | Yes, system alarms share the same buffer |
| Does the buffer survive a power cycle? | No, unless persisted via an alarm log to SD/USB |
| Is the buffer shared across screens? | Yes, it is a single device-level buffer |
8. Configuration Workflow Summary
-
Step 1 – Define tags and trigger bits in the PLC (S7-1200/S7-1500). Discrete alarm: a Boolean tag, e.g.
"Conveyor1.Overload". Analog alarm: a tag with configured limits. - Step 2 – Configure alarms in the HMI. In the HMI project, under HMI tags, mark the tag as a trigger tag and select the discrete/analog alarm type. Map it to a class (Errors, Warnings, etc.) and assign a multilingual alarm text. Reference: Configuring alarms – Basic Panels, Panels, Comfort Panels (TIA Portal v20).
- Step 3 – Create the Alarm View on the HMI screen. Insert an Alarm View, enable all alarm classes in Properties > General > Alarm classes, and configure columns for timestamp, state, and PLC tag.
-
Step 4 – Optionally add a persistent log. Create a CSV log, set storage location to
SD card, set entries to 50000, and route all alarm classes to it. Add a second Alarm View to read from the log. - Step 5 – Compile and download. Use Compile > Software (rebuild all) on the HMI device, then transfer the RT to the panel.
9. Troubleshooting Matrix
| Symptom | Likely cause | Verification | Fix |
|---|---|---|---|
| Alarm View shows only one class (e.g. Errors) | Alarm class filter on the view excludes other classes | Inspect Properties > General > Alarm classes | Tick all configured classes including System alarms |
| Buffer fill appears low (~60 events) but online diagnostics shows > 300 | The view filter is hiding non-matching events | Check the status bar "Buffer fill" column | Set filter to "all events" and clear active-state filter |
| Buffer is empty after power cycle | RAM buffer is volatile; no log configured | Check if an alarm log is configured and routed to all classes | Configure an SD-card log (see Section 5) |
| SD card log file is missing on the SD card | Storage path is not writable, or no events have fired | Insert SD card into a PC; check \Storage Card SD\Logs\
|
Verify SD card is unlocked, FAT32 formatted, and that the log is enabled in runtime |
| Online diagnostics shows "Buffer empty" even though events are firing | PLC connection to the panel is dropping; trigger tags are not being polled | Check the connection status in Online & Diagnostics > Connections | Restore PROFINET/Ethernet connection; verify IP/subnet |
| Only system events are visible, not user-defined alarms | The HMI tag that should trigger the alarm is not marked as a trigger | In the HMI tag, confirm the "Trigger" setting is set to the relevant alarm event | Reconfigure the tag to use the discrete/analog alarm mode |
| Alarms display in the wrong language | Alarm text is configured in one language only, or the project language list is incomplete | Project tree > Languages & Resources > Project languages | Add translations for every active runtime language |
| Buffer wraps at exactly 60 events when log is configured | The log entries limit was set incorrectly (e.g. 60 instead of 50000) | Open the log properties > Maximum number of entries | Set to 50000, recompile, re-download |
10. Field-Proven Caveats
- Circular behavior is normal. A circular buffer is by design: when full, the oldest entry is overwritten. This is not a bug. The 60-event behavior the user observed is a single-class view reaching the visible row count; the 1024-slot buffer itself was not full.
- System alarms count against the 1024 limit. If the user has many "Connection lost" / "Restored" events, those consume buffer slots that would otherwise be available for user alarms. Filter system alarms out of the user-facing view, but keep them in the SD-card log for diagnostics.
- RT reload clears the buffer. Each time the runtime project is reloaded on the panel, the volatile buffer is reset to zero. Plan for this when commissioning; trigger a known set of test alarms after a fresh download to verify the buffer is wired correctly.
- Time stamps use panel time. If the TP1500 Comfort's local time is not synchronized with the PLC, alarm timestamps will be inconsistent. Enable time synchronization (PLC → HMI time master) in the connection properties.
- One alarm log per class is recommended. Splitting Errors, Warnings, and System alarms into separate log files simplifies post-event analysis and reduces SD card write amplification.
11. Verification Checklist After Configuration
- Trigger one event in every configured alarm class (e.g. set a Boolean tag true in the PLC).
- Confirm all events appear in the Alarm View within 1-2 polling cycles.
- Open the status bar of the Alarm View and confirm the buffer fill increments.
- Force-fill the buffer past 250 events and verify the view still shows the most recent 250 (with scrollable = true).
- Remove the SD card, copy the log CSV, and open it in Excel to confirm the structure.
- Cycle power on the panel; confirm that the volatile buffer is empty and the log CSV retains all events.
12. When to Escalate
Open a case with Siemens Technical Support if any of the following are observed after applying the configuration above:
- Online diagnostics > Alarm buffer shows zero entries even though the Alarm View on the panel shows active events (RT inconsistency).
- SD-card log file is not created despite the log being configured and at least one alarm class assigned to it.
- The buffer rolls over at a number other than 1024 (e.g. 256) on a TP1500 Comfort — this would indicate a panel firmware defect.
- Alarm text shows raw text tags (e.g.
@RT%1s%) instead of translated strings in a multilingual project.
When escalating, capture the following for the support case:
- Exact panel order number (e.g.
6AV2 124-1QC02-0AX0) and serial number. - Panel firmware version (visible in Control Panel > System > Device on the panel).
- TIA Portal version and installed HSP (Hardware Support Package) version.
- A backup of the project (Project > Archive).
- Export of the SD-card log file (CSV).
13. Related Configuration Topics
- Configuring the acknowledgement of alarms: Properties > General > Acknowledgement. Errors typically require acknowledgement; Warnings and Operator Information are usually informational.
- Configuring alarm logging to a network share: a Comfort Panel can also log to a network path via SMB; the SD card is preferred for resilience against network outages.
- Email/SMS notification of alarms: route critical alarm events via the panel's SMTP client to a recipient list.
- Audit trail for GMP-regulated systems: enable the "Audit" option in the alarm log to capture the user name on acknowledge/clear actions.
FAQ
What is the maximum number of alarms in the TP1500 Comfort alarm buffer?
The TP1500 Comfort alarm buffer holds 1024 events in volatile RAM, shared across all configured alarm classes including system alarms. To retain more than 1024 events across power cycles, configure an SD-card alarm log with up to 50,000 entries per log.
Why does my Alarm View show only 60 events when the manual says 1024?
The 1024 figure is the device buffer; the visible count in a single Alarm View is limited by the alarm class filter. If only the "Errors" class is selected and 60 errors have occurred, the view will display a maximum of 60 rows. Enable all alarm classes in Properties > General > Alarm classes to see the full buffer.
How do I configure the TP1500 Comfort to log alarms to an SD card?
In TIA Portal, project tree > Historical data > Logs, add a new log, set the storage location to "SD card", set maximum entries to 50000, and assign the desired alarm classes to the log. Add a second Alarm View to the screen with source = "Alarm log (CSV file)" to display the historical log.
Does the alarm buffer persist across a power cycle?
No. The 1024-event alarm buffer is volatile RAM and is cleared on power cycle. To retain alarm history across restarts, configure an SD-card alarm log (CSV format) under Historical data > Logs, or export the buffer to a CSV file at shutdown via a script.
Can I show more than 250 alarms in the buffer on the TP1500 Comfort?
Yes. The device buffer holds 1024 events; 250 is well within that limit. Configure the Alarm View to include all alarm classes, set the sort order to "Time of occurrence, descending", and enable scrolling so the operator can navigate the entire buffer. If you need more than 1024 events visible, use the SD-card alarm log instead.