Below is a BMW General Module 5 (aka ZKE5 and GM5)
I have gone through the wiring diagrams and compiled this list of connections to the module. Since this module is used in the 3-series sedan, coupe, convertible and wagon as well as the Z4 and X3 there are some differences between the cars which are not listed, but, this list is generally correct. For the most accurate information go to the BMW WDS and look up your specific car.
Pin
Wire Size/Color
1
0.5 WS/GE
2
0.5 BL/GN
3
0.5 BL/GE
4
0.5 WS/GE
5
0.5 SW/RT
6
0.5 SW/BL
7
0.5 VI/GN
8
0.75 SW/BL
9
0.35 BL/GE
10
Sedan & Coupe - Trunk lock cylinder
0.35 BR/BL
11
0.5 GN/GE
12
0.35 BR/RT
13
----
14
0.5 SW/GE
15
0.5 SW/RT
16
0.5 WS/GN
17
0.5 WS/GN
18
----
19
0.5 SW/GE
20
0.35 VI/WS
21
0.5 GN/BL
22
0.75 RT/GN
23
0.5 GR/SW/GE
24
0.5 SW/GE
25
0.5 GN/GE
26
0.35 BR/GE
Pin
Wire Size/Color
1
0.35 SW/BL
2
0.5 BL/RT
3
0.35 SW/WS
4
0.35 GR/BL
5
0.35 GR/SW
6
0.35 GR/BR
7
0.35 GE/RT
8
0.35 BR/GE
9
0.35 WS/RT/G
10
0.5 BR/SW
11
0.35 BR/BL
12
0.75 BL/SW
13
0.75 WS
14
0.75 SW
15
0.75 SW
16
0.75 SW
17
0.5 GR/GN
18
0.75 RT/BL
19
0.35 BR/VI
20
0.5 WS/SW
21
0.5 WS/SW
22
0.5 BL/RT
23
VKPOSER - Vert-top lid motor unlocked [Convertible]
0.35 BR/SW
24
Vert-top lid lock passenger side [Convertible]
0.35 BR/GR
25
0.5 BR/GR/GE
26
0.5 BR/GR/GE
27
0.5 VI/GE
28
0.35 BR/RT
29
0.35 BR/BL
30
0.35 BR/BL
31
RERHS - Drive to K18363 for convertible top cover [Convertible]
0.5 WS/BL
32
0.75 SW
33
0.75 BL
34
0.75 BL
35
0.75 BL
36
Glovebox Lock Motor [Convertible]
0.75 BL
37
Glovebox closed switch [Convertible]
0.35 BR/VI
38
0.35 GR/BL
39
----
40
0.35 GR/GE
41
0.35 GR/BR
42
0.35 GR/BR
43
TOEHS - Switch, Wagon Rear Window Release [Wagon]
0.35 GR/GE
44
0.35 GR/GE
45
0.35 BR/GN
46
0.35 SW/GNRSK
47
0.5 RT/VI
48
0.35 GE/VI
49
0.35 BL/RT
50
0.75 WS
51
0.75 BL
52
0.75 SW
53
0.75 WS
54
0.75 WS
Pin
Wire Size/Color
1
2.5 RT/GR
2
1.0 SW
3
1.5 RT/GE
4
2.5 BL/GN
5
2.5 BL/RT
6
2.5 BL/VI
7
2.5 BL/GR
8
4.0 RT/GN
9
2.5 RT/SW
10
2.5 RT/GN
11
2.5 SW/GE
12
2.5 WS/GE
13
2.5 SW/VI
14
2.5 SW/GN
15
4.0 BR
Fuse # and function for E46 3-series and X3
Fuse 9 - 5 Amps - brake light, light module, on board computer, speed control (Powered in Accessory, On and Start)
Posted by: heidelburglesli484.blogspot.com
Source: https://www.bmwgm5.com/GM5_Connections.htm