Troubleshooting
Why an HMI VNC client fails three times at power-up
Short answer
Three failed VNC connection dialogs at power-up mean the HMI's VNC client is ready before the PLC's VNC server: with a 5 s retry and a PLC that needs about 40 s to boot, the first attempts land inside the boot window and fail. Rule out cabling and addressing with an HMI-only power cycle, then fix it by delaying HMI power with an on-delay relay, or run firmware that waits out the PLC boot.

On this page
- Why does an HMI VNC client fail three times at power-up?
- Is the Ethernet cable or the IP setup the cause?
- How do you prove it is boot timing before changing anything?
- Did a firmware change make the connect slower?
- Will a longer timeout or more retries hide the Cancel button?
- How do you make the panel wait for the controller without touching firmware?
- When is loading the older firmware the right fix?
- Which fix do you commission on your machine?
- Questions asked
Three failed VNC dialogs at power-up, each carrying a Cancel button, are boot-order timing, not a communication fault: the panel's VNC client is ready before the controller it serves, so its early attempts land inside the controller's boot window and fail while the server socket is still closed. No tag, ladder, cable or address change affects it. The reported case is a Unitronics USL-101-B05 Lite panel whose screens are served over VNC by a USC-B5-B1 controller across one point-to-point patch cable. Below: how to prove the timing in minutes, what the firmware builds do, and the two fixes that hold.
Why does an HMI VNC client fail three times at power-up? #
Because the panel's VNC client is ready before the controller is: it opens a connection every 5 s, the controller's VNC server does not start listening until its boot finishes at about 40 s, so the first three attempts land inside the boot window and fail. Each dialog is one TCP connect attempt to the server address that cannot succeed while the server socket is closed. Until a session exists, the panel reads nothing from the controller, which is why tags, ladder logic and project content have no effect on this symptom.
| What you see at a cold start | What it means |
|---|---|
| Failed-attempt dialog with Cancel, repeating while the controller's status LEDs cycle | Client retrying while the server socket is still closed |
| Main screen appears as the controller finishes booting | Server accepted the session; behavior is normal from there |
| No dialogs when only the panel is power-cycled | Controller already serving; this isolates the cause to boot order |
The Cancel button is the reason to fix this rather than tolerate it: leave the button where an operator can reach it and someone will eventually press it and open the client settings.
Is the Ethernet cable or the IP setup the cause? #
No: the reported case runs one 1 m patch cable point-to-point with both devices on 192.168.10.x, and the session forms every time once the controller is up, which is the signature of timing, not of a wiring or addressing fault. The panel sits at 192.168.10.202 and the controller at 192.168.10.200 with nothing between them. Cabling and addressing faults produce failure at any hour of the running day, not a fixed burst of dialogs followed by a normal shift.
Two checks close the question:
- After the system is up, power-cycle only the panel. A first-attempt connect with no dialog clears the cable, the ports and the addressing in one move.
- Swap the patch cable once if you want belt and braces; a marginal cable shows up as intermittent drops during running, not only in the boot window.
A session that never forms at all is a different hunt: the case in why an HMI Ethernet port locks up until power cycle covers a dead port, and why an HMI VNC client may not connect to a third-party VNC server covers a server that never accepts your client.
How do you prove it is boot timing before changing anything? #
Cold-start both devices with a stopwatch and record three times: power-on to the first failed dialog, power-on to the last failed dialog, and power-on to the main screen; the timing explanation is proven when the main screen lands at the controller's ready moment.
- Remove power from panel and controller, wait a few seconds, then reapply both together.
- Record the time to the first failed dialog; that is the panel's own boot plus its first attempt.
- Record the spacing between dialogs; they should sit one retry interval apart.
- Record the time to the main screen and watch the controller's status LEDs; the screen should appear as the boot ends, not before.
- Repeat the cold start at least three times; boot time moves with stored program size and with how the controller lost power last time.
If the main screen appears well before the controller finishes booting, or dialogs also show up when only the panel is recycled, stop: the fault is not boot order, and the timing fixes below would mask a different problem instead of solving it.
Did a firmware change make the connect slower? #
The VNC protocol did not change; the reported case ties the dialogs to panel firmware: the same 2022 project shows no failures on 2022 hardware, while new hardware shipped with firmware 1.35.227 repeats the dialogs, and loading firmware 1.32.63 onto the same panel stops them entirely. What changed is when the client opens its attempts relative to the server, not how the two ends talk once connected. The exact release that introduced the behavior is not identified, so read the release notes for the builds between those versions.
| Panel build | Cold-start behavior in the reported case |
|---|---|
| 1.32.63 (17 August 2021) | Waits out the controller boot, then connects; no failed-attempt dialogs |
| 1.35.227 (shipped June 2025) | Failed attempts with Cancel through the boot window, then connects |
| 1.45 (reported as current) | Vendor advice: update and retest, with a long timeout and high retry count |
Read the version on your panel before you tune anything; every decision below depends on the build you find there.
Will a longer timeout or more retries hide the Cancel button? #
Only if the build honors them: the vendor's advice for current firmware is a long timeout and a high retry count to keep Cancel blocked, but a field test at a 30 s timeout changed nothing, so test it on the build you ship. The timeout stretches how long one attempt waits for a reply and the retry count stretches how many attempts are made; in the reported test the dialog cadence stayed identical, meaning that build ignored the setting. A very long timeout has its own cost: a genuinely dead server leaves the operator staring at a blocked dialog instead of a clear failure.
Where the setting lives also varies by platform: on a Siemens runtime panel a support-forum answer points to a VNC timeout you activate from the HMI Runtime settings, not from a client dialog.
- Update the panel to the vendor's latest published build.
- Set a long timeout and a high retry count.
- Cold-start the pair and count the dialogs.
- If the count is unchanged, stop tuning and take the ticket route with your measured times.
For a machine that ships, do not commission on an unproven setting; use the supply delay in the next section and treat timeout tuning as something to verify, not a fix.
How do you make the panel wait for the controller without touching firmware? #
Delay the panel's supply with an on-delay relay so its first connection attempt lands after the controller's VNC server is listening; in the reported case a 20 s delay clears the dialogs on any firmware version.
Worked example from the reported pattern. The controller's VNC server begins accepting at about 40 s after power-on. The panel shows three failed attempts spaced 5 s apart, so the attempt that succeeds is the fourth slot, 15 s after the first attempt. First-attempt time = 40 s - 15 s = 25 s, which is the panel's own boot. On-delay setting = controller ready 40 s - panel boot 25 s + 5 s margin = 20 s. Measure both times on your machine with a stopwatch and run the same two subtractions with your numbers; these figures are the reported case, not a universal default.
| Method | How it works | Trade-off |
|---|---|---|
| On-delay timer relay in the panel supply | Contact closes a fixed time after the panel supply appears | Fixed time; set it from measured times plus margin, and the panel sits dark during the delay |
| Controller output through an interposing relay | The program energizes the relay once the program is running | Tracks the controller exactly, but the panel goes dark whenever the controller faults or sits in stop |
If you use the controller-output method, size the interposing relay so the output stays inside its rated load. Wire the delay into the panel's ordinary control supply, never into a safety circuit, and keep the panel alive on any machine whose operator needs status during a stop. Set the relay delay to controller-ready minus panel-boot plus margin, then prove it with repeated timed cold starts.
When is loading the older firmware the right fix? #
Choose the downgrade when a supply-side delay is impractical and the application tolerates the older image: in the reported case, loading the 2021 build onto the new panel stopped the dialogs, and the panel then waited out the controller boot before connecting.
- Record the version currently on the panel in the commissioning file.
- Get the target build from the vendor or its distributor, never a third-party mirror.
- Load it with the vendor's documented update procedure for the model.
- Re-read the version on the panel and confirm it shows the build you intended.
- Re-enter the VNC client settings, because an update can clear them, then cold-start both devices and watch for a clean connect.
The cost is real: any replacement panel arrives on current firmware and needs the same downgrade, and the unit misses whatever the newer releases fix. Keep the installer and a rollback note with the machine file.
Which fix do you commission on your machine? #
Fix the boot order, not the symptom: the durable fix is delaying the panel's supply until the controller serves VNC, the downgrade is the fallback when a relay is impractical, and timeout tuning ships only after a cold start proves zero dialogs on your build.
- Machine an end user powers, resupplies or replaces parts on: the supply delay; it works on every build and survives panel swaps untouched.
- Machine you service yourself, with a fleet you can document: the downgrade is acceptable if recorded in the machine file.
- Verify-first path on any machine: newest build, long timeout and high retries set, timed cold start, and a ticket with the vendor carrying your models, versions and measured times if the dialogs persist.
Whatever you choose, the pass test is the same: timed cold starts, several in a row, zero failed-attempt dialogs, and a main screen that appears when the controller is ready.
Questions asked
Does the operator pressing Cancel break anything?
Cancel aborts only that connection attempt; it does not stop the controller or clear any tag. The real damage is what an operator does next: opening the VNC client settings and changing the server address, the retry behavior or the encoding, which can leave the panel without screens at the next start. That is why the fixes remove the dialog instead of relying on operators to ignore it.
Did the VNC specification change to cause this?
No. The protocol is identical on the old and new builds, and sessions work normally once they form. What moved is the panel's connect behavior at start: the newer build opens attempts straight away instead of waiting for the server to listen. The change lives in the panel's firmware releases, not in VNC, which is why a firmware change alters the pattern while no network change does.
Will the dialogs come back on a replacement panel?
Yes, if the replacement ships with current firmware and nothing else changed: it will open failed attempts during the controller boot exactly like the panel it replaced. The supply-side delay survives the swap without rework, while a firmware downgrade has to be repeated on every replacement panel and recorded in the machine file so the next technician knows it was done.
Can a switch or a longer cable fix it?
No. The reported case already runs a short point-to-point patch cable with no switch in between, and the attempts still fail during the boot window. Network hardware changes which device wins the link negotiation, not whether the controller's VNC service is listening. Reach for switches, cable swaps and addressing checks only when the failure is persistent instead of confined to the start.
What should a support ticket to the vendor contain?
Give the panel and controller models, the firmware version running on each, the measured time from power-on until the controller's VNC service accepts connections, the retry interval configured in the client, and the failure count and dialog pattern from a timed cold start. Those items let the vendor match your build against the releases where the connect behavior changed.
Where does the VNC timeout setting live on other platforms?
Not always in the client dialog. On Siemens runtime panels, for example, a support-forum answer points to a timeout setting that you activate from the HMI Runtime settings rather than from the VNC client page. Wherever the setting sits on your platform, the test is the same: set it long, cold-start the pair, and check whether the dialog count actually drops.


