Home/Mazda/6/Mazda 6 GH (2007-2009)/Repair manual/Testing & Diagnostics/Engine Control System (Aj): Removal & Installation
Contents Wiring diagrams Section: Testing & Diagnostics All sections

Engine Control System (Aj): Removal & Installation Mazda 6 GH

Testing & Diagnostics 7 illustrations ~359 words

PCM REMOVAL/INSTALLATION [AJ]

Note. To replace the PCM, connect the M-MDS and perform the PCM configuration. (See PCM REPLACEMENT [AJ] ).

Scheme 111

Scheme 111: PCM REMOVAL/INSTALLATION [AJ]
  1. Disconnect the negative battery cable.
  2. Remove in the order indicated in the table.
  3. Install in the reverse order of removal.

Scheme 112

Scheme 112: PCM Connector Connection Note

Scheme 113

Scheme 113

Scheme 114

Scheme 114
  1. Verify that the PCM connector lever is tilted towards the wiring harness side as shown in the figure.
  2. Insert the PCM connector straight until it contacts the PCM and verify that the lever reverts upward naturally.
  3. Push the lever until a click is heard.

Scheme 115

Scheme 115: PCM INSPECTION [AJ]
  1. Connect the M-MDS to the DLC-2.
  2. Turn the ignition switch to ON position.
  3. Measure the PID value. If PID value is not within the specification, follow the instructions in Action column.

PID/DATA MONITOR table (Reference)

Monitor item (Definition)Unit/ConditionCondition/Specification (Reference)Inspection item (s)PCM terminal
AAT (Ambient air temperature)°C or °FIgnition switch at ON position: Indicate the ambient air temperatureIAT sensor (See INTAKE AIR TEMPERATURE (IAT) SENSOR INSPECTION [AJ] ).
AC REQ (A/C switch)On/OffA/C switch and fan switch ON at ignition switch ON: On A/C switch OFF at ignition switch ON: OffA/C switch (See CLIMATE CONTROL UNIT INSPECTION [L3, AJ] ). Refrigerant pressure switch (See REFRIGERANT PRESSURE CHECK [L3, AJ] ).1AN
ACCS (A/C relay)On/OffA/C is operating: On Ignition switch is ON: OffInspect following PIDs: ECT, RPM, TP REL A/C switch (See CLIMATE CONTROL UNIT INSPECTION [L3, AJ] ).1AW
ALTF (Generator field coil control duty value)%Ignition switch is ON: 0% Idling, E/L is operating: Duty value risesInspect following PIDs: ALTT V, ECT, IAT, RPM2AP
ALTT V (Generator output voltage)VIgnition switch is ON: 0 V Idling: 14-16 VGenerator (See GENERATOR INSPECTION [L3, AJ] ).2AU
APP (Accelerator pedal position)%CTP: Approx. 0% WOT: Approx. 99.2%Inspect following PIDs: APP1, APP2 APP sensor (See ACCELERATOR PEDAL POSITION (APP) SENSOR INSPECTION [AJ] ).1AP, 1AO
APP1 (APP sensor No.1)%AP is released: 31.0-32.4% AP is depressed: 69.8-81.8%APP sensor (See ACCELERATOR PEDAL POSITION (APP) SENSOR INSPECTION [AJ] ).1AO
VAP is released: 1.55-1.62 V AP is depressed: 3.49-4.09 V
APP2 (APP sensor No.2)%AP is released: 20.2-21.4% AP is depressed: 58.8-70.8%APP sensor (See ACCELERATOR PEDAL POSITION (APP) SENSOR INSPECTION [AJ] ).1AP
VAP is released: 1.01-1.07 V AP is depressed: 2.94-3.54 V
ARPMDES (Target engine speed)RPMIdling (no load): 700-800 RPMInspect following PIDs: ALTT V, ECT, IAT, INGEAR, MAF, MAP, RPM, PSP, TP REL CKP sensor (See CRANKSHAFT POSITION (CKP) SENSOR INSPECTION [AJ] ).
BARO (Barometric pressure)KPa, Bar, psiIgnition switch is ON at sea level: Approx. 101 kPa {1.01 Bar, 14.6 psi}EGR boost sensor (See EGR BOOST SENSOR INSPECTION [AJ] ).1AL
VIgnition switch is ON at sea level: Approx. 4.1 V
BARO/EGR (EGR boost sensor solenoid valve)On/OffIgnition switch is ON: Off Idling: OffEGR boost sensor solenoid valve (See EGR BOOST SENSOR SOLENOID VALVE INSPECTION [AJ] ).1AX
BOO (Brake switch No.1)On/OffBrake pedal is depressed: On Brake pedal is released: OffBrake switch (See BRAKE SWITCH INSPECTION ).1AJ
BPA (Brake switch No.2)On/OffBrake pedal is depressed: Off Brake pedal is released: OnBrake switch (See BRAKE SWITCH INSPECTION ).1AF
CATT11_DSD (Estimated catalytic converter temperature)°C or °FIdling after warm-up: indicate the WU-TWC (RH) forecast temperaturePerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
CATT21_DSD (Estimated catalytic converter temperature)°C or °FIdling after warm-up: indicate the WU-TWC (LH) forecast temperaturePerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
CHRGLP (Generator warning light)On/OffIgnition switch is ON: On Idling: OffPerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
COLP (Refrigerant pressure switch - middle)On/OffIdling, refrigerant pressure switch (middle) is on: On Idling, refrigerant pressure switch (middle) is off: OffRefrigerant pressure switch (See REFRIGERANT PRESSURE CHECK [L3, AJ] ).1AH
CPP (1) (Clutch pedal position)On/OffClutch pedal is depressed: On Clutch pedal is released: OffClutch switch (See CLUTCH PEDAL POSITION (CPP) SWITCH INSPECTION [AJ] ).1AB
CPP/PNP (1) (Shift lever position)Neutral/DriveGear is neutral position: Neutral Gear is not neutral position: DriveNeutral switch (See NEUTRAL SWITCH INSPECTION [AJ] ).2X
DTCCNT (Number of DTC detected)Perform applicable DTC troubleshooting. (See DTC TABLE [AJ] ).
ECT (Engine coolant temperature)°C or °FIndicate the engine coolant temperatureECT sensor (See ENGINE COOLANT TEMPERATURE (ECT) SENSOR INSPECTION [AJ] ).2AQ
VECT is 20°C {68°F}: 2.9-3.1 V After warm-up: 0.2-1.0 V
EQ_RAT11_DSD (Front oxygen sensor)Idling after warm-up: Approx. 1Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
ETC_ACT (Electronic throttle control actual)°Accelerator pedal is released: Approx. 7.4° Accelerator pedal is released: Approx. 74.3°TP sensor (See THROTTLE POSITION (TP) SENSOR INSPECTION [AJ] ).2AI, 2AM
ETC_DSD (Electronic throttle control desired)%Throttle valve is closed --> open: PID value changes smoothlyInspect following PIDs: APP1, APP2, ETC ACT TP sensor (See THROTTLE POSITION (TP) SENSOR INSPECTION [AJ] ).2AI, 2AM
°Accelerator pedal is released: Approx. 0° Accelerator pedal is released: Approx. 74°
EVAPCP (Purge solenoid valve duty value)%Ignition switch is ON: 0%Inspect following PIDs: BARO, ECT, IAT, MAF, O2S11, O2S21, RPM, TP REL1BF
FAN_DUTY (Fan control signal)%ECT is below 100°C {212°F}: 0% ECT is above 100°C {212°F}: 50-100%Inspect following PIDs: COLP, ECT1U
FLI (Fuel level)%
FP (Fuel pump relay)On/OffIgnition switch is ON: Off Idling: On Cranking: OnInspect following PID: RPM Fuel pump relay (See RELAY INSPECTION ).1V
FUELPW (Fuel injection duration)MsIgnition switch is ON: 0 ms Idling: 1.5-3.0 msInspect following PIDs: ACSW, ALTT V, ECT, IAT, INGEAR, MAF, MAP, O2S11, O2S12, O2S21, O2S22, PSP, RPM, TP REL, VBAT Fuel injector (See FUEL INJECTOR INSPECTION [AJ] ).2G, 2E, 2J, 2F, 2K 21
FUEL SYS1 (Fuel system status)OL/CL/OL-Drive/OL-Fault/CL-FaultIgnition switch is ON: CL Idling after warm-up: CLInspect following PIDs: ALTT V, ECT, IAT, INGEAR, MAF, MAP, O2S11, 02S12, O2S21, O2S22, PSP, RPM, TP REL Fuel injector (See FUEL INJECTOR INSPECTION [AJ] ).
FUEL SYS2 (Fuel system status)OL/CL/OL-Drive/OL-Fault/CL-FaultIgnition switch is ON: CL Idling after warm-up: CLInspect following PIDs: ALTT V, ECT, IAT, INGEAR, MAF, MAP, O2S11, O2S12, O2S21, O2S22, PSP, RPM, TP REL Fuel injector (See FUEL INJECTOR INSPECTION [AJ] ).
GENVDSD (Generator voltage desired)VIgnition switch is ON: 0 V Idling, E/L is not operating: Approx. 14.9 VPerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
HTR11 (HO2S heater - RF)On/OffIdle after warm-up: On and OffInspect following PIDs: ECT, MAF, RPM, TP REL2AW
HTR12 (HO2S heater - RR)On/OffIdling: On Engine speed is above 4,000 RPM: OffInspect following PIDs: ECT, MAF, RPM, TP REL2AT
HTR21 (HO2S heater - LF)On/OffIdle after warm-up: On and OffInspect following PIDs: ECT, MAF, RPM, TP REL2AS
HTR22 (HO2S heater - LR)On/OffIdling: On Engine speed is above 4,000 RPM: OffInspect following PIDs: ECT, MAF, RPM, TP REL2AO
IASV (VAD control solenoid valve)On/OffTP opening angle is less than 60% and engine speed is 6,000 RPM or above: On TP opening angle is 60% or above and engine speed is 4,800 RPM or above: On Others: OffInspect following PIDs: ECT, RPM, TP REL1BB
IAT (Intake air temperature)°C or °FIndicate the intake-air temperatureIAT sensor (See INTAKE AIR TEMPERATURE (IAT) SENSOR INSPECTION [AJ] ).1AT
VIAT is 20°C {68°F}: 2.4-2.6 V IAT is 30°C {86°F}: 1.7-1.9 V
INGEAR (1) (Load/no load condition)On/OffGear is not neutral position and clutch pedal is released: On Gear is neutral position: Off Clutch pedal is depressed: OffInspect following PIDs: CPP, CPP/PNP Perform applicable DTC troubleshooting. (See DTC TABLE [AJ] ).1AB, 2X
IVS (CTP condition)Idle/Off IdleCTP: Idle Others: Off IdlePerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).2AI, 2AM
KNOCKR (Knocking retard)°Ignition switch is ON: 0° Idling: 0°KS (See KNOCK SENSOR (KS) INSPECTION [AJ] ).2AF, 2AC
LDP_EVAPCP (EVAP system leak detection pump detect incorrect purge flow)MAIndicate the EVAP control system incorrect purge flow detection valuePerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
LDP_IDL (EVAP system leak detection pump idle current)MAIndicate the EVAP system leak detection pump idle currentPerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
LDP_MON (EVAP system leak detection pump monitoring current)MAIndicate the EVAP system leak detection pump monitoring currentPerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
LDP_REF (EVAP system leak detection pump reference current)MAIndicate the EVAP system leak detection pump reference currentPerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
LDP_SLDV (EVAP system small leak detection value)MAIndicate the EVAP control system small leak detection valuePerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
LDP_VSL_FV (2) (EVAP system small leak detection value)MA/secIndicate the EVAP control system vary small leak detection valuePerform applicable DTC troubleshooting. (See DTC TABLE [AJ] ).
LDP_VSL_SV (2) (EVAP system small leak detection value)MA/secIndicate the EVAP control system vary small leak detection valuePerform applicable DTC troubleshooting. (See DTC TABLE [AJ] ).
LDP_VSLDV (2) (EVAP system small leak detection value)MA/secIndicate the EVAP control system vary small leak detection valuePerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
LOAD (Engine load)%MTX Idling: Approx. 16.8% Engine speed is 2,500 RPM: Approx. 14.6% ATX Idling: Approx. 17.5% Engine speed is 2,500 RPM: Approx. 15.2%Inspect following PIDs: ECT, IAT, MAF, MAP, RPM, TP REL
LONGFT1 (Long term fuel trim - RH)%Idling: -20-20%Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
LONGFT2 (Long term fuel trim - LH)%Idling: -20-20%Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
MAF (Mass airflow)G/sMTX Idling: 3.6-3.8 g/s Engine speed is 2,500 RPM: 10.5-11.2 g/s ATX Idling: 3.8-4.0 g/s Engine speed is 2,500 RPM: 10.6-11.4 g/sMAF sensor 01-40C-32 MASS AIR FLOW (MAF) SENSOR INSPECTION [AJ]).1AK
VIdling: Approx. 1.3 V Engine speed is 2,500 RPM: Approx. 1.9 V
MIL (Malfunction indicator light)On/OffIgnition switch is ON: On Idling: OffPerform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
MIL_DIS (Travelled distance since the MIL illuminated)Km or mileNo DTC: 0 km {0 mile} DTC detected: Not 0 km {0 mile}Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
NUMKEYS (Number of keys stored in module)Indicate the number of keys stored in module
O2S11 (HO2S - RF)VIdling after warm-up: 0-1.0 V Acceleration: 0.5-1.0 V Deceleration: 0-0.5 VHO2S (RF) (See HEATED OXYGEN SENSOR (HO2S) INSPECTION [AJ] ).2AK
O2S12 (HO2S - RR)VIgnition switch is ON: 0-1.0 V Idling after warm-up: 0-1.0 V Acceleration: 0.5-1.0 V Deceleration: 0-0.5 VHO2S (RR) (See HEATED OXYGEN SENSOR (HO2S) INSPECTION [AJ] ).2AG
O2S21 (HO2S - LF)VIdling after warm-up: Approx. 0.6 VHO2S (LF) (See HEATED OXYGEN SENSOR (HO2S) INSPECTION [AJ] ).2AL
O2S22 (HO2S - LR)VIdling after warm-up: Approx. 0.6 VHO2S (LR) (See HEATED OXYGEN SENSOR (HO2S) INSPECTION [AJ] ).2AH
PSP (PSP switch)High/LowSteering wheel is in straight ahead position: Low Steering wheel is turned: HighPSP switch (See POWER STEERING PRESSURE (PSP) SWITCH INSPECTION [AJ] ).2T
RFCFLAG (Readiness Function Code)Learnt/Not LearntRFC exists: Learnt No RFC: Not LearntPerform DRIVE MODE 1 (See OBD-II DRIVE MODE [AJ] ).
RO2FT1 (HO2S (RR) fuel trim)Idling after warm-up: Approx. -0.03-0.03Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
RO2FT2 (HO2S (RL) fuel trim)Idling after warm-up: Approx. -0.03-0.03Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
RPM (Engine speed)RPMIdling (no load): 700-800 RPMCKP sensor (See CRANKSHAFT POSITION (CKP) SENSOR INSPECTION [AJ] ).2Z, 2Y
SCCS (Cruise control switch)VPress ON/OFF: Approx. 0 V Press CALCEL: Approx. 1.2 V Press SET/COAST: Approx. 3.2 V Press RES/ACCEL: Approx. 4.2 V Others: Approx. 5.0 VCruise control switch (See CRUISE CONTROL SWITCH INSPECTION [L3, AJ] ).1AS
SEGRP (EGR valve position)No. of stepIgnition switch is ON: 0 step Idling: 0 step Cranking: 0-60 stepsInspect following PIDs: ECT, IAT, MAF, RPM, VSS EGR valve (See EGR VALVE INSPECTION [AJ] ).
SEGRP DSD (Desired EGR valve position)%Ignition switch is ON: 0% Idling: 0% Cranking: 0-100%Inspect following PIDs: ECT, IAT, MAF, RPM, VSS
SHRTFT1 (Short term fuel trim - RH)%Idling: -20-20%Perform applicable DTC troubleshooting. (See DTC TABLE [AJ] ).
SHRTFT11 (Short term fuel trim - RF)%Idling: -20-20%Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
SHRTFT12 (Short term fuel trim - LF)%Idling: -20-20%Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
SHRTFT2 (Short term fuel trim - LH)%Idling: -20-20%Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
SHRTFT21 (Short term fuel trim - RR)%Idling: -20-20%Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
SHRTFT22 (Short term fuel trim - LR)%Idling: -20-20%Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
SPARKADV (Ignition timing)° (BTDC)Ignition switch is ON: 0° (BTDC) Idling: Approx. 10° (BTDC)Inspect following PIDs: ALTT V, CPP, CPP/PNP, ECT, KNOCKR, MAF, PSP, RPM, TP REL, VSS Perform engine tune-up (See ENGINE TUNE-UP [AJ] ).
Test (Test mode)On/Off
TIRESIZE (Tire revolution per mile)Rev/mileIndicate the tire revolution per a mile
TPREL (Relative throttle position)%Throttle valve is closed --> open: PID value changes smoothlyTP sensor (See THROTTLE POSITION (TP) SENSOR INSPECTION [AJ] ).2AI, 2AM
TP1 (TP sensor No.1 signal voltage)%Ignition switch is ON and accelerator pedal not depressed: 13-24% Ignition switch is ON and WOT: Approx. 78%TP sensor (See THROTTLE POSITION (TP) SENSOR INSPECTION [AJ] ).2AM
VIgnition switch is ON and accelerator pedal not depressed: 3.8-4.35 V Ignition switch is ON and WOT: Approx. 1.1 V
TP2 (TP sensor No.2 signal voltage)%Ignition switch is ON and accelerator pedal not depressed: 15-36% Ignition switch is ON and WOT: Approx. 88%TP sensor (See THROTTLE POSITION (TP) SENSOR INSPECTION [AJ] ).2AI
VIgnition switch is ON and accelerator pedal not depressed: 0.75-1.8 V Ignition switch is ON and WOT: Approx. 4.4 V
TPCT (Relative throttle position)VIgnition switch is ON: 0 VTP sensor (See THROTTLE POSITION (TP) SENSOR INSPECTION [AJ] ).2AI, 2AM
VPWR (Battery positive voltage)VIgnition switch is ON: B+Battery (See BATTERY INSPECTION [L3, AJ] ).
VSS (Vehicle speed)KPH or MPHVehicle speed is 20 km/h {12 mph}:20 KPH {12MPH} Vehicle speed is 40 km/h {25 mph}: 40 KPH {25 MPH}Perform applicable DTC troubleshooting (See DTC TABLE [AJ] ).
VT ACT1 (Actual valve timing - RH)°Idling: 0°Inspect following PIDs: ECT, RPM, TP REL OCV(RH) (See OIL CONTROL VALVE (OCV) INSPECTION [AJ] ).2AE, 2AD
VT ACT2 (Actual valve timing - LH)°Idling: 0°Inspect following PIDs: ECT, RPM, TP REL OCV (LH) (See OIL CONTROL VALVE (OCV) INSPECTION [AJ] ).2AB, 2AA
VT DIFF1 (Difference between actual and target valve timing - RH)°Idling: 0°Inspect following PIDs: ECT, RPM, TP REL OCV (RH) (See OIL CONTROL VALVE (OCV) INSPECTION [AJ] ).2AE, 2AD
VT DIFF2 (Difference between actual and target valve timing - LH)°Idling: 0°Inspect following PIDs: ECT, RPM, TP REL OCV(LH) (See OIL CONTROL VALVE (OCV) INSPECTION [AJ] ).2AB, 2AA
VT DUTY1 (OCV control signal - RH)%Idling: 0%Inspect following PIDs: ECT, RPM, TP REL OCV (RH) (See OIL CONTROL VALVE (OCV) INSPECTION [AJ] ).2AE, 2AD
VT DUTY2 (OCV control signal - LH)%Idling: 0%Inspect following PIDs: ECT, RPM, TP REL OCV (LH) (See OIL CONTROL VALVE (OCV) INSPECTION [AJ] ).2AB, 2AA
(1) MTX (2) California emission regulation applicable model
(1)MTX
(2)California emission regulation applicable model

PID/DATA MONITOR REFERENCE

ENGINE COOLANT TEMPERATURE (ECT) SENSOR REMOVAL/INSTALLATION [AJ]

WARNINGA hot engine can cause severe burns. Turn off the engine and wait until it is cool before removing the ECT sensor.
  1. Disconnect the negative battery cable.
  2. Drain the engine coolant.
  3. Disconnect the ECT sensor connector.
  4. Remove the ECT sensor.
  5. Replace the gasket.
  6. Install in the reverse order of removal.
  7. Refill the engine coolant.

KNOCK SENSOR (KS) REMOVAL/INSTALLATION [AJ]

  1. Disconnect the negative battery cable.
  2. Disconnect the KS connector.
  3. Remove the KS.
  4. Install in the reverse order of removal. Tightening torque 21.2-28.8 N.m {2.17-2.93 kgf.m, 15.7-21.2 ft.lbf}

CAMSHAFT POSITION (CMP) SENSOR REMOVAL/INSTALLATION [AJ]

CAUTIONDo not forcefully pull the wiring harness of the CMP sensor. Doing so will break the harness.

Scheme 116

Scheme 116
  1. Disconnect the negative battery cable.
  2. Disconnect the CMP sensor connector.
  3. Remove the CMP sensor. CAUTION: When foreign material such as an iron chip is on the CMP sensor, it can cause abnormal output from the sensor because of flux turbulence and adversely affect the engine control. Be sure there is no foreign material on the CMP sensor when replacing.
  4. Install in the reverse order of removal.

CRANKSHAFT POSITION (CKP) SENSOR REMOVAL/INSTALLATION [AJ]

CAUTIONDo not forcefully pull the wiring harness of the CKP sensor. Doing so will break the harness.

Scheme 117

Scheme 117
  1. Disconnect the negative battery cable.
  2. Disconnect the CKP sensor connector.
  3. Remove the CKP sensor. CAUTION: When foreign material such as an iron chip is on the CKP sensor, it can cause abnormal output from the sensor because of flux turbulence and adversely affect the engine control. Be sure there is no foreign material on the CKP sensor when replacing.
  4. Install in the reverse order of removal.