Troubleshooting
Why an HMI Ethernet Port Locks Up Until Power Cycle
Short answer
When the panel stops answering ping and its embedded web server dies together with 'failed to open connection to plc', the whole embedded IP stack has wedged, not just the PLC driver. Pull the office-LAN uplink, soak the isolated segment past your longest logged gap between lockups, confirm the traffic class with a port-mirror capture, then segregate the control network behind a router or VLAN boundary.
On this page
- First, prove the whole stack is dead
- Firmware and model are not the variables
- Isolate the segment and soak it
- Capture the panel's port through a lockup
- Segregate the control network permanently
- Worked example: proving the office-LAN trigger on the two office panels
- Verify the fix with a second soak
- Questions asked
When an operator panel stops answering ping, its embedded web server stops loading and the screen shows "failed to open connection to plc" with an error code in parentheses — all in the same moment, cleared only by a power cycle or the restart option in the system menu — the panel's embedded IP stack has wedged. This is not a PLC driver fault, and it is not something a firmware update clears. The trigger is traffic reaching the panel over the LAN; the fix is to segregate the control segment and prove the fix with a soak.
The case behind this article: 10 in. and 15 in. Magelis XBTGT panels of about 2013 vintage, faulting at random intervals that began within the last 12 months after years of running; the same behaviour on a GXU unit at another site; and lockups that stopped on the two office panels once the uplink to the office LAN came out.
First, prove the whole stack is dead #
Start a continuous ping (ping -t on Windows) from a PC on the same subnet, and keep the panel's web page address ready, so both are live the moment the fault appears.
| What you see during the fault | What it means | What you do |
|---|---|---|
| Ping still replies, the web server still loads, only the PLC connection drops | The panel's IP stack is alive; the fault is on the PLC side | Leave this procedure; work the addressing and connection count as in fixing Modbus TCP addressing errors between an HMI and a PLC, or the dropout path in diagnosing intermittent HMI to PLC Ethernet comms hangs |
| No ping reply, web server dead, PLC error on screen | The embedded IP stack has stopped responding — this fault | Continue below |
| No ping reply, but the panel recovers when the cable is reseated or the switch port is cycled | Physical link or switch port | Replace the patch cable, move the port, retest |
Give the physical layer one minute first: a port showing no link is not detecting a link pulse from the far end, so check cable and port before blaming traffic. The signature you are confirming is the middle row — a fault that only a restart clears is a wedged stack, while a link fault clears the moment the link recovers. Do the restarts and the isolation work when the machine is in a state its operator can run without the screen; a panel that goes blind in production is an operating hazard, not a nuisance.
Firmware and model are not the variables #
Every affected panel already runs the latest firmware for the model, VD 6.2 SP12, and still locks up, so another update is not the fix. The onset is recent, on units that had run for years, which points at something that changed around them rather than at the panels. The same lockup on a GXU at another site rules out a single model's defect. List what changed on each affected LAN inside that window:
- IP telephony — one site began failing after its move to IP phones
- switch replacements
- VLAN or trunk changes
- router or DHCP changes
- new discovery, backup or management tools
A change common to the affected sites tells you where to point the capture first. If nothing is common, capture anyway; the phone timing is a lead, not a proven cause.
Isolate the segment and soak it #
You need timestamps of past lockups, because the longest gap between failures on the worst panel sets the length of every soak in this procedure. Call that gap G.
- Remove the uplink between the PLC/HMI switch and the office LAN; leave the panels and PLCs on their own switch.
- Run production with a continuous, timestamped ping to each panel, for longer than G.
- Read the result:
| Soak result | Meaning | Next |
|---|---|---|
| No lockup while isolated | The trigger arrives over the uplink — exactly what the two office panels showed | Segregate permanently, and capture to identify the traffic |
| Lockups continue while isolated | The trigger is local: a duplicate address, a switch loop or a failing switch | Check for duplicate IPs on the segment — an address conflict produces its own reachability faults, as in why a PC fails to reach an HMI when Wi-Fi owns its address — then swap the switch and capture on the isolated segment |
Capture the panel's port through a lockup #
You need a managed switch with port mirroring (or a network tap) and a PC running a packet analyzer, with the capture running when the lockup happens.
- Mirror the panel's switch port to the capture PC.
- Record a short baseline while the panel is healthy.
- Leave the capture and a continuous ping running together.
- When ping to the panel stops, stop the capture, save it, and compare the last seconds before the panel's final reply against that baseline.
| Observation in the last seconds | Mechanism | Action |
|---|---|---|
| Broadcast or multicast rate far above baseline — ARP, discovery, phone paging, multicast media | A small embedded stack processes every frame that reaches its port; a sustained flood starves it until it stops answering | Separate the panel from that traffic; enable storm control on the panel's access ports; enable IGMP snooping where multicast is present |
| Repeating identical frames, or one MAC address appearing on several ports | Layer 2 loop on the office network | Correct the topology and enable spanning tree (IEEE 802.1D, or rapid spanning tree) on those switches, so a loop blocks one port instead of duplicating every frame |
| Unusual unicast addressed to the panel's IP just before the final reply | One device is sending frames this stack mishandles | Identify the source MAC, take that device off the panel's segment, and open a case with the manufacturer's support carrying the capture, the model, the firmware version and the failure timestamps |
| Nothing above baseline | The trigger is not traffic volume | Filter the capture by the panel's IP address and open the support case with the capture attached |
Set storm-control thresholds from the switch documentation and your own baseline: above your worst healthy rate, below the flood rate the capture recorded.
Segregate the control network permanently #
This is the fix whenever isolation cleared the fault.
- Record the IP address, subnet mask and gateway of every HMI and PLC, and of every device that must reach them, then confirm the list against a scan of the segment.
- Put panels and PLCs on a dedicated switch, or on a dedicated VLAN with IEEE 802.1Q tagging in a managed switch.
- Keep IP phones, office PCs and control traffic in separate VLANs, and do not trunk the phone VLAN to the panel ports.
- Where the office must reach a panel — its web server, remote monitoring — connect through a router or firewall that permits only the needed ports, TCP 502 for Modbus/TCP among them, and never bridge the two segments at Layer 2. Test each permitted flow, then confirm on a capture at the panel port that unrelated broadcast no longer arrives.
- Apply storm control on the panel access ports and IGMP snooping where multicast exists.
- Use static addressing on the control segment and confirm no conflict is reported.
Worked example: proving the office-LAN trigger on the two office panels #
Inputs, with the source of each:
- Two panels on the office LAN, 10 in. and 15 in. Magelis XBTGT, about 2013 vintage, firmware VD 6.2 SP12 — the reported case.
- Symptom set: "failed to open connection to plc" with an error code in parentheses, web server dead, no ping reply, recovery only by power cycle or the system-menu restart.
- Onset within the last 12 months, after years of trouble-free running.
- G, the longest gap between lockups on the worse panel, in days, from your own failure record.
- Continuous ping at its default interval of one echo request per second.
Rule in words: an isolation test only counts if it runs longer than the longest gap the fault has ever shown, and the ping log is the evidence — its size is what makes the silence an observation rather than an assumption.
Arithmetic: one request per second is 60 × 60 = 3,600 requests per hour, and 24 × 3,600 = 86,400 requests per day per panel. A soak of G days therefore ends with G × 86,400 logged requests on each panel. On these two panels, removing the uplink stopped the lockups; if that quiet period has already outlasted G, the isolation leg is passed — if it has not, keep the uplink out until it does.
Decision: the isolation test passes only when the log reaches G days with zero unanswered requests and no PLC-connection error; anything shorter proves nothing, and any lockup that still needs a restart is a failure. With the isolation leg passed, the trigger is office-LAN traffic, the permanent answer is the segregation above, and the same G-day soak with the office LAN reconnected through the router or VLAN boundary is the acceptance test.
Verify the fix with a second soak #
- Restore the production configuration, with the office LAN reconnected only through the router, firewall or VLAN boundary.
- Start a timestamped continuous ping to every panel and keep the log.
- Confirm each PLC connection stays up and the lockup error does not reappear.
- Run past the longest pre-fix gap, through the hours when phone and office traffic peak. Zero unanswered requests and a web server that answers throughout is a pass.
Once the network is clean, a 2013-vintage terminal that is no longer worth repairing can be replaced with industrial panel PCs running the HMI runtime at the machine.
Questions asked
Does a firmware update fix this lockup?
Not in the case behind this article. Every affected panel had already been upgraded to the latest firmware for the model, VD 6.2 SP12, and still locked up, so firmware is not the variable that changed. Spend the outage window on the isolation soak and the port-mirror capture instead of another update.
The fault cleared when I unplugged the office LAN. Is that proof enough?
It proves the trigger reaches the panel over that uplink; it does not tell you which frames are doing it. That distinction decides the permanent fix: storm control for a broadcast flood, IGMP snooping for multicast, spanning tree for a loop. Capture the panel port through one lockup before you choose.
Can IP phones really lock up an HMI?
IP telephony adds broadcast, multicast and discovery traffic to a LAN, and in the reported case one site began failing after its move to IP phones. That is a strong lead, not proof. The capture settles it by comparing broadcast and multicast rates in the last seconds against the healthy baseline.
Why does the whole stack die instead of just the PLC connection?
A panel's embedded stack typically services the Ethernet controller, TCP/IP and the application on one processor with limited buffers, and every broadcast or multicast frame on the segment costs CPU and buffer there. A sustained flood starves all of it, which is why ping, the web server and the PLC connection die together and only a restart recovers them.
Do I have to make it fail again to prove the cause?
No. The evidence pair is a quiet isolation period that outlasted your longest logged gap between lockups, plus a capture whose last seconds before the panel's final reply show the flood class. Reproducing a lockup on a production panel buys another blind screen and no new information. Go straight to segregation and the verification soak.