Short answer: the controller is being told to stop, and the message almost always comes from the cabinet rather than the program — drive noise coupled into its wiring, or a sag at its supply terminals. Keep every drive power conductor 4 in [100 mm] away from every control conductor, and land the motor cable screen 360 degrees at the drive end. Suppress the relay and contactor coils, and fit the line filter the drive datasheet names. The program already survives a power cycle, so memory is fine and a memory module buys you nothing. When one controller model runs for years in other cabinets and stops only in this one, the cabinet is the fault. Here is how to find the path that carries the command and close it.
What the symptoms point to
Read the fault before you touch a wire; each symptom below closes off a branch of the search.
- The program is intact after a power cycle. Retention did its job, so memory is not your problem. A memory module preserves the program, never the operating mode, so it cannot stop this.
- STOP arrives with nobody near the machine. Something on the mode path acted on its own: an input assigned to mode control, a communication write, or the controller's own fault logic.
- The same model runs clean in other cabinets. Compare cabinets, not controllers. Routing, bonding, duct layout and the supply are what differ from site to site.
- A drive switches inside the same box. Three coupling paths open at once: conductor-to-conductor crosstalk, radiation from the motor cable, and noise or a sag on the shared supply.
- A power cycle clears it until next time. The reset also erases the evidence. Capture the mode LED, the fault buffer and the drive status before you cycle anything.
The password changes none of this: it guards program access, and anything that can command STOP acts without it. Stop the machine the documented way when a stop is needed, and leave password work to the vendor's documented procedure with the program owner.
Why the drive is the first suspect
A drive's output stage chops the motor current at a carrier frequency of 4 to 16 kHz, the range small-drive manuals list, and every switching edge couples into whatever runs beside it. The coupled voltage can reach levels a controller reads as a real signal. A false signal on a mode input is a STOP command, and no password stands in its way.
The invitation is usually physical. Drive power lines bundled with 4-20 mA or IO-Link wiring in one duct are the classic case; long parallel runs between drive and controller come second. The claim that the same program runs clean at other sites proves less than it seems. Cable routes, bond quality, supply impedance and duct layout all change from site to site. The same logic can sit quietly in one cabinet and misbehave in the next, so check what was built against the layout and wiring separation rules for a cabinet that holds both a PLC and a drive.
Three coupling paths, and how to check each
Work down the table in order; the first two paths explain most of these faults.
| Likelihood | Coupling path | What points to it | How you check it |
|---|---|---|---|
| 1st | Crosstalk: control conductors pick up drive power | Control and power sharing a duct; long parallel runs; events just after a drive start | With the drive running, lift and press each harness while you watch the mode LEDs and inputs; an event that follows the movement names the cable |
| 2nd | Supply sag or interruption at the controller's terminals | Events cluster with contactor inrush or big starts; warm or loose supply terminals | Record the controller's supply terminals for a week with a power-quality recorder; compare the deepest sag with the supply's hold-up time |
| 3rd | A mode command through the control system | An input wired to mode control; an HMI or supervisory write at the event time | Trace the mode input and log its state; read the communication logs; the password holder reviews the mode logic |
| 4th | A defective controller | None of the above reproduces the fault | Swap only after the cabinet variables are corrected; clean cabinets elsewhere argue against the hardware |
Put the recorder across the controller's supply terminals, AC side and 24 V DC output both. A sag that outlasts the supply's hold-up time resets the CPU exactly as a power cycle would, and the datasheet prints that hold-up figure. Isolate and verify absence of voltage before you open anything. Measure with instruments rated for the circuit; a grounded bench oscilloscope probe has no place on mains conductors. Re-torque the supply terminals while you are in there, because a loose terminal mimics every other cause on this list and is the cheapest one to rule out.
The fix, in the order that pays
Each step removes a path the next step no longer has to fight.
- Separate the routes. Hold 4 in [100 mm] of air between drive power conductors and every control conductor, run them in separate ducts, and cross at 90 degrees where a crossing is unavoidable. Keep each duct at or under the 50 % interior fill that duct fill tables allow, a figure duct makers tie to NFPA 79-2012 section 13.5.2, and space the rail and duct as the backplate layout guide sets out.
- Screen the motor cable. Run the motor leads in screened cable, land the screen 360 degrees at the drive's entry, and terminate the motor end the way the drive manual shows. A pigtail re-radiates most of what the screen caught. Bond analog and communication screens at one end only, at the controller; the grounding and bonding guide covers the rest of the screen and earth path.
- Suppress every coil. Fit an RC network across AC contactor coils and a varistor across DC coils, matched to the coil's voltage. An unsuppressed coil drives a spike into the supply every time it drops out.
- Filter at the drive, not three feet away. Install the line filter and input suppression the drive datasheet names, bolted at the drive's supply terminals with the shortest leads you can make.
- Bond for high frequency. The steel backplate is the reference plane. Scrape the paint from every lug seat, because NEC 250.12 requires nonconductive coatings removed from threads and contact surfaces at grounding and bonding connections, then strap the drive's EMC terminal to the plate with the shortest bond you can.
When you want the same cabinet as a commissioning sheet, the VFD wiring checklist walks it in the same stop, bond, filter order.
Fitting the separation around a 0.5 hp drive in a 16 in plate
Take the case at hand: a 0.37 kW (0.5 hp) drive sharing a wall-mount box with its controller. The separation rule below is fixed; the gear widths are example figures, so replace them with your own before you order anything.
- Separation rule: 4 in [100 mm] between drive power conductors and every control conductor.
- Drive zone: the drive, its line filter and the motor gland occupy 6 in of plate width.
- Control zone: the controller, its 24 V DC supply and the terminal strips occupy 5 in, served by a 2 in duct.
The rule in words: the clear plate width must cover the drive zone, the separation and the control zone, and when it cannot, the separation is the first thing a builder trims.
Arithmetic: 6 in + 4 in + 5 in = 15 in of clear plate width. A 16 in plate clears it with 1 in to spare. A 12 in plate comes up 3 in short, and that 3 in comes straight out of the separation — which is how the symptom returns after a tidy-looking rebuild.
Decision: under about 15 in of clear plate width, widen the box or split the drive out. A wider plate costs less than one week of intermittent STOP events, and the drive zone also wants interior depth for the filter and the motor tail, so check that against the box depth before you order.
Prove the fix held
- Run the drive through its full speed range for 30 min with the recorder still across the controller's supply terminals. You want no STOP event and no sag deeper than the supply's own ride-through.
- Wiggle every harness under power, especially the runs you moved. The fault must stay away while the cables flex.
- Log the drive-run contact and the controller's mode on one time base for a week of production. The correlation chart either convicts the cabinet or clears it.
- Re-torque the power terminals at the next shutdown and walk the gland fields for anything added since.
A cabinet that passes all four stays quiet; a cabinet that fails one sends you back to the table above, one row higher.
When the box itself is the answer
Steel screens radiated fields; plastic does not. A gasketed stainless wall-mount box rated NEMA 4X / IP66 by the manufacturer (not UL listed) keeps that screen continuous around the door, and every extra plastic gland or field-cut hole leaks a little of it back. Put the motor gland at one end of the bottom face and the control glands at the other, so the two harnesses never share an entry field. The 304 and 316L NEMA 4X wall-mount range is built for exactly this kind of washdown and outdoor duty.
Order the cutouts with the box instead of drilling later. Our custom stainless enclosures take any cutout pattern, delivered in 10 business days from your approval of the drawing, and the cutouts, glands and HMI windows guide shows how to dimension each hole without spoiling the seal.
If STOP events persist after all of this, stop trimming the cabinet and split it: the drive moves to its own gasketed steel enclosure a few feet away, the motor cable leaves at its own gland field, and the control cables cross the gap once, at right angles. Distance, routing and a bonded steel wall are what actually shield the controller once the drive moves out.
Catalog dimensions to compare
Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.
| Enclosure | Material | Outside H x W x D / display | Rating |
|---|---|---|---|
| 60 × 36 × 16 in | 304 stainless | 60 x 36 x 16 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 48 × 36 × 16 in | 304 stainless | 48 x 36 x 16 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
| 60 × 36 × 12 in | 304 stainless | 60 x 36 x 12 in | Rated NEMA 4X / IP66 by the manufacturer; not UL listed |
Questions
Does the program password have anything to do with the STOP events?
No. A password guards access to the logic and has no authority over the operating mode, so it can neither cause nor prevent a STOP transition. An input assigned to mode control, a communication write or the controller's own fault logic all command STOP without it. Use the machine's documented stop when you need one, and leave password work to the vendor's documented procedure with the program owner's say-so.
Why does a drive interfere with a controller in the same box?
The drive's output chops the motor current at a carrier frequency, typically 4 to 16 kHz on compact drives, and every switching edge couples into nearby wiring. Enough of that energy can arrive for the controller to read a false signal, which is one way a STOP command appears from nowhere. Separation, a screened motor cable and the drive's own filter cut the three paths in turn.
Will a memory module or a bigger supply stop the dropouts?
A memory module protects the program, never the operating mode, and the program already survives a power cycle, so it buys nothing here. A stiffer supply helps only when the recorder catches a sag longer than the controller supply's hold-up time, tens of milliseconds for a typical switching supply. If the supply rides through the event untouched, put the effort into separation, screens and suppression instead.
When should the drive move to its own enclosure?
When STOP events continue after separation, screened motor cable, coil suppression and the drive's filter are all in place, split the cabinet: a gasketed steel enclosure beside the panel for the drive, the motor cable leaving at its own gland field, and the control cables crossing the gap once, at right angles. A drive of this size shares a box comfortably; larger ones earn their own walls sooner.





