IMDTouchKnowledge BaseShop main store

Troubleshooting

Why a Unified Comfort Panel does not sync with a local NTP server

HMI and touchscreens Published 8 min read By IMDTouch engineering team

Short answer

If the panel synchronizes with internet NTP servers but never with your local one, the panel's NTP client works. The strip-chart test proves only that the server answers the Windows station, not the panel. Verify the address the panel uses, check the CPU's time synchronization page, then reapply an NTP setting to force the panel to reload its configuration.

On this page
  1. What the three results prove
  2. What the strip-chart run covers, and what it leaves open
  3. Check the S7-1200 server side
  4. Check the panel side in TIA Portal
  5. Force the panel to reload its time configuration
  6. Worked example: what unanswered read cycles tell you
  7. Compare against the working external configuration
  8. The decision for each case
  9. Questions asked

Your results already narrow the fault. The S7-1215 answers the strip-chart command from the Windows 11 Pro station, the same panel synchronizes with internet NTP servers without trouble, and it never synchronizes with the local server at the configured read interval. That combination clears the panel's NTP client: it works end to end when a server answers on its path. What is left is the local route between panel and CPU, the CPU's server configuration, or a panel configuration the runtime has not actually applied. Work the checks in that order, force a configuration reload, and read the outcome by the numbers in the worked example below. Fix the clock before you trust any time-stamped alarm or trend record from the panel.

What the three results prove #

Read the reported results as an elimination exercise.

Reported result What it proves What it does not prove
The S7-1215 answers the strip-chart command The NTP server role is up and answers on the Windows station's route That the panel can reach the server or accept its response
The panel synchronizes with internet NTP servers The panel's NTP client, network stack and apply logic work end to end That the same client behaves the same on the machine's local network
The panel never synchronizes with the local server at a 10 s read interval Hundreds of read cycles in a row go unanswered That waiting longer will change anything

The reported setup was TIA V17 Upd3 on Windows 11 Pro, an S7-1215 as the NTP server, and panel firmware described only as the latest available — which is not an auditable identifier, so record the exact build from the device's info page.

The client is not the fault: a panel whose NTP client cannot synchronize at all does not follow internet servers either, and yours does. The server role is not down: it answers the station. That leaves the route between panel and CPU and the configuration each side is actually running. A clock running hours wrong is not cosmetic either — it mis-stamps alarms and mis-orders stored values, which is the mechanism behind why an HMI trend loses history when server clocks disagree.

What the strip-chart run covers, and what it leaves open #

Test against the exact address the panel holds; the example below uses 192.168.10.10 as the example server address:

w32tm /stripchart /computer:192.168.10.10 /dataonly /samples:5

A healthy answer, with example values, looks like this:

Tracking 192.168.10.10 [192.168.10.10:123].
Collecting 5 samples.
The current time is 2024-05-14 09:12:30.1234.
09:12:30, d:+00.0010245s o:-00.0002136s  [ * ]
09:12:32, d:+00.0010221s o:-00.0002401s  [ * ]

The d: value is round-trip delay and o: is the offset between the station's clock and the server's; small values on every sample mean the server role is answering. Windows Time service documentation notes that NTP servers listen on UDP 123 and reply from the same port, so anything between the two addresses that drops UDP 123 blocks exactly this exchange.

The run does not cover the panel's side. The station and the panel can take different routes: different subnets with a router between them, VLANs with a filter list, or different name resolution, where the station resolves the server's name and the panel cannot. The decision: make the panel hold the literal IP that answered the command, and if the panel sits on another subnet, verify UDP 123 passes both ways between those two addresses.

Check the S7-1200 server side #

The S7-1200 manual states the CPU disables the NTP feature by default, so it takes part in time synchronization only after you enable it in CPU Properties, PROFINET interface [X1], on the Time synchronization page. The same manual is explicit about sources: once the feature is enabled, only the IP addresses configured in the CPU can act as its NTP servers. That makes the CPU's own clock a precondition rather than a given. If the o: offset in your strip-chart shows whole seconds, the CPU is serving wrong time and the fix is its upstream source, not the panel.

Check one more server-side item: if the running program calls the T_CONFIG instruction on that interface, the documentation shows it can change the NTP server addresses at runtime, so the list in your project is not necessarily the list running in the CPU. The decision: confirm the CPU's clock tracks the station to small fractions of a second and that no runtime call rewrites the interface's time settings, before touching the panel again.

Check the panel side in TIA Portal #

Configuring a Unified Comfort panel as the NTP client of the central PLC is documented as a TIA Portal job, with the IP address of the NTP server among the settings that must be configured. The WinCC Unified documentation places the device's time-of-day synchronization settings under the Online & Diagnostics node, at Properties > General > Time of day in the Inspector window.

Three settings decide this case. The mode must select NTP rather than any other time source. The address should be the literal IP that answered the strip-chart, not a name, unless the panel has a verified DNS route to the server. And the values on the device must match the project — a download that was changed after the fact, or never sent, leaves the panel running settings you cannot see. The decision: open the device's time-of-day settings, read back the active values, and correct them against the project before blaming the network.

Force the panel to reload its time configuration #

One Unified panel in the field behaved as if its runtime held a stale configuration: synchronization followed within about one read cycle every time a parameter in the NTP configuration was changed — the synchronization time or the server IP — while an untouched panel waited far longer or never synchronized at all. Treat that as a field observation, not a documented fix, and use it as the test that separates a stuck configuration from a hard failure:

  1. Record the NTP server address and read interval exactly as the project and the device hold them.
  2. Change one NTP value — for example move the server address to a dummy IP such as 192.168.10.99, or shift the synchronization time — and download the change.
  3. Watch the panel clock across one read cycle. Synchronization immediately after the download means the runtime was holding a stale configuration.
  4. Restore the intended server address, download again, and confirm the clock holds across several read cycles.
  5. If the panel still never synchronizes while internet servers still work, a stuck configuration is ruled out: the requests leave with correct values and nobody answers them. Continue with the route checks.

Worked example: what unanswered read cycles tell you #

Put numbers on both behaviors. At the reported 10 s read interval the panel sends six requests a minute (60 s ÷ 10 s = 6) and 360 in one hour (3600 s ÷ 10 s = 360). The field report above saw synchronization take from five minutes to an hour when nothing was changed — 30 cycles after five minutes, 360 after an hour of stale configuration — and then arrive within about one read cycle after a single parameter changed. The opening case saw no synchronization at all: 360 consecutive unanswered cycles in one hour is not a slow clock, it is a configuration or route failure.

Run the reload step before touching the network because it is cheap. If a download brings the clock into line, nothing is filtered and the CPU is healthy — the panel was simply sending with values you did not think it had.

Compare against the working external configuration #

The internet-server success is the best reference configuration you have, so diff it against the failing local setup: the selected mode, the address form, the interval, and whether the entry was typed on the device or arrived by download. Two splits carry information. If an external entry works as a name while the local entry only works as an IP, the panel's name resolution is the suspect — flip the local entry to its IP and watch one read cycle. If the external entry works across a routed internet path, the site router already passes NTP, so a local failure points at a subnet or VLAN filter rather than a site-wide block.

If the same cabinet still runs an older Windows CE terminal, note that it uses SNTP, a different protocol with its own troubleshooting path: troubleshooting SNTP clock sync on a Windows CE panel.

The decision for each case #

  • Internet servers work, the local server never works, and a configuration reload makes local synchronization appear within one read cycle: the runtime was holding a stale configuration. Keep the reload as a deliberate step after every download of the panel project, record the exact model and full firmware build, and treat a future firmware update as the real fix.
  • Internet servers work, the local server never works, and the reload changes nothing: the panel is asking and nobody on its route is answering. Put a test station on the panel's own switch or subnet and repeat the strip-chart from there, verify UDP 123 passes both ways between the panel's address and the CPU's, and make the panel hold the literal server IP. If the route tests clean from the panel's own subnet, capture the exact firmware build and escalate with that result in hand.
  • The strip-chart fails, or its offset shows whole seconds: fix the server first. Enable time synchronization on the PROFINET interface's Time synchronization page, give the CPU a working source, and only then return to the panel.
  • No network time source is reachable at all: stop chasing NTP and write the clock on a schedule instead. The approach in setting HMI clock time from PC and PLC daily keeps alarm and trend stamps usable until a time server exists on the machine network.

Questions asked

Why does the strip-chart command succeed while the panel never synchronizes?

The command runs on the Windows station, so it proves only that the station receives samples on its own route. The panel can still sit on a subnet or VLAN where the NTP port is filtered, or fail to resolve a server name that the station resolves. Move a laptop onto the panel's switch or subnet and run the same command against the same address; if it answers there, the route is clean and the panel's applied configuration is the remaining suspect.

Does a 10 s read interval mean the panel synchronizes within 10 seconds?

No. The interval sets how often the panel asks, not how fast a change takes effect, and a working pair moves the clock on the first read after the settings are applied. One field report saw synchronization take five minutes to an hour after startup with no change at all, and arrive quickly each time an NTP parameter was changed. Judge the client by whether any read is answered, not by the interval.

What should I record before escalating this to support?

Capture the exact panel model and its full firmware build from the device's info page, not the word latest. Add the TIA Portal version and update, the server entry exactly as the panel holds it, the address form used, the strip-chart result from the station and, if possible, from the panel's own subnet, the result with internet servers, and whether a configuration reload triggered synchronization. That set separates a stuck configuration from a filtered route on the first read.

Why did synchronization start working after I changed an NTP setting?

Reapplying a value forces the panel runtime to reload its time configuration and send with the values currently configured, instead of whatever state it was holding. In one field report synchronization followed within about 10 s of changing the synchronization time or the server IP, every time. Treat the change as a diagnostic and a workaround rather than a documented fix, and keep the firmware build on record in case an update changes how the runtime applies time settings.

Keep reading

  • Troubleshooting

    Troubleshooting SNTP clock sync on a Windows CE panel

    A Windows CE panel that loads the time service but never sets the clock is failing on the hostname: put a numeric NTP server address in the server value and run the refresh against NTP0:. A one-hour offset is the AutoDST daylight-saving setting, and a six-minute residual is an update that had not been applied yet — the clock was correct to the minute after the next refresh.

    HMI and touchscreens

  • Explainer

    Unified Comfort panel OPC UA client and server roles in V17

    From V17, a Unified Comfort Panel offers both an OPC UA server and an OPC UA Data Access client, so it exchanges process data with a third-party controller in either direction. Each connection pairs one server endpoint with one client; two clients cannot talk to each other. Unified PC Runtime adds the connection to OPC UA servers in V17; pick the panel's role from what the controller's specification says it provides.

    HMI and touchscreens

  • Troubleshooting

    Unified Comfort panel X2 PLC connection that stays down

    When a Unified Comfort panel's PLC connection stays down after moving from X1 to X2, a working SmartClient session and error-free downloads only prove connectivity and transfer, not that the runtime established its configured PLC connection. In the reported case, communication returned only after the panel image moved from V16.00.00.01_17.01 to V16.00.00.03_03.01.00.36, so verify the X2 interface assignment, then update the image before rebuilding the project again.

    HMI and touchscreens

Unified Comfort Panel CPU architecture for Docker images