The diagnostic code P0506 OBD2 usually appears on vehicles that do not have a regular throttle cable, which must be from the pedal to the engine.When this happens, the P0506 code is initiated when the PCM (Powertrain control module) notices an engine idle speed that is below the pre-programmed one.