Troubleshooting
Why an M221 USB login stops at 86% in Machine Expert Basic
Short answer
An M221 login that stops at 86 percent means USB discovery worked but the online session failed. Work the controller supply and USB path first, then the Modbus driver and open sessions, and only then the software build against the controller firmware. Firmware comes last, by SD card per the vendor procedure.
On this page
- What does the 86 percent stop actually tell you?
- Why does the device list show M221(usb) but login still fail?
- In what order should you work the fault?
- How do you check the controller supply and USB path first?
- Which driver and connection settings matter at login?
- When does the software build versus firmware pair become the suspect?
- What if the controller then disappears from USB and Ethernet completely?
- Questions asked
A login that stops at 86 percent over USB is not a driver error code or a firmware verdict: it is the point in the connection sequence where EcoStruxure Machine Expert Basic gave up, and the advisory names every branch still open. Discovery already worked, because the controller shows as M221(usb) under local devices, so the USB bus, the laptop and the cable enumerated the device at least once. What failed is the sustained exchange that establishes the online session. Work the fault outward from the physical layer: controller supply measured at the terminals, the USB path, the operating-system driver, competing sessions and the selected connection, and only then the software build against the controller firmware. Firmware replacement is the last step, not the first, because a failed write leaves you in a worse place than a bad cable ever will.
What does the 86 percent stop actually tell you? #
Stopping at 86 percent marks where the login sequence halted; it is a progress location, not a fault code, and the advisory that follows, to verify the USB cable, Modbus driver parameters, controller connection or power supply, is a list of branches to test, not a diagnosis of any one of them.
Treat the advisory the way you treat a PLC fault listing several possible causes: as an ordering problem. The software reached the controller once, so the questions that matter are about sustaining the exchange, not establishing it. Record the exact progress point and the advisory wording in your notes before changing anything, because a later comparison between attempts is often what isolates the branch.
Why does the device list show M221(usb) but login still fail? #
The device list and the login exercise different layers of the same link. Seeing M221(usb) under local devices proves the USB bus enumerates the controller; login needs a sustained exchange through the Modbus driver, and that exchange can fail after enumeration succeeds.
Enumeration is a short burst of traffic; a session holds the link open and steps through a handshake. An intermittent contact, a connector disturbed during the wait, a controller restarting mid-attempt or a driver that loads for detection but fails for session establishment all produce the same symptom: detection stable, login dead. That is why the checks below separate discovery from login instead of treating the two as one test.
In what order should you work the fault? #
Work outward from the cheapest and most likely cause: supply, USB path, operating-system driver, competing sessions, the software-versus-firmware pair, and a firmware write last, because a failed write is the hardest state to recover from.
- Measure the controller supply at the controller terminals during a login attempt and confirm it stays inside the range the controller documentation specifies.
- Connect the USB cable directly to a laptop port, no hub or docking station, and confirm the device stays present while the cable is stationary.
- Read the USB entry in the operating system's device manager and correct any reported driver fault.
- Close every other programming session and communication utility that could hold the controller, then retry login with M221(usb) selected.
- Record the installed software build and obtain the controller firmware revision, then compare the pair against the release compatibility documentation.
- Only if the pair is confirmed incompatible, update the controller firmware from an SD card using the vendor's documented procedure.
One safety note belongs here: do the supply measurements and any firmware work with the machine stopped and the process handed over safely, because a login, a download or a firmware write can stop or change controller outputs.
How do you check the controller supply and USB path first? #
Measure the controller supply at the controller's own terminals while a login attempt is running, and keep the reading inside the range the controller documentation specifies; a reading taken only at the power supply output hides a drop across field wiring.
A supply that holds at the power supply and sags at the controller, or one that dips only during the login burst, produces exactly this symptom: discovery fine, session dead. With power ruled out, work the USB path. Inspect the mini-B connector on the BMXXCAUSBH045 cable and the controller socket for damaged contacts or a loose fit, connect directly to the laptop rather than through a hub, and repeat the attempt on a second laptop port. Substitute a known-good compatible data cable; if login completes, repeat the connection twice more to confirm the improvement follows the cable and was not a coincidence. If the controller LEDs restart at the same moment the USB device disappears, the supply interruption is the fault; if the controller runs steadily while the operating system loses the device, stay on the USB path and its driver.
Which driver and connection settings matter at login? #
Open the operating system's device manager with the PLC connected and read the status of its USB entry; a reported driver fault there is a repair job for the software installation, not a controller fault.
Correct a driver fault using the Machine Expert Basic installation or the vendor's documented driver procedure, not a generic USB driver from elsewhere. The vendor also documents a related failure where the software reports it cannot launch its Modbus driver component, ModbusDrv.exe, and the fix there is again a documented repair or reinstall of the software on the PC. After the driver reads clean, close other programming sessions and communication utilities that could already hold the controller, reopen the software, and confirm the intended M221(usb) entry is the selected device. Record the communication configuration before changing anything, and leave serial Modbus parameters alone: the advisory mentions Modbus parameters, but a USB-selected session does not use them, and editing serial settings for a USB fault wastes a known-good configuration. Retry login once with no other change; if the device stays listed and the failure repeats, move to the version check.
When does the software build versus firmware pair become the suspect? #
Version pairing becomes the suspect only after supply, cable and driver checks pass, and matching version numbers alone is not the requirement: the installed software build and the controller firmware revision must both be supported together in the release's compatibility documentation.
Record the installed build before touching the installation. In the case behind this article, EcoStruxure Machine Expert Basic 1.2 build 65304 was already installed and the failure stayed, so reinstalling or upgrading the software was not a demonstrated cure and should not be your first move either. Obtain the controller firmware revision by a documented method: read it through a working connection, or use the vendor's identification procedure if login prevents reading it. Compare the two against the compatibility documentation for your software release. If the pair is supported, return to the laptop and USB path, because the fault is still physical or driver-side. If the pair is not supported, choose a supported combination before writing anything.
What if the controller then disappears from USB and Ethernet completely? #
A controller that vanishes from both USB and Ethernet after a failed attempt is no longer a driver or version problem: enumeration itself is gone, which points at the supply, the physical path or the controller's own availability.
Repeat the supply measurement at the controller terminals first, then a different cable directly into a different laptop port, and watch the controller LEDs for a restart. If firmware was written from an SD card and the device stopped appearing afterwards, repeat the vendor's documented SD card firmware procedure once from a known-good card before concluding anything; a partially completed write can leave the controller without a running configuration, and the documented procedure is the way back. If the controller still never enumerates after power, cable and the documented procedure have all been verified, stop and take the vendor's support channel: at that point the evidence says the controller hardware, not your configuration.
The decision, branch by branch: supply sags or controller restarts mid-attempt, fix the power; device drops while the controller runs, fix the USB path or driver; device stable and driver clean, close competing sessions and recheck the connection selection; pair unsupported in the compatibility documentation, align software and firmware; everything verified and the controller still silent, escalate to the vendor.
Questions asked
Can I log in to an M221 over Ethernet instead of USB?
Many TM221 controllers carry an embedded Ethernet port; confirm the port on your controller's documentation before counting on it. Set the connection type to Ethernet in Machine Expert Basic, put the PC and controller on the same subnet, and confirm the controller answers a ping before attempting login. Ethernet bypasses the USB driver layer but not a supply fault or a software-versus-firmware mismatch.
What does the Cannot launch ModbusDrv.exe message mean?
It means the software could not start its Modbus driver component, so no USB login can begin at all. The vendor documents this as an installation problem on the PC: repair or reinstall Machine Expert Basic and its drivers using the documented installer procedure, then retry the login. Do not chase controller firmware for this message; the controller is not the failing part.
Does a firmware update always fix a login that stops part way?
No. A software-versus-firmware mismatch is one branch among several, and updating is the last step because a failed write leaves the controller in a worse state than a bad cable does. Work the supply, USB path, driver status and competing sessions first, and write firmware only when the compatibility documentation confirms the installed pair is not supported.
Why does my controller vanish from the device list during login?
Disappearing mid-login points at the physical path or the controller's own availability rather than the software. A loose mini-USB connector, a hub or docking station, a sagging supply or a controller restart all break enumeration after the first scan succeeds. Move the cable directly to a laptop port, watch the controller LEDs for a restart, and measure the supply at the controller terminals during the attempt.