A PLC that stops when a service laptop is connected almost always does so for one of four reasons: a duplicate IP address, a traffic flood or network sweep that overloads its stack, a connection to the wrong port that interrupts the cyclic exchange with the I/O, or a stop or download command sent by the software unintentionally. The PLC diagnostic log says which one. If it cannot be explained, treat it as a security incident.
Symptom
A technician connects a laptop to the PLC, or to the network the PLC is on, and the controller goes to stop or fault: the fault light comes on, the CPU state changes from “run” to “stop”, the outputs go to their safe state and the process or bay it controlled halts. Sometimes it happens the moment the cable goes in; other times when the engineering software opens, goes online or tries to read the program. Occasionally the PLC does not stop but loses communication with the SCADA or with its I/O while the laptop is connected.
The risk is twofold: the process stops, and the cause may be an unauthorized connection or a compromised machine. For the general framework of zones, conduits and access rules for service equipment, see the parent guide on industrial cybersecurity with IEC 62443. This guide covers reading the symptom, measuring and deciding.
Likely causes, from most to least likely
| Cause | How to recognize it |
|---|---|
| Duplicate IP address: the laptop has the address of the PLC or of another device on its network | The PLC or the I/O report an address conflict; the switch address table changes port when you connect |
| Connection to the I/O or fieldbus network instead of the engineering network | Cyclic exchanges with the I/O are interrupted and the PLC detects loss of communication with its modules |
| Laptop traffic that overloads the PLC network stack (network sweeps, automatic discovery, broadcasts, background applications) | The stop coincides with the start of a scan or a program; the log mentions watchdog timeout or communication overload |
| Engineering software action: stop, download, erase, online mode with a project different from the one loaded | The diagnostic log shows a user command at the time of connection |
| Serial adapter, USB or programming interface with an unsuitable voltage or ground reference | It happens when the physical cable is connected; it repeats on other devices; there is a potential difference between grounds |
| PLC selector in a stop position or in a remote mode that accepts commands from the network | The selector is not in “run” or is in a mode that allows remote stop |
| Compromised machine or one with unauthorized software | None of the above explains the stop, or foreign traffic shows up in the capture |
How to diagnose it
- Record what was done, in what order and at what time. Cable connected, software opened, online mode, read, action. The exact time of the first symptom is the most valuable piece of data.
- Read the PLC diagnostic log. Look for the cause of the last stop and its time: watchdog timeout error, module or I/O fault, user command, program error. The cause changes with each result: a user command comes from the software; an I/O fault, from the connection; a watchdog timeout, from overload.
- Check the connection. Verify which port and which network the cable was plugged into and confirm it is the engineering network, not the I/O or field network.
- Check addresses. Confirm that the laptop address is in the engineering range, outside those used by the devices, and does not repeat any. A sweep with the laptop disconnected shows which addresses are taken.
- Capture the traffic. With the mirror port of the switch the laptop connects to, watch at the moment of connection: broadcasts, repeated address requests, sweeps or traffic to the PLC other than what the engineering software generates.
- Check the laptop. Confirm its background services and programs, the engineering software used and the project version. A download or an online mode with a project version different from the one loaded can stop the PLC.
- Check the selector and the access protection. Confirm the PLC selector position and which commands external connections accept.
- If nothing explains the stop, treat the event as a possible incident: do not connect the laptop again, keep the log and the capture and notify the security officer.
What to do
- Duplicate IP: give the laptop a fixed address from the engineering range, outside those of the devices, or use the intended address service. Document the range.
- Wrong network: connect the laptop only to the PLC engineering port or to a dedicated maintenance access point, never to the I/O network. Label the ports.
- Excessive traffic: disable automatic device scanning, synchronizations and background applications on the laptop while it is connected. Do not run network sweeps against the PLC.
- Software action: work with the correct project, compare before downloading and put the PLC selector in the position that does not allow remote stop when it is not needed.
- Electrical reference: use quality adapters and connect the laptop to power and ground according to the PLC manufacturer’s instructions.
- Service equipment connection rule: use authorized laptops, with controlled software, malware protection and a connection log. See the rules for service laptops and USB drives.
- After the stop: do not put the PLC back in run without confirming the state of the process and the outputs, and without operations authorization.
What maintenance staff can correct: the laptop address, the port and the background programs. What needs a specialist: project changes, control network addressing changes and analysis of a possible incident.
Field checklist
- Operations authorized the connection and knows what the PLC does if it stops.
- The laptop is the authorized one, with controlled software.
- The laptop has a fixed address from the engineering range, not repeated.
- The cable goes to the engineering port, not the I/O port.
- Scans and background applications are disabled.
- The laptop project matches the one loaded in the PLC.
- The time of each step was noted.
- After any stop, the PLC log was read before restarting it.
Illustrative example
Generic situation. A technician connects a laptop to a port on a substation PLC network and opens the engineering software. In under a minute the PLC goes to fault. The PLC log indicates a communication fault with its I/O at the connection time. The cable was in a port of the I/O network switch, not the engineering one, and the laptop had the address of one of the I/O modules. The address conflict interrupted the cyclic exchanges and the PLC went to fault. The laptop address is reassigned, it is connected to the labeled engineering port and the PLC is put back in run, with the bay secured.
What not to do
- Do not connect the laptop to the PLC network while the process is running without coordinating with operations.
- Do not run network sweeps or discovery tools on a PLC in service.
- Do not use the address of an existing device “while it is switched off”.
- Do not download a project to the PLC without comparing it with the one loaded.
- Do not restart the PLC without reading the cause of the stop and checking the outputs.
- Do not work on energized I/O circuits: the intervention is for qualified personnel.
- Do not connect USB drives or laptops to the control network without authorization.
When to call us
If the PLC stops with no clear cause in the log, if you need to define engineering access with ports, addresses and rules, or if you want to review the addressing of your control network, we analyze the log, define the access and leave it documented. We configure it remotely. Write to us.
Related guides
- Industrial cybersecurity and IEC 62443: introduction
- Service laptops and USB drives in substations: rules
- Relays that lose the network when a laptop is connected
- What is a PLC: architecture and scan cycle
- OT network segmentation: zones and conduits
- Intrusion detection (IDS) in substation networks
References
- IEC 62443-3-3, Industrial communication networks – Network and system security – Part 3-3: System security requirements and security levels.
- IEC 61131-3, Programmable controllers – Part 3: Programming languages (operating modes and the controller program model).
- PLC manufacturer diagnostic and communications manual (last stop log and operating modes).
Frequently asked questions
Why does a PLC stop when I connect a laptop?
The usual causes are a duplicate IP address that breaks its connections, laptop traffic that overloads its network stack, a connection to an I/O network that interrupts its cyclic exchange and forces a fault, or an engineering software action (stop, download, online mode) that was run unintentionally.
How do I know which one it was?
Read the PLC diagnostic log: most PLCs store the cause of the last stop with date and time (watchdog timeout, I/O fault, user command, program error). Compare that time with the moment the laptop was connected.
Can a service laptop stop a PLC as part of an attack?
It can. If the log gives no clear technical explanation for the stop, treat it as a possible incident: isolate the laptop, keep the logs and check whether it had unauthorized software. The rules for connecting service equipment prevent both the accident and the attack.