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!

Body generic / SAE

B0240

Headlamp Switch Circuit

Searching J2012 sources turned up no B0240, and no maker applies it to the headlamp switch; the identical title belongs to B0800. Saab gives the number another job: in the 9-3 climate system B0240 06 means the defrost door motor circuit is open or grounded, with wrong air distribution as a result, and B0241 01 that this motor is shorted to B+. Going by its title, the code concerns the light switch input. Modern switches rarely carry lamp current. In US7230350B2 a series resistor chain gives each position (Auto, Off, Park, Headlamp) its own voltage band, read by an 8-bit converter, and the bands stay clear of 0 and 255 so a grounded line or one shorted to battery lands outside all of them. US8125101B1 then falls back to the mode closest to the driver's choice.

SystemBody
Typegeneric / SAE
GroupB0
Range / number2 / 40

Possible causes

  • Worn or dirty contacts or resistor track inside the light switch high
  • Switch plug loose or corroded behind the dashboard trim medium
  • Signal line to the body module shorted to ground or supply low

Symptoms

  • Lights do not follow the switch position or fall back to a fixed setting
  • Automatic lights or parking lights cannot be selected

Inspection / repair

  • Difficulty: medium
  • DIY: possible

What Pro shows you for B0240

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)
  • 2 affected components(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