OBD-II reference

All 9.533 generic OBD-II codes, explained in detail.

Causes, inspection steps and sources — a comprehensive DIY archive. Created and maintained with love for the detail. Good luck and have fun!

Powertrain generic / SAE

P0040

O2 Sensor Signals Swapped Bank 1 Sensor 1/Bank 2 Sensor 1

On engines with two exhaust banks, the control module checks whether the upstream oxygen sensors are assigned to the right bank. It changes the mixture on one bank only, actively or as part of normal bank-wise control, and watches which sensor responds. If the sensor that should sit on the other bank reacts, the signals are swapped. This logic is documented for the manufacturer-specific predecessor codes; the usual cause is connectors plugged in crosswise after a repair. If the swap remains, each bank is controlled by the other bank's signal, so fuel trims drift towards their limits.

SystemPowertrain
Typegeneric / SAE
GroupP0
Range / number– / 40

Possible causes

  • Sensor connectors plugged in crosswise after a repair high
  • Harness routed wrongly or pins swapped in a connector medium
  • Wrong harness, control module or calibration after a replacement low

Symptoms

  • Check engine light on
  • Fuel trim and mixture codes possible
  • Unstable idle or higher consumption possible

Inspection / repair

  • Difficulty: easy
  • DIY: possible

What Pro shows you for P0040

Before you go to the garage: roughly what the repair costs, how long it takes and which components are involved.

  • Repair cost (estimate)(visible in Pro mode)
  • Labour time(visible in Pro mode)
  • 3 affected components(visible in Pro mode)
  • 3 warnings for driving and inspection(visible in Pro mode)

See repair cost, labour time and components?

One key opens all tools by Fabian Brose.

Already have a key? · What is the workshop key?

Sources

References

How to read OBD-II codes

The first letter names the vehicle system, the second digit distinguishes generic from manufacturer-specific, the remaining digits group fault area and number.

PPowertrain: engine, transmission, emissions
BBody: chassis trim, comfort, interior
CChassis: suspension, brakes, steering
UNetwork: CAN, control modules, communication