YANMAR-P0340 serious Yanmar ›

Camshaft Position Sensor Circuit

The YANMAR-P0340 (Yanmar) diesel fault code means: Camshaft Position Sensor Circuit. This is a serious severity code.

Unverified. We could not confirm this code's definition against freely available manufacturer documentation, so treat the meaning, severity and fix guidance on this page as unconfirmed. Check it against the manufacturer's service information for your exact model and serial range before acting on it. This page is kept out of search engines for that reason, and we are working through this family manual by manual.

My Garage →
Keep driving?
No — stop driving
DIY difficulty
intermediate
Estimated cost
$100-$350

What Are the Symptoms of YANMAR-P0340?

  • Hard start, sync fault

What Causes YANMAR-P0340? (Most Likely First)

  • Failed CMP sensor Likely
  • Loose or dirty CMP connector Possible

Can I Still Drive with YANMAR-P0340?

No — stop driving. YANMAR-P0340 is rated serious severity. Continuing to drive in this state risks further damage — get it looked at before your next trip.

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?

Estimated repair cost: $100-$350. Off-road diesel shop labor runs $125-$175/hr in 2026. Dealer diagnostic software (Yanmar SmartAssist / YDT) is usually required.

Mechanics Guide Step-by-step diagnosis

How Do You Diagnose YANMAR-P0340?

  1. Scan CMP signal during crank.

  2. Inspect connector; replace sensor if output missing.

Sources 1

This page is built from documented references. Verify against your own service info before repair work.

  • SAE J2012Diagnostic Trouble Code Definitions (defines P0340 as a generic OBD-II code)

P0340 on Other Platforms

The same code ID appears across other engines, vehicles, and equipment. Diagnostic flow varies by platform — see the matching breakdown:

Which Vehicles Commonly Get YANMAR-P0340?

  • Yanmar SA221 / SA324 / SA424 compact tractors
  • Yanmar YT235 / YT347 / YT359 compact tractors
  • Yanmar LX4100 / LX4900 utility tractors
  • Yanmar ViO17 / ViO25 / ViO35 / ViO45 / ViO55 / ViO80 mini excavators
  • Yanmar B27-3 / B37-3 / B50-3 compact excavators
  • Cub Cadet Yanmar Ex3200 / Lx410 compact tractors (rebadged)
  • John Deere 17G / 26G / 35G compact excavators (Yanmar powered)
  • Takeuchi TB210R / TB216 / TB230 mini excavators (Yanmar powered)

Explore More

Was this helpful?

Send this to whoever is fixing the truck — your tech, or the person asking what the fault means.