A first-time programming timeout on a text panel usually comes from the USB to RS-232 adapter or the COM number Windows assigned, not from the panel; a fresh unit's setup screen reading NO DRIVER LOADED is normal. Read the port in Device Manager, loopback the adapter between pins 2 and 3, then swap in a second adapter with the cable, panel and project unchanged. The completed download is the acceptance test.
When a text panel times out during its first programming session from a laptop, the fault is usually on the computer side of the cable: the USB to RS-232 adapter, or the COM number Windows has assigned. The setup screen on the panel, even with a field that reads NO DRIVER LOADED, is normal on a unit that has never been programmed. Work outward from the computer: read the port Windows actually assigned, loopback the adapter, then swap in a second adapter while the cable, the panel and the project stay untouched. A completed download, timed against the line speed, is what ends the argument.
What a serial timeout means
Programming software sends an opening frame, starts a timer and waits for the panel's reply. A timeout means the timer expired with no reply, and it says nothing yet about which link broke. The chain has five parts: the software, the Windows port, the USB to RS-232 adapter, the cable and the panel. RS-232 is a ground-referenced signal, so the panel and the adapter both need a proper ground; two devices sitting on separate floating supplies produce dead or erratic links.
Two neighbours look similar and need different articles. Messages that arrive and then vanish mid-session are covered in Fix dropped PLC-triggered messages on a serial HMI panel. A timeout that appears later, on a link that used to work, is covered in HMI to PLC serial timeout with a dead com light. This article is the first-session case, and on that case the adapter clears most often.
Read the panel's status screen first
Put the panel in setup mode and write down what it shows before touching anything. On a unit fresh from the box the screen lists firmware revision fields and a field that reads NO DRIVER LOADED. That is the expected text for a panel with an empty project slot, so the screen gives you no reason to open the panel's settings. Record it, leave the panel alone, and work from the computer outward. Every panel-side change made while the real fault sits in the adapter adds a new unknown to the chain.
Symptoms and what each points to
- Setup screen shows revision fields and NO DRIVER LOADED on a first attempt - normal on a fresh panel; the fault is upstream, on the computer side.
- The software remembers COM1 but Device Manager shows the adapter on COM4 - the software is talking into a port with nothing behind it; select the current number.
- Device Manager shows no COM number for the adapter at all - the driver is missing; install the driver from the adapter maker before anything else.
- The number changed after the adapter moved to a different USB socket - Windows can assign a new number per socket; re-read and re-select it.
- Timeout unchanged after the software's timeout was raised to 20 s - no data is moving; a longer timer just waits longer at the same dead point.
- The same COM port talks to a PLC but the panel software times out - the port existed and worked for one application; check the number selected in the panel software and loopback the adapter, because adapters can pass one program and time out in another.
- Two adapters and two computers all time out on the same cable - the cable or the panel; verify the cable pin for pin against the panel maker's programming-cable drawing.
Check the COM port Windows actually assigned
Open Windows Device Manager and read the number the adapter carries today. Windows can number serial ports from COM1 to COM256, and it can hand the adapter a different number whenever it moves to another USB socket or is reinstalled, so the number the software remembers is the first thing to retire. In the worked example below the adapter sits on COM4 and the software was left pointing at COM1; selecting COM4 is a ten-second fix that clears a share of these timeouts outright.
An open failure is a different fault from a timeout: if the software cannot open the port at all, follow Fix CODESYS COM.Open error 5004 on a serial port. The separation matters because an open failure points at the port or its driver, while a timeout leaves the whole path in play.
Loopback test the adapter
With the equipment powered down, jumper pin 2 to pin 3 on the adapter's DE-9 connector; pin 5 is signal ground and stays as it is. Open a terminal on the adapter's COM number at 9600 baud, 8 data bits, no parity, 1 stop bit, and type ten characters. Ten echoed characters mean the adapter and its driver work up to the connector; zero echoed characters mean the adapter never looped its own transmit back into its receive, and the adapter is dead. Move the jumper to the far end of the cable to bring the cable into the same test.
One safety note: never wire a TTL-level adapter to an RS-232 port. RS-232 valid levels run from 3 to 15 V of either polarity, while a TTL-level output swings only 0 to +5 V with no negative half; an RS-232 driver commonly swings to ±10 V or more, enough to destroy a TTL-level input. Power off before you move jumpers.
Worked example: a 50 KB project and a 10 second timeout
Scenario: a laptop with one free USB socket programs a text panel through a USB to RS-232 adapter and a 2 m cable; the panel runs from its own supply. The software's handshake timeout is 10 s and the port is set to 9600 baud, 8 data bits, no parity, 1 stop bit. The setup screen shows revision fields and NO DRIVER LOADED.
Line capacity first: at 8-N-1 every byte uses 10 bits, one start, eight data and one stop, so 9600 baud carries 9600 / 10 = 960 bytes per second. A 10 s timeout window could pass 960 x 10 = 9,600 bytes. A timeout on the opening handshake therefore means the return path carried zero bytes; this is a dead path, and slowness is a fault you measure only after data moves.
Device Manager lists the adapter as COM4; the software was left on COM1. Selecting COM4 and retrying still times out. The loopback at the adapter's connector returns zero of ten typed characters; a second adapter returns ten of ten, and with it the panel accepts the download. The project file is 50 KB, that is 50 x 1024 = 51,200 bytes, so the pure transfer takes 51,200 / 960 = 53.3 s, and the software reports 58 s including the panel's processing. The 2 m cable is nowhere near the length limit either: the RS-232 load limit of 2500 pF at a typical 50 pF per foot of cable gives 2500 / 50 = 50 ft, about 15 m, and this run is about 7 ft.
Decision: the cable, the panel and the project never changed while one part did, so the first adapter was the single fault. It leaves service; the laptop stays.
The fix: swap one part at a time
- Record the setup screen, including the NO DRIVER LOADED field, and leave the panel's settings alone.
- Read the adapter's COM number in Device Manager and select that number in the programming software. Retry once.
- Loopback the adapter between pins 2 and 3 and read the echo count out of ten characters.
- Swap in a second USB to RS-232 adapter. Re-read the COM number first, because the new adapter can land on a new one, and keep the cable, the panel and the project unchanged.
- If the second adapter completes the download, the first adapter leaves service. If it also times out, the suspects left are the cable and the panel: check the cable pin for pin against the panel maker's programming-cable drawing, and treat the panel as the fault only after a known-good adapter and cable both fail.
The acceptance test is a completed transfer, timed. At 9600 baud, 50 KB of file should take about 53 s of pure line time, so a download that lands in about a minute exercises every link in the chain. If this laptop programs panels and PLCs week after week, the serial interface belongs on the buying list next to the specs in What laptop specs do you need for PLC programming?, because an adapter that passes one tool and times out in the next is exactly this failure.
Recommendation: when a text panel times out on its first programming session from a laptop with a USB serial adapter, loopback the adapter, then swap in a second one while the cable, the panel and the project stay unchanged; retire the first adapter once the second completes a timed download. Open the panel's own settings only when a known-good adapter still times out on the same cable, and choose replacement adapters by a completed test transfer, since a port that talks to a PLC has already shown it can pass one program and time out in another.
Questions
Why does a fresh text panel show NO DRIVER LOADED in setup mode?
The setup screen is a status page that lists the panel's firmware revision fields, and on a unit that has never had a project downloaded the protocol-driver field reads NO DRIVER LOADED. That text describes an empty project slot, so it is expected before first programming, and the cause of a first-session timeout sits upstream. In these cases the failing part is nearly every time on the computer side: the USB to RS-232 adapter, its driver or the COM number selected. Complete one successful transfer and the field changes to reflect it.
Can Windows keep the same COM number for a USB serial adapter?
Windows assigns the number when it enumerates the adapter and can hand out a different one after the adapter moves to another USB socket or is reinstalled, which is why a session that worked yesterday times out today. Read the current number in Device Manager before every session and select it in the programming software. A setting in the adapter's driver properties in Device Manager fixes the number, so one fixed value survives replugging; set the software to match it once and stop re-checking.
How long should a panel project download take at 9600 baud?
At 9600 baud with 8 data bits, no parity and 1 stop bit, each byte uses 10 bits, so the line carries 960 bytes per second. A 51,200-byte project needs 53 s of pure transfer time plus the panel's processing, so a finished download in the 1 to 2 minute range is normal. The same file moves in about 27 s at 19,200 baud. If the software gives up inside the first 10 s, nothing was being transferred at all, which points at the adapter path and not at line speed.
Planning information, not legal or engineering advice. Rules differ by place: check codes and permits with your local authority and your licensed trades.