Ranger-Forums - The Ultimate Ford Ranger Resource

Ranger-Forums - The Ultimate Ford Ranger Resource (https://www.ranger-forums.com/)
-   4.0L OHV & SOHC V6 Tech (https://www.ranger-forums.com/4-0l-ohv-sohc-v6-tech-33/)
-   -   P0340 code (https://www.ranger-forums.com/4-0l-ohv-sohc-v6-tech-33/p0340-code-172182/)

Marsden 05-10-2023 04:20 PM

P0340 code
 
I finished putting back together my truck '03 ranger 4.0 sohc installed machined heads timed the camshafts using the timing tools. Got everything hooked back up but it will not stay running. Immediately is throwing the p0340 code camshafts position sensor a circuit bank 1 or single sensor. It actually shows it twice in my scanner. Please help, I'm at a loss and i hope it doesn't have to do with the timing...
edit: I installed new sensor and cleaned connections really good and it ran better for a little while but it is still giving me problems and still throwing the code.

RonD 05-11-2023 10:23 AM

P0340 Camshaft Position Sensor Circuit Malfunction
This is only 1 of the generic codes for cam sensor
P0340 Camshaft Position Sensor Circuit Malfunction
P0341 Camshaft Position Sensor Circuit Range/Performance
P0342 Camshaft Position Sensor Circuit Low Input
P0343 Camshaft Position Sensor Circuit High Input
P0344 Camshaft Position Sensor Circuit Intermittent

And it is a "circuit" code, which should mean one of the wires is disconnected or sensor is bad, or.............computer is bad
But it IS a generic code and not sure if 2003 computer had the P0000-P0099 codes yet or if your code reader can see those codes

Those lower codes have these
P0016 Crankshaft position/camshaft position, bank 1 sensor A -correlation Wiring, CKP sensor, CMP sensor, mechanical fault
P0017 Crankshaft position/camshaft position, bank 1 sensor B -correlation Wiring, CKP sensor, CMP sensor, mechanical fault
P0018 Crankshaft position/camshaft position, bank 2 sensor A -correlation Wiring, CKP sensor, CMP sensor, mechanical fault
P0019 Crankshaft position/camshaft position, bank 2 sensor B -correlation Wiring, CKP sensor, CMP sensor, mechanical fault

Which would come up if Crank Sensor and Cam sensor showed a mis-match in timing, i.e. a timing chain issue
But P0340 can have the same meaning, generic


While its a pain to do I would do compression test on all 6 cylinders to confirm cam/crank timing just to take that off the table
Cold engine
Remove all 6 spark plugs
Test each cylinder
Crank engine over with gas pedal pressed to the floor, this turns off fuel injectors and allows best air flow for compression test

WRITE it down
Move to next cylinder

4.0l SOHC runs 9.7:1 compression ratio, so 170psi is expected, but that really depends on the gauge and battery condition(cranking speed)
Point of compression test is the comparison of the PSI of all 6 cylinders

If compression is uniform across both banks and all cylinders , even if all are between 150-160psi its fine
Then you can surmise its an electrical issue

Marsden 05-11-2023 04:43 PM

Thank you, i did a compression check and the driver's side is about 100 psi on all 3 and the passenger side is around 200, so it's definitely a timing issue. I just don't see how because I did both sides the same way and used the timing tools that only go on one way. The only thing i noticed when i was disassembling was that the chain seemed loose compared to the other side and when i was assembling it was the same way after it was installed. I'll let you know if I see anything unusual when i get the valve cover off.

Marsden 05-11-2023 06:07 PM

Valve cover off, nothing broken or anything as far as i can see. I just don't like how loose this chain is....

RonD 05-11-2023 07:11 PM

The cam sensor is on drivers side which is why the code, it out of time with crank sensor

Google: Ford 4.0L SOHC Front Timing Chain Replacement (Without Special Tools!)

Front chain should be tight fit without tensioner even tighter with it, maybe wrong chain or wrong guides?

Marsden 05-11-2023 07:50 PM


Originally Posted by RonD (Post 2219104)
The cam sensor is on drivers side which is why the code, it out of time with crank sensor

Google: Ford 4.0L SOHC Front Timing Chain Replacement (Without Special Tools!)

Front chain should be tight fit without tensioner even tighter with it, maybe wrong chain or wrong guides?

I bought the truck with 22k miles on it so i don't think they had any engine work done. I don't know why it's so loose but I'm assuming it probably slipped.

RonD 05-11-2023 09:45 PM

It wouldn't be loose from slipping but being loose would cause lower compression from the delay in valves opening and closing out of time with the pistons

Marsden 05-12-2023 05:16 AM

I don't see how the chain could get be stretched at 24k miles, maybe i need to manually prime the chain tensioner before i install it. I didn't do that, i just cranked it by hand and a little bit with the starter before running it.

Marsden 05-12-2023 05:06 PM

After a closer look I see that the chain is not all the way around the lower sprocket.... Guess i have to take the front of the engine apart....

RonD 05-12-2023 05:16 PM

???

Well that is odd, that it didn't just come off, it is a tight fit behind crank/cam chains gear and should have made a racket, I would look at replacing both those lower gears

Marsden 05-20-2023 01:34 PM

Update
 
So i guess when i was installing the heads the chain got enough slack in it to not be all the way around the lower sprocket, turning the engine over by hand caused it to come off further (that was the pop sound i heard) which messed up the timing. I had to pull the jackshaft sprocket to get the chain back on but i ended up replacing the chain sprockets and cassette just to be safe. The bad thing is that running it with that timing chain issue caused it to bent a valve so the left head is going to have to come back off....I think valve is bent because #4 cyl is showing 150 psi and all the others are about 200, and i get code p2197 O2 Sensor Signal Stuck Lean Bank 2 Sensor 1, plus it sounds like a diesel

RonD 05-20-2023 02:51 PM

Possible, the 4.0l SOHC is an interference engine, but just barely, but barely is enough

If you have a compressor and spark plug air adapter you can do a leak down on #5 and listen at tail pipe and throttle body for escaping air

Marsden 05-21-2023 09:55 AM

I checked compressions on the right side again and now they are off, wtf? I thought the messing with the front timing chain and front of jackshaft wouldn't effect the timing of that side?
​​​​​

Marsden 05-22-2023 04:40 PM

Finally got it timed right (both sides) and it seems to be running normal except now i have a rough spot when it's idling and it keeps throwing the p2197 code

RonD 05-22-2023 11:16 PM

Ford code P2197 O2 Bank 2 sensor 1 is 0 volts(stuck lean)
Bank 2 is Drivers side of a V6 and Sensor 1 is Upstream O2, closest to engine

Check to make sure O2 got plugged back in tight, or unplug it and plug it back in to clean connections
Check its wire, they can get melted by exhaust pipe/manifold

O2 sensors generate their own voltage using chemical reaction with Oxygen in the exhaust
0.1volt is high oxygen, lean
0.9volt is low oxygen, rich
Stuck lean can be 0.0volt

O2s have 4 wires, because they are heated, a 12volt wire and a ground wire for heater
And 2 wires for the sensor part
O2s must be heated above 600degF for the chemical reaction to work, which is why they are heated, gets them working fast after Cold Start

O2s do need to be changed every 12 years or 100k miles, only sensors that wear out on a schedule, they simply run out of the chemicals needed to detect oxygen, and of course the fail Lean, as voltage SLOWLY drops to 0.0volt, happens over years not days, or months, YEARS


All times are GMT -6. The time now is 06:46 AM.


© 2024 MH Sub I, LLC dba Internet Brands