Troubleshooting
Why a Unified panel trend plots only the current value
Short answer
The Trend control anchors its time axis at UTC 0, so on a panel running at any other offset the plotted window sits hours away from the samples being written and only the newest value lands inside it. Set the Trend control's own Time zone property to the panel's offset; a firmware update does not fix it.
On this page
The trend plots only the current value because the Trend control's Time zone property is still at UTC 0 while the panel runs at a local offset such as UTC+7. The control anchors its time axis at UTC 0, so a non-zero panel offset pushes the plotted window hours away from the samples being written, and only the newest value lands inside it. Set the Trend control's own Time zone property to match the panel offset and the full trace returns. Updating the panel firmware does not fix it, because the axis anchor is a project setting, not a build defect.
Confirm it is the offset, not the logging #
Run through this list before you touch anything:
- The same project run in simulation on the engineering PC plots history correctly, while the panel plots only the current value. The project, tags and logging are then fine.
- Setting the panel's system time zone to UTC 0 restores the historical trace; setting it back to the local offset breaks it again. This toggle is the most reliable confirmation.
- The trace shows the newest sample at the right edge with nothing behind it, even though the driving tag has been changing for minutes.
- The panel firmware is already at the current image and the symptom is unchanged after the update.
If all four match, the fix below applies. If simulation shows the same collapsed trace, the fault is in the project or the logging, not in the offset.
What the UTC offset does to the plotted window #
The Trend control draws its visible time window against the time zone configured on the control itself, and that property defaults to UTC 0. The samples are written against the panel runtime clock, which runs at the panel's local offset. With the control left at UTC 0, the visible window and the freshly written samples sit on two different clocks, separated by exactly the panel offset. Every sample except the newest falls outside the left edge, so the trace collapses to a single moving point. The logged data itself is not touched; this is purely where the control places its viewing window.
Worked example for a panel set to UTC+7, with the trend window 10 minutes wide and the panel clock reading 14:00:00 local:
- UTC time: 14:00:00 minus 7:00:00 equals 07:00:00.
- With the control's Time zone at UTC 0, the control draws the window 06:50 to 07:00.
- The samples carry times based on the panel runtime clock, so they sit 7 hours, that is 420 minutes, away from the window on the axis. A 10-minute window cannot contain a point that far off-scale, so only the newest value appears at the right edge.
- With the control's Time zone set to UTC+7, the window becomes 13:50 to 14:00 panel time, exactly where the samples are, and the full trace appears.
The shift equals the panel offset whatever its sign: UTC-5 moves the window the other way by 5 hours and produces the same single-point trace. The same UTC-versus-local mismatch shows up in other Unified timestamp displays, and the page on WinCC Audit Viewer timezone resolving UTC versus local timestamp walks through that variant.
Set the Time zone property on the Trend control #
- In TIA Portal, open the screen that contains the Trend control and select the control.
- In the control's properties, find the Time zone entry. Unified documentation lists Time zone as a setting on the Trend control, and the same setting exists on the alarm control, the alarm line, the trend companion and the parameter set control.
- Set it to the panel's offset, UTC+7 in the example above. Use the same value the panel system settings use.
- Recompile the project and download it to the panel.
- On the panel, change the driving value a few times and confirm that the older points stay plotted. Widen the window with the documented "Select time range" toolbar entry, which opens the "Time selection" dialog, and confirm the older samples remain in view across the whole span.
If your panel image and project are not the pair you expect, check the article on matching an HMI panel image to its TIA Portal project version before you conclude the property change did not take.
What a firmware update does and does not change #
A firmware update is worth doing on general principle, and it has cleared other Trend control problems, but it will not move the axis anchor. The case behind this article updated the panel to MTP firmware version 16.0.5 and the trace still collapsed until the control's Time zone property was set. Treat the update as parallel maintenance, not as the fix.
If you do update the image, plan the panel around it: an image update deletes the project data, parameter sets and user management on the panel, so back them up first, and the article on Unified Comfort Panel image updates when two versions are needed covers keeping two image versions side by side during the transition.
Two settings that mimic the same fault #
If the offset is right and the trace still collapses, check these in order:
- The control setting that chooses between the live runtime buffer and a logged archive. If the control is pointed at an archive that is not configured, it can draw only what it can reach. Set that selection statically to match your design and leave no script or tag dynamization attached to it.
- The visible time span against the update rate. A 10-minute window with a value that changes once a minute looks sparse but still plots history; a 10-second window can scroll samples out faster than they arrive. Widen the span and see whether more history appears. If widening changes nothing, go back to the time zone.
Questions asked
Does setting the whole panel to UTC 0 fix the trend?
It restores the trace, but it is the wrong fix. Every alarm timestamp, report and logged record on the panel then carries a time several hours away from the plant clock, which surfaces later in audit trails and exports. Leave the panel at its real offset and set the Trend control's own Time zone property instead, so the display and the rest of the runtime agree.
Which other Unified controls carry a Time zone property?
The same Time zone setting exists on the alarm control, the alarm line, the trend companion and the parameter set control, not only the trend control. If an alarm list shows shifted timestamps on the same panel, give those controls the same panel offset. The property is set per control in TIA Portal, and each control can carry its own value.
Can I fix it by widening the time range in the toolbar?
No. The time range selection changes how wide the visible window is, not where the window sits on the clock. A wider window shows more samples only when the original span was too short. When the axis anchor is at UTC 0 against a non-zero panel offset, every written sample still falls outside the window no matter how wide you make it.