Plain English: Code 31 indicates your Cummins Onan generator is running at an unsafe speed—faster than 3400 RPM—and the control module has triggered an alarm to protect the engine from damage.
What Code 31 Means
When your Onan MicroLite, MicroQuiet, Marquis Gold, QG, or RV QD generator displays code 31, the engine speed has exceeded safe operating limits. The onboard diagnostic system constantly monitors RPM through a sensor, and when it detects sustained speed above 3400 RPM, it flags this as an overspeed condition and shuts down or limits power output to prevent mechanical failure.
This is a protective alarm, not a minor warning. An engine spinning too fast can cause severe damage to internal components—bearings wear prematurely, pistons can strike valve heads, and fuel consumption spikes dangerously. The alarm exists because running overspeed, even briefly, shortens engine life and creates a safety hazard.
Common Causes of Overspeed (Code 31)
1. Governor Control Issues
The engine governor is a mechanical or electronic device that regulates fuel flow to maintain steady RPM. If the governor linkage becomes stuck, disconnected, or damaged, the engine can race uncontrolled. This is the most common cause of overspeed faults in Onan generators.
2. Fuel System Problems
A stuck fuel injector, clogged fuel filter, or contaminated fuel can cause erratic engine behavior. In some cases, the fuel system may deliver too much fuel at idle or under light load, causing the engine to accelerate beyond the governor’s ability to control it.
3. Load Shedding or Sudden Unload
If your generator is running under load and suddenly the load drops (for example, a large appliance shuts off), the engine may briefly overspeed before the governor can respond. Normally this is brief and self-correcting, but if the governor is sluggish or damaged, overspeed can persist.
4. Speed Sensor Malfunction
The RPM sensor tells the control module how fast the engine is turning. If this sensor fails or sends incorrect signals, the control system may misinterpret normal operation as overspeed, triggering a false alarm. Alternatively, a faulty sensor might fail to report true overspeed, masking a real problem.
5. Control Module or Wiring Fault
Loose battery connections, corroded terminals, damaged wiring harnesses, or a failing control module can cause erratic speed regulation or false overspeed codes.
Diagnostic Checklist
- Check the battery and connections. A weak or dead battery prevents the control module from functioning properly. Ensure both battery terminals are clean, tight, and free of corrosion. Test the battery voltage with a multimeter—it should read 12V or higher when the engine is off, and 13.5–14.5V when running. Replace the battery if it’s weak.
- Inspect the fuel tank and filter. Drain the fuel tank into a clean container and look for water, sediment, or debris. If the fuel is dirty or discolored, empty the tank completely, rinse it, and refill with fresh, clean fuel. Replace the fuel filter as well. Contaminated fuel is a common culprit.
- Check all visible wiring and connectors. Walk around the generator and look for loose, cracked, or corroded connectors, especially around the control module, speed sensor, and governor linkage. Gently wiggle connectors while the engine is off to see if any are loose. Tighten any loose connections and clean corrosion with a wire brush or contact cleaner.
- Inspect the governor linkage (if accessible). Consult your manual to locate the governor arm or linkage. Look for bent rods, stuck pivots, or disconnected springs. The linkage should move freely when you gently push it by hand (engine off). If it’s stuck or binding, it may need cleaning or lubrication. Do not force it.
- Listen for unusual engine sounds during startup. Start the generator and listen for knocking, grinding, or whining noises that might indicate mechanical damage. If you hear these sounds, stop the engine immediately and do not restart it.
- Check the load on the generator. If code 31 appears only when the generator is running under heavy load, the problem may be load-related. Try running the generator with minimal load (just the control module and a small light) to see if the code clears. If it does, the issue may be a weak governor response under load.
- Review recent service history. If the code appeared after maintenance, a technician may have accidentally disconnected the governor linkage or speed sensor. Check that all components are properly reconnected.
- Reset the control module. Some Onan generators allow you to clear fault codes by turning off the main breaker for 30 seconds, then turning it back on. Consult your owner’s manual for the correct reset procedure for your model. If the code returns immediately, the underlying fault is still present.
When to Call a Pro
Stop troubleshooting and contact an authorized Cummins Onan dealer immediately if:
- The engine is making grinding, knocking, or metal-on-metal sounds
- The overspeed code returns within minutes of a reset, even under no load
- The generator will not start, or starts but immediately shuts down
- You smell burning fuel, oil, or electrical odors
- The battery voltage is below 10V and does not recover after charging
- You are uncomfortable working with fuel systems or electrical components
- The governor linkage appears bent, cracked, or severely corroded
Overspeed faults can escalate quickly. Running an overspeed engine for extended periods risks catastrophic internal damage that is far more expensive to repair than addressing the root cause now. When in doubt, have a technician diagnose the issue.
Parts You May Need
- 12V battery (if weak or dead)
- Fuel filter
- Fresh gasoline or diesel (depending on your model)
- Spark plug (for gasoline models)
- Oil and oil filter (routine maintenance while troubleshooting)
- Electrical contact cleaner (for corroded connectors)
- Wire brush or fine sandpaper (for terminal cleaning)
Frequently Asked Questions
Q: Can I run my generator with code 31 active?
A: No. Code 31 is a protective alarm that indicates unsafe engine speed. Running the generator while this code is active risks severe engine damage. Most Onan control modules will limit power output or shut down the engine to prevent overspeed. Always address the code before resuming normal operation.
Q: Is code 31 always caused by a mechanical problem?
A: Not necessarily. While mechanical issues like a stuck governor are common, electrical faults—such as a failing speed sensor, loose battery connection, or corroded wiring—can also trigger code 31. Start with the simplest checks (battery, connections, fuel quality) before assuming a mechanical failure.
Q: How long does it take to fix an overspeed fault?
A: It depends on the cause. A loose battery terminal or dirty fuel filter can be fixed in 15–30 minutes. A stuck governor linkage might take an hour to clean and free up. A faulty control module or speed sensor typically requires a technician and may take several hours if parts need to be ordered. Have a technician diagnose the specific cause for a realistic timeline.
Q: Will a bad speed sensor always cause code 31?
A: Not always. A faulty speed sensor might trigger code 31, but it could also cause other codes or prevent the generator from starting. If you suspect a sensor fault, have it tested with a multimeter or replaced by a technician to rule it out.
Disclaimer
This article provides general information about Cummins Onan code 31 and is intended for educational purposes only. It is not a substitute for your generator’s owner’s manual or service documentation. Always consult the manufacturer’s manual for your specific model before performing any maintenance or troubleshooting. Generator service involves hazardous components including fuel, electricity, and moving parts. If you are not trained in small-engine repair or are uncomfortable working with these systems, contact an authorized Cummins Onan dealer. Improper service can result in injury, death, or equipment damage. The information in this article is current as of the publication date but may not reflect the latest updates or recalls. Check the official Cummins Onan website for the most current technical guidance.
Source: Information adapted from official manufacturer documentation (reference). Always consult your generator owner’s manual for model-specific procedures.