BMW 540i 1998 E39 Workshop Manual
Page 411 of 1002
Downloaded from www.Manualslib.com manuals search engine 
Fuel lniection 1 
Table b. Siemens MS 41.1 ECM pin assignments  (continued) 
Pin 
lSiqnal 1 Componentlfunction / Notes I - I I 
40 1 ground  /Crankshaft position sensor /crankshaft position sensor control I - I I 
41 1 ground /Camshaft position sensor (CMP) /shielding for CMP sensor I - I I 
42 1 ground I~hrottie position sensor (TPS) /TPS ground 
43 
44 
45 
46 
47 
48 
49 
50 
51  ground 
output 
output 
output 
outout 
I I I 
input 
52  53 
54 
55 
56  57 
58 
59 
60 
61 
62 
63 
64 
65 
66  Camshaft position sensor (CMP) 
Throttle  position sensor (TPS) 
Throttle  position sensor (traction control) 
Instrument cluster 
Not  used 
Crankshaft position sensor (Hall effect) 
I~ot used 
I I I 
Fuel pump  relay control  Camshaft 
positionlrpm sensor control 
Voltage 
supply to  TPS  (5 vdc) 
ABSIASC module 
Instrument cluster, fuel reserve signal 
Crankshaft position sensor control 
Power  supply  (terminal  15) 
Not  used 
Not  used 
output  input 
ground 
ground 
output 
input 
output 
inputloutput 
ground 
output 
input 
input 
input 
I I 
Battery voltage with  key on or engine running 
Oxygen sensor signal ground 
67 
Idle speed control valve 
Power  supply 
Oxygen sensor heater  (no. 2 in front catalytic 
converter) 
Ignition circuit 
Knock  sensor 
(cyl. 1-3) 
Knock  sensor  (cyl. 1-3) 
Knock  sensor 
(cyl4-6) 
Data linic connector (TxD) 
Oxygen sensor heater  (no. 2 behind catalytic 
converter) 
Secondary air injection 
Knock  sensor  (cyl. 4-6) 
Camshaft 
positionlrpm sensor 
Camshaft 
positionlrpm sensor 
Not  used 
Pulse ground with engine  at normal temperature with 
varying engine load 
68  Pulsed ground-close signal (see 
pin 26) 
Battery voltage  from main relay (terminal 87) 
Oxygen sensor heater ground 
Ignition circuit monitoring signal 
Knock  sensor 
Knock sensor signal 
Knock  sensor 
Diagnostic 
TxD (transmit) signal  to pin 18  in data  link 
connector 
Oxygen sensor heater ground 
Secondary air injection control 
valve 
Knocic sensor signal 
Camshaft positionlrpm sensor control 
Camshaft 
positionlrpm sensor control 
ground  Oxygen sensor 
(no. 
1 in front  of catalytic 
converter) 
output  Evaporative purge 
valve control    
Page 412 of 1002
Downloaded from www.Manualslib.com manuals search engine 
/Fuel injection 
Table  b. Siemens  MS 41.1 ECM pin assignments (continued) 
85 
86 
87 
88 CAN-Bus low 
CAN-Bus  high 
Power supply 
Diagnostic connector 
(TxD) 
inputloutput 
inpuWoutput 
input 
input output  Automatic transmission control module (AGS) 
Automatic transmission control module (AGS) 
Battery voltage from main relay terminal 87 
Diagnostic TxD signal  to pin 17 in data link connector    
Page 413 of 1002
Downloaded from www.Manualslib.com manuals search engine 
- -. 
Fuel Injection 
SIEMENS MIS 42.0 AND 43.0 
When system faults  are detected, a  diagnostic trouble  code 
(DTC)  is stored  in the  engine  control module  (ECM). The MIL 
also illuminates 
if an emissions-related  fault  is detected. 
When  faults arise,  or 
if the malfunction indicator lamp  (MIL) is 
illuminated, begin  troubleshooting by connecting  BMW ser- 
vice  tester 
DISplus, MoDiC, GTI or equivalent scan tool.  The 
capabilities  of OBD 
II software has  the potential  to save hours 
of  diagnostic  time and to help avoid incorrect component re- 
placement  and possible  damage to system  components. 
CAUTION- 
* The tests  in this section  may set fault  codes (DTCs) in tlie 
ECM  and illuminate the  MIL. After all testing is completed, 
access  and clear DTC  fault 
memory using an OBD I/ or 
BMW  compatible scan  tool. See 
OBD On-Board  Diag- 
nostics. 
Only  use a 
dgital multimeter  for  electrical tests. 
Relay  positions  can vary.  Be sure  to confirm 
relayposi- 
tion by  identifying the  wiring in the socket  using the wir- 
ing  diagrams found in 
ELE Electrical  Wiring 
Diagrams. 
NOTE- 
- OBD I1 fault  memory. (including  an illuminated MIL! can 
only  be reset  using  the special scan  tool. Removing  the 
connector from the  ECM or disconnecting  the battery will 
not erase the  fault memory. 
The  BMW-dedicated  20-pin diagnostic 
linlc connector 
(DLC)  is in  the  right  rear of the engine  compartment  The 
20-pin DLC  is discontinued  on models after 
6/2000. 
The 1 &pin OBD I1 diagnostic connector (arrow) is located 
inside the  car on the lower left  dash panel. 
The  MS 
42.0 and MS 43.0 systems manage  the following 
functions. 
- Air: 
Idle speed  valve 
Electronic  throttle 
Hot  film  mass  air flow  (MAF)  sensor 
Resonance-turbulence  intake control 
- Fuel: 
* Fuel  supply 
Running  losseslnon  return 
Fuel  injection    
Page 414 of 1002
Downloaded from www.Manualslib.com manuals search engine 
Fuel Injection 
- Ignition: 
Direct  ignition 
Knock  control 
4 Primary1 secondary  ignition monitoring 
- Emissions: 
OBD II compliance 
Secondary  air  injection 
Pre- and post-catalyst  oxygen sensors 
0 Electrically  heated DME-mapped  thermostat 
Misfire  detection 
Evaporative  emission control and 
leak detection 
Malfunction indicator  light (MIL) 
Performance controls: 
Dual VANOS  control 
Output  of injection  signal  (TI)  for fuel  economy gauge 
Output  of engine  rpm (TD)  for tachometer 
AIC compressor  control 
0 Electric  radiator cooling fan 
CAN-Bus communication 
Stability and traction  system 
(ABSIASCIDSC) interlace 
Electronic immobilizer  (EWS) 
Cruise  control 
ECM programming    
Page 415 of 1002
Downloaded from www.Manualslib.com manuals search engine 
130-25 
Fuel injection 
CONTROL RESONANCE. 
TURBULENCE 
----, VALVE 
CRANUSHAFT 
SECONDARY  AIR 
MULTI-FUNCTION  ROLLING CODE    
Page 416 of 1002
Downloaded from www.Manualslib.com manuals search engine 
130-26 
Fuel Injection 
Resonance- turbulence 
0021664    
Page 417 of 1002
Downloaded from www.Manualslib.com manuals search engine 
- 
Fuel Injection 
ECM relay, testing 
The engine  control  module (ECM) relay is energized  via the 
ECM  and supplies battery  positive 
(Bc) power to many of  the 
engine management components and subsystems.  If this  re- 
lay  is faulty, the engine will not start. 
NOTE- 
The ECM relay  is also referred  to as  the DME main relay 
ECM  relay powers: 
ECM 
Ignition coils 
* Fuel  injection 
Evaporative leak detection  pump 
Idle air actuator 
- Camshaft sensors  Evaporative emissions  valve 
Hot  film  mass air flow sensor 
Fuel  pump relay 
Oxygen sensor heaters 
4 Working  in right rear  of engine compartment: 
Release interior ventilation filter cover latch 
(A) and  re- 
move  cover. 
Release plastic locking  tab 
(B). 
Rotate duct inward (arrow) to unlock from  bulk head  and 
remove duct. 
Release spring  lock 
(C) to  remove lower filter  housing. 
Slide filter  housing  away from inner fender to  remove. 
- Remove electrical box (E-box) cover fasteners and  remove 
cover. 
With  ignition  off, remove ECM relay  (arrow) in electronics 
box  (E-box)  at rear  of engine compartment,  right side. 
NOTE- 
Relay locations  can vary  Confirm relay  identification by 
matching  wiring colors  and terminal  numbers.    
Page 418 of 1002
Downloaded from www.Manualslib.com manuals search engine 
130-28 
Fuel Injection 
ECM Relay 
4 Check  for voltage  at terminal  6 (30) at reiay socket 
If  battery voltage  is present continue testing. 
if battery voltage  is  not present, check fuse  109 (80-amp 
fusible link) under passenger seat carpet.  See 610 Electri- 
cal 
Component Locations. 
- Reinstall relay  and turn  ignition  on. Gain access to back  side 
of  reiay socket  and check  for ground  at terminal 
4. 
If ground is  present continue testing. 
If  ground is  not present,  signal 
from ECM is missing. Check 
wire between  ECM and relay. 
- With ignition  on and  reiay installed, check lor battery voltage 
at terminal 
2. 
If  battery voltage  is present,  relay has energized  and is 
functioning  correctly. 
If  battery voltage  is not  present and 
ail earlier tests are OK, 
relay  is faulty  and should be  replaced. 
NOTE- 
If no faults  are found during testing  but power  is not  reaching 
the  ECM  or other  components,  check the fuses 
in the fuse 
carrier 
X8680 in the E-box. 
Mass  air flow (MAF) sensor,  checking and 
replacing 
4 The  hot f~lm mass air flow  (MAF) sensor sends a varying volt- 
age (approx. 0.5 - 4.5 vdc) to  the ECM representing  the mea- 
sured 
Intake air.  The alr mass input signal is produced 
electron~caily uslng an electrically  heated metal fllm in the  air 
flow stream. 
The  ECM relay  provides the  operating voltage to the  MAF 
sensor. As air 
flows through the  sensor, the film is cooled.  To 
maintain  the film  at a constant temperature, additional current 
is necessary.  It is  this  additional current that is the basis  lor 
the  input signal. 
If there is  no output signal from  the MAF sensor, the ECM op- 
erates  the engine  using the  throttle position and engine rpm 
inputs. A faulty  MAF sensor illuminates  the MIL.    
Page 419 of 1002
Downloaded from www.Manualslib.com manuals search engine 
Fuel Injection 
A faulty MAF sensor can produce the following  problems: 
Difficult  to restart  when  engine  is hot 
Engine starts  then stalls 
* Engine starts and runs  only with accelerator pedal  de- 
pressed 
4 Disconnect electrical harness connector  from MAF  sensor 
(B). 
- Turn ignition on and  checlc for voltage and ground  at connec- 
tor. 
There should be ground at pin 
1 and battery  voltage at pin 
3. 
- If any faults  are found,  checlc for wiring breaks  between 
MAF  sensor and ECM  and between MAF  sensor and main 
DME  relay. 
NOTE- 
Visually  inspect the sensor for damage,  missing or blocked 
screens.  The screens affect  air flow calibration.  Also inspect 
the  sealina 
0-rinas where the  sensor inserts into the air filter - - housing  and intake  boot. Ensure  the pin  connections are 
clean  and tight. 
4 Connect a  BMW-compatible scan  tool or an OED II generic 
scan tool. 
Checlc air  mass  signal (load signal) with the  engine 
at  idle.  Raise idle speed and 
checlc that load  signal changes 
with rpm. 
CAUTION- 
Be  sure ignition  is OFFbefore disconnecting or  reconnecting 
DME  system  components. 
Remove  MAF sensor: 
Loosen  intake boot clamp 
(A). 
Disconnect harness connector (6). 
* Release clip  from air filter housing (C) and remove sensor. 
- Installation is  reverse of removal. 
No  adjustment  to MAF  sensor  is possible. 
Check intake  hoses for cracks  and vacuum 
lealts.    
Page 420 of 1002
Downloaded from www.Manualslib.com manuals search engine 
Fuel Injection 
Engine coolant temperature 
(ECT) sensor, 
testing and replacing 
4 The ECT  sensor is located below cylinder 6 intake port at the 
rear  of the engine  (1). 
The ECT sensor is a  dual temperature  sensor. One circuit 
provides coolant temperature information to  the ECM while 
the  other  circuit provides coolant temperature information to 
the instrument cluster. 
The  ECM  determines the correct ignition timing and airlfuel 
mixture required 
forthe engine  temperature  by monitoring  an 
appliedvoltage 
(5vdc) to the sensor.Thevoltage drop  across 
the  sensor  varies as the coolant temperature (sensor resis- 
tance) changes. 
NOTE- 
The  ECT  sensor  is an  NTC  (negative  temperature coeffi- 
cient)  type sensor.  In other  words,  as the  temperature  rises, 
resistance through the sensor  decreases. 
If  the  ETC  sensor input  is faulty or  non-plausible,  the MIL is  il- 
luminated  when the MIL  is illuminated  when 
OED II fault crite- 
ria are  exceeded.  The ECM assumes a substitute  value 
(80" C 11 76'F) to maintain engine operation.  The ignition tim- 
ing is set  to a 
conservativelsafe basic setting. 
- Remove  intake manifold  to access ECT  sensor on the M52 
TU  and  the M54  engines. See  113 Cylinder  Head Removal 
and  Installation. 
- Check ECT  sensor  resistance using a multimeter at  sensor 
terminals. 
WARNING - 
Due  to rislc of personal  injury, be sure  the engine  is cold  be- 
fore  removing  ECT sensor  connector. 
ECT sensor resistance @ 20°C (68°F) 
CAUTIOI\C 
Be sure ignition  is OFFbefore disconnecting  or reconnecting 
DME svstem  components. 
2.2 - 2.7 k 
4 Disconnect ECT sensor harness connector  (arrow). Un- 
screw  ECT sensor from cylinder  head.