Notices
1983 - 2012 Ranger & B-Series All Ford Ranger and Mazda B-Series models

1998 ranger p0340 code 1998 engine ???

Thread Tools
 
Search this Thread
 
Old Nov 20, 2005 | 01:10 AM
  #1  
rangerdave2's Avatar
rangerdave2
Thread Starter
|
New User
Joined: May 2005
Posts: 2
Likes: 0
Cool 1998 ranger p0340 code 1998 engine ???

I have a couple of questions. 2 years ago I hade a rebuilt motor installedin my 1998 ranger.(ha ha Joke was on me), turns out the motor come from a junk yard or so the dealer says. anyway ten minutes or less after new motor was installed light comes on. two years later i have to go for emmisions test and fail. computer says misfire detection disabled. buy a new cams position sensor only to find I have purchased a 3 wire sensor and there is a 2 wire sensor on the engine. Get the two wire sensor and stillget the same code. Changed the plug to the sensor and the shaft to the three wire sensor and now get the p0340 code. you name it and I have tried it connect reconnect wiggle 1500 rpm idle test. clear code sometimes comes on right away 0r in a range of 5,10,30,50,100 miles. can a bad timing gear trip this code or should i keep with the wiring and shaft. kind of out of ideas any help or ideas would be great.

Thanks
Dave
 
Reply
Old Nov 20, 2005 | 01:43 AM
  #2  
Torque1st's Avatar
Torque1st
Posting Legend
Joined: Sep 2001
Posts: 30,255
Likes: 37
Hello- Welcome to FTE! I have moved your post to the specialized forum we have here for your question. Check out the list of tech forums we have here. There is a wealth of information and expertise here to help you. There are a number of links in my sig below to help you also. Have fun!
 
Reply
Old Nov 20, 2005 | 02:40 PM
  #3  
Rockledge's Avatar
Rockledge
Post Fiend
Joined: Jan 2003
Posts: 9,748
Likes: 16
From: Connecticut
Welcome.

The 1998 4.0L utilizes Sequential Electronic Fuel Injection (SEFI) which means that the fuel injectors fire seperately in each individual cylinder (as opposed to the earlier "batch feed" EFI systems which fire all the injectors on one side of the engine at the same time). The camshaft position sensor (CMP) is much more critical in the SEFI systems since it's used to "time" the injectors. The '98 system requires a 3-wire sensor, so it sounds to me like you probably got an older engine on the swap, and it didn't have the proper CMP setup.

When you replaced the CMP synchronizer shaft did you make sure the #1 cylinder was at DTC and use the special tool to ensure the timing remained correct?
 

Last edited by Rockledge; Nov 20, 2005 at 02:42 PM.
Reply
Old Nov 20, 2005 | 03:01 PM
  #4  
RangerPilot's Avatar
RangerPilot
Post Fiend
Joined: Jul 2005
Posts: 8,462
Likes: 4
From: Durant, OK (SOSU)
And when they swapped engines did they swap the computer? That could create some problems.
 
Reply
Old Nov 20, 2005 | 04:57 PM
  #5  
Rockledge's Avatar
Rockledge
Post Fiend
Joined: Jan 2003
Posts: 9,748
Likes: 16
From: Connecticut
Originally Posted by RangerPilot
And when they swapped engines did they swap the computer? That could create some problems.
That's a good point. I'd want to know what computer is in there. It's easy enough to check. I suppose I more or less assumed that the '98 PCM would still be in there, since it's OBD-II and presumably a dealership (or any licensed shop for that matter) would not be authorized to go backwards (to EEC-IV) with regard to something like that. OBD-II emissions system monitoring is much more sophisticated than EEC-IV. There are issues of federal and state law involved.

But then again, I've heard of stranger things happening in the automotive world.
 

Last edited by Rockledge; Nov 20, 2005 at 05:00 PM.
Reply
Old Nov 20, 2005 | 05:08 PM
  #6  
RangerPilot's Avatar
RangerPilot
Post Fiend
Joined: Jul 2005
Posts: 8,462
Likes: 4
From: Durant, OK (SOSU)
Yeah, I would be thinking the new computer would not work real well with the old engine.
Random: would the new computer think individual injection and the engine be set for batch fire injection? Just thinking out loud...
 
Reply
Old Nov 20, 2005 | 05:45 PM
  #7  
Rockledge's Avatar
Rockledge
Post Fiend
Joined: Jan 2003
Posts: 9,748
Likes: 16
From: Connecticut
I don't believe there is any relevant differences between the lower intakes on the earlier and later 4.0Ls, which would mean that the injectors sit in the same position regardless. Therefore, it's only a matter of them either firing sequentially or batch-style, and that's entirely up the computer.
 
Reply
Old Nov 20, 2005 | 06:26 PM
  #8  
RangerPilot's Avatar
RangerPilot
Post Fiend
Joined: Jul 2005
Posts: 8,462
Likes: 4
From: Durant, OK (SOSU)
Ahh ok good to know, thanks.
 
Reply
FTE Stories

Ford Trucks for Ford Truck Enthusiasts

story-0

Top 10 Fords at 2026 Carlisle Ford Nationals

 Joe Kucinski
story-1

3 Best / 3 Worst Parts of Modern Ford Ownership

 Brett Foote
story-2

10 Amazing Upgrades That Solve Common Ford Truck Owner Headaches

 Pouria Savadkouei
story-3

Every 2026 Ford Engine Explained

 Brett Foote
story-4

10 Ugly Ford Trucks That We Still Kinda Love

 Joe Kucinski
story-5

10 Things Every Truck Owner NEEDS (2026 Edition)

 Michael S. Palmer
story-6

Rezvani's Latest Post-Apocalyptic Monster Is a Ford F-150 Raptor Underneath

 Verdad Gallardo
story-7

Top 10 Most Expensive Ford Trucks Ever Sold on Bring a Trailer

 Joe Kucinski
story-8

2027 Ford Super Duty Buyer's Guide (Every Model, Engine, & Package)

 Brett Foote
story-9

Top 10 Ford Truck Tragedies

 Joe Kucinski
Old Nov 20, 2005 | 07:34 PM
  #9  
rangerdave2's Avatar
rangerdave2
Thread Starter
|
New User
Joined: May 2005
Posts: 2
Likes: 0
No the computer is the original, and the engine is the 3.0 and not the 4.0.The dealer said that the only change was the cps from three prog on 1998 motors to 2 progs on 1999
 
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
beech2000
1983 - 2012 Ranger & B-Series
8
Oct 16, 2024 10:33 AM
wtroger
1968-Present E-Series Van/Cutaway/Chassis
1
Jun 27, 2015 06:01 AM
jamull2852
Modular V8 (4.6L, 5.4L)
0
Sep 2, 2013 04:25 AM
merritt691
1997 - 2003 F150
4
Sep 27, 2012 11:03 PM
Camp250
1999 - 2003 7.3L Power Stroke Diesel
15
Apr 24, 2012 05:16 PM




All times are GMT -5. The time now is 02:30 AM.

story-0
Top 10 Fords at 2026 Carlisle Ford Nationals

Slideshow: Top 10 Fords at 2026 Ford Nationals

By Joe Kucinski | 2026-06-09 11:10:08


VIEW MORE
story-1
3 Best / 3 Worst Parts of Modern Ford Ownership

Based on years of owning multiple modern Ford products.

By Brett Foote | 2026-06-09 10:53:36


VIEW MORE
story-2
10 Amazing Upgrades That Solve Common Ford Truck Owner Headaches

SPONSORED: From muddy boots to rain-soaked cargo, these upgrades address some of the most common frustrations Ford truck owners face every day.

By Pouria Savadkouei | 2026-06-08 18:50:34


VIEW MORE
story-3
Every 2026 Ford Engine Explained

Here's everything you need to know about every Ford engine available for the 2026 model year.

By Brett Foote | 2026-06-05 12:58:01


VIEW MORE
story-4
10 Ugly Ford Trucks That We Still Kinda Love

Slideshow: 10 ugly Ford trucks that we still kinda love.

By Joe Kucinski | 2026-06-03 09:51:16


VIEW MORE
story-5
10 Things Every Truck Owner NEEDS (2026 Edition)

Slideshow: the best gifts for dads & grads

By Michael S. Palmer | 2026-06-03 15:43:58


VIEW MORE
story-6
Rezvani's Latest Post-Apocalyptic Monster Is a Ford F-150 Raptor Underneath

Slideshow: Called the Fortress, the 850-horsepower pickup combines Raptor underpinnings with military-inspired features, survival equipment, and a starting price of $285,000.

By Verdad Gallardo | 2026-06-03 11:38:36


VIEW MORE
story-7
Top 10 Most Expensive Ford Trucks Ever Sold on Bring a Trailer

Slideshow: 10 most expensive Ford trucks ever sold on Bring a Trailer.

By Joe Kucinski | 2026-05-27 16:24:34


VIEW MORE
story-8
2027 Ford Super Duty Buyer's Guide (Every Model, Engine, & Package)

Here's everything that has changed for the latest model year.

By Brett Foote | 2026-05-27 16:17:28


VIEW MORE
story-9
Top 10 Ford Truck Tragedies

Slideshow: Top 10 Ford truck tragedies.

By Joe Kucinski | 2026-05-18 19:34:33


VIEW MORE