The P0340 indicates a problem with the Cam position sensor.

The P0171 is likely a vacuum leak.

Neither indicate a CPS problem.

Steve


98 Contour SE Sport 2.5 Duratec ATX The wifey's car 89 Taurus SHO - 246K miles 94 SHO ATX - 190K 1997 F-150 5.4L ATX - The Workhorse 150K. ANY THREAD WITH "OMG" or "WTF" ETC IN THE TITLE WILL BE IGNORED!