P0221 — Throttle/Pedal Position Sensor/Switch B Circuit Range/Performance (5.9 Cummins 24-Valve (VP44))
Diagnostic reference for 5.9L Cummins 24-Valve VP44 1998.5-2002. Focus on APPS circuit range/performance faults and how to diagnose them without repairing…
What it means
The engine control module has detected that the signal from throttle/pedal position sensor/switch B is outside the expected range or is not performing as expected. On this platform the pedal/throttle input is an APPS (accelerator pedal position sensor), cable to a pot on the pump, and APPS failure is one of the most common faults and drives P0122/P0123/P0121/P0221-type codes and erratic idle/surging.12
Most likely causes
- APPS sensor internal wear / out-of-range voltage — APPS potentiometer wear or mechanical binding produces a signal outside expected range, matching the generic definition of sensor/switch B circuit range/performance. APPS failure is a common fault on this truck and drives P0221-type codes.12
- APPS wiring harness chafing, corrosion, or poor connections — Intermittent resistance or opens in the APPS signal/return wiring can cause range/performance errors. The generic definition covers signal outside expected range or not performing as expected.1
- ECM/PCM processing anomaly — Control module processor performance issues can manifest as sensor circuit range/performance faults. PCM internal fault is described as control module may not be operating correctly.2
- Reference voltage or ground supply issue to APPS — Low or high input conditions similar to P0122 low input and P0123 high input can arise from supply/ground problems affecting sensor B range/performance.34
How to diagnose
- Verify freeze frame and repeatability; confirm P0221 sets with pedal movement and note accompanying APPS-related codes P0121/P0122/P0123.
- Inspect APPS connector and wiring for chafing, corrosion, moisture, and secure pin engagement; check harness routing near pedal and firewall.
- With key on engine off, measure APPS reference voltage, ground integrity, and signal voltage sweep through full pedal travel; compare to factory sweep range and look for dropouts or non-linearity.
- Monitor live APPS voltage PID while slowly pressing pedal; note any flat spots, jumps, or values outside expected range consistent with range/performance fault.
- Check for technical service information on APPS learn/zero procedures and verify pedal mechanical free play and cable/pot linkage condition per platform facts.
- If APPS electrical tests are normal, evaluate ECM power/ground circuits and inspect for water intrusion or corrosion that could cause processor performance issues.
Parts and tools you may need
- Digital multimeter
- Scan tool with live data
- Back-probe pins / breakout box
- Contact cleaner and dielectric grease
- Wiring diagram for 1998.5-2002 Ram 5.9L VP44
Rough cost and difficulty
Parts and labor vary by region and shop. APPS replacement is common maintenance on this platform; wiring repairs depend on extent of harness damage. No repair cost estimates are provided here.
When to see a pro
If signal sweep is erratic after connector/wiring inspection, or if ECM power/ground tests indicate internal control module fault, have the system evaluated by a qualified diesel technician. Do not attempt repairs to high-pressure fuel or other safety-critical systems. Seek professional diagnosis for persistent range/performance faults."],
Sources
Help improve this guide
Own a 6.7 and spotted something wrong or missing? Tell us. This goes straight to the editor — it is not published.