Camshaft Position Sensor Circuit
The YANMAR-P0340 (Yanmar) diesel fault code means: Camshaft Position Sensor Circuit. This is a serious severity code.
- Keep driving?
- No -- stop driving
- DIY difficulty
- intermediate
- Estimated cost
- $100-$350
A $30 car code reader can't do diesel. The HD7000 reads full-system codes and does parked DPF regen, idle/speed-limit, and service resets from the cab — on everything from a 6.7 Cummins/Power Stroke/Duramax pickup to Class-8 trucks (Detroit, Paccar, CAT, Volvo, Mack, International).
Check Price on AmazonAffiliate link -- we earn a commission at no extra cost to you.
Full-system 6/9/16-pin diesel scan tool for Cummins, Paccar, CAT, Detroit and more — plug-and-play, no subscription. A cheaper way to read heavy-duty codes a basic OBD2 scanner skips entirely.
Check Price on AmazonAffiliate link -- we earn a commission at no extra cost to you.
Common Symptoms
- Hard start, sync fault
Probable Causes (Ranked by Likelihood)
- Failed CMP sensor Likely
- Loose or dirty CMP connector Possible
Step-by-Step Diagnostic Procedure
Scan CMP signal during crank.
Inspect connector; replace sensor if output missing.
Frequently Asked Questions
What is Yanmar code P0340?
Yanmar P0340: Camshaft Position Sensor Circuit. This code is reported on Yanmar equipment running the described engine family.
Can I keep working with Yanmar code P0340?
Do not continue operating. Risk of engine damage or unsafe shutdown.
How much does Yanmar P0340 cost to fix?
Typical repair cost: $100-$350. Off-road diesel shop labor runs $125-$175/hr in 2026. Dealer diagnostic software (Yanmar SmartAssist / YDT) is usually required.
P0340 on Other Platforms
The same code ID appears across other engines, vehicles, and equipment. Diagnostic flow varies by platform — see the matching breakdown: