CAT Engine 34211 Fault Code: Secondary Engine Speed Sensor mechanical failure
Also called Secondary Engine Speed Sensor : Other Failure Mode, Secondary Engine Speed Sensor Mechanical Failure
Secondary Engine Speed Sensor mechanical failure · ai-assisted, editor-reviewed · Last updated 2026-07-13
TL;DR
CAT fault code 34211 (SPN 342 / FMI 11) sets when the ECM loses the signal from the secondary engine speed/timing sensor for more than 1 second. It can cause engine misfire during starting and, if the primary sensor also fails, a full engine shutdown. Affects C10, C12, C15, C16, and C175 engines.
High severity. On its own, loss of the secondary sensor signal usually causes no noticeable change while the engine is running, since the primary sensor takes over speed monitoring once timing is established. But if both sensors lose signal, the ECM cuts fuel injection and shuts the engine down. Because you can't predict when the second sensor might fail, this code should be treated as a near-term stop-and-check issue, not something to run past for the rest of the shift.
What does CAT Engine error code 34211 mean?
The engine uses two magnetic speed/timing sensors that read a unique pattern off a timing reference ring on the back of the camshaft gear. The secondary sensor's main job is to establish timing at startup, specifically to find when the No. 1 cylinder piston is at the top of the compression stroke. Once timing is established, the primary sensor takes over monitoring engine speed while running.
Code 34211 means the ECM has lost the signal from the secondary sensor. If the engine is running and only that one sensor drops out, there's usually no noticeable performance change, since the primary sensor is already handling speed monitoring. The real danger is at startup: without the secondary sensor's timing reference, the engine can misfire while cranking, and if both sensors lose signal at the same time, the ECM will terminate fuel injection and shut the engine down. The engine will not start if signals from both sensors are lost, but it will start with only one sensor present.
This code is closely tied to the primary/secondary sensor relationship and to their physical alignment and wiring polarity. Some versions of this diagnostic also cover timing calibration offset problems if the sensors are out of position or wired with reversed polarity, in which case the ECM sets the timing calibration offset to zero and latches the code active until ECM power is cycled.
What triggers a CAT Engine 34211 code?
The signal for the secondary engine speed/timing sensor is lost for more than 1 second. Related timing-position and polarity checks are run once after each start-up cycle, specifically after the engine has been in run mode for more than 5 seconds.
Common causes of 34211
- Faulty, damaged, or corroded connectors or wiring at the secondary sensor or in the harness
- A faulty or worn secondary speed/timing sensor assembly that needs replacement
- An intermittent electrical problem in the sensor circuit or harness
- Position of the crankshaft not within specifications, which affects the relationship between primary and secondary sensor timing
- Reversed polarity in the sensor wiring
- Problem with the speed/timing sensor assembly itself (mechanical failure)
- A faulty ECM
How to troubleshoot CAT Engine 34211: first checks
- Inspect the electrical connectors at the secondary speed/timing sensor for corrosion, looseness, or damage. Make sure the connector is fully latched.
- Check the wiring harness between the secondary sensor and the ECM for chafing, cuts, or pinches, and confirm tie-wraps are secure and in the correct locations.
- Verify the sensor is fully seated in the engine and that the bracket bolt is properly tightened. A sensor that isn't fully seated can give an intermittent or lost signal.
- Check the O-ring on the sensor for damage or absence; replace and lubricate it with oil if needed, since a bad seal can let the sensor sit incorrectly.
- Confirm sensor wiring polarity is correct and that the primary and secondary sensors are not swapped or reversed, since the two sensors are not interchangeable.
- If wiring and connectors check out, test the secondary sensor itself for proper output before condemning the ECM.
How the code clears
No separate clearing step is listed beyond correcting the underlying wiring, connector, or sensor problem. For the timing-position and polarity variant of this diagnostic, the code is latched in the active state until power to the ECM is cycled, and the timing calibration offset is held at zero while the code is active. If an ECM replacement is required, note that ECM parameters and timing calibration can be transferred from the old ECM to the new one using the diagnostic service tool, but only if the old ECM can still communicate with that tool.
Affected models and serial ranges
34211 appears in our records across 5 CAT Engine models. Match your machine by model and serial number.
| Model | Serial ranges |
|---|---|
| C10 | Serial range not listed in source records |
| C12 | Serial range not listed in source records |
| C15 | Serial range not listed in source records |
| C16 | Serial range not listed in source records |
| C175 | Serial range not listed in source records |
Frequently asked questions
What does CAT code 34211 mean?
It means the ECM has lost the signal from the secondary engine speed/timing sensor, which is used mainly to establish engine timing at startup. The code is logged as SPN 342 / FMI 11.
Will code 34211 shut down my engine?
Not by itself. The engine will shut down only if both the primary and secondary engine speed/timing sensors lose signal at the same time. Losing just the secondary sensor while running usually causes no noticeable change in performance, but it can cause misfire during starting.
Can the engine start with this code active?
Yes, as long as at least one of the two speed/timing sensors is still sending a signal. The engine will not start if both sensor signals are lost.
Are the primary and secondary speed/timing sensors interchangeable?
No. Both are magnetic sensors but they are not interchangeable, and reversed wiring polarity between them can trigger related timing-position codes.
What should I check first for code 34211?
Start with the connectors and wiring at the secondary sensor, checking for corrosion, damage, or looseness. Then check that the sensor is fully seated with a good O-ring, and inspect the wiring harness for damage before considering sensor or ECM replacement.
Does this code affect timing calibration?
In the timing-position and polarity variant of this diagnostic, yes. The ECM sets the timing calibration offset to zero while the code is active, and the code stays latched until ECM power is cycled.
Which CAT engines use this code?
This code applies to the C10, C12, C15, C16, and C175 engine models.