For reference, here's the complete T47 connector pin numbering and assignments.
Contact Wiring connection to component ...
1 ⇒ Voltage supply from battery +
2 ⇒ Connector T16/7 , K wire
3 ⇒ Vacant
4 ⇒ Voltage supply from ignition/starter switch
5 ⇒ Vacant
6 ⇒ Transverse Acceleration Sensor G200
7 ⇒ Vacant
8 ⇒ Vehicles with navigation system only
9 ⇒ Vacant
10 ⇒ Vehicles with navigation system only
11 ⇒ Data bus wire ⇒ wiring diagrams
12 ⇒ Coding bridge to contact 38
Contact Wiring connection to component ...
13 ⇒ ASR/ESP Button E256
14 ⇒ Coding bridge to contact 38 (vehicles with ABS only)
15 ⇒ Data bus wire ⇒ wiring diagrams
16 ⇒ Ground point on left-hand longitudinal member
17 ⇒ Vacant
18 ⇒ Brake Pressure Sensor 1 G201 voltage supply
19 ⇒ Brake Pressure Sensor 1 G201 signal wire
20 ⇒ Brake Pressure Sensor 1 G201 Ground wire
21 ⇒ Vacant
22 ⇒ Vacant
23 ⇒ Vacant
24 ⇒⇒ Ground wire for Transverse Acceleration Sensor G200 and Rotation Rate Sensor G202 Ground wire for ESP Sensor Unit G419 , vehicles from m.y. 12.01
25 ⇒⇒ Vacant Data bus wire for ESP Sensor Unit G419 , vehicles from m.y. 12.01
26 ⇒ Voltage supply for Transverse Acceleration Sensor G200 and Rotation Rate Sensor G202
Contact Wiring connection to component ...
27 ⇒ Vacant
28 ⇒ Vacant
29 ⇒⇒ Vacant Data bus wire for ESP Sensor Unit G419 , vehicles from m.y. 12.01
30 ⇒ Vacant
31 ⇒ Vacant
32 ⇒ Voltage supply from battery +
33 ⇒ Right Front ABS Wheel Speed Sensor G45
34 ⇒ Right Front ABS Wheel Speed Sensor G45
35 ⇒ Vacant
36 ⇒ Left Rear ABS Wheel Speed Sensor G46
37 ⇒ Left Rear ABS Wheel Speed Sensor G46
38 ⇒⇒ Coding bridge to contact 12 (vehicles with ABS/EDL/ASR/ESP front wheel drive only) Coding bridge to contact 14 (vehicles with ABS front wheel drive only)
Contact Wiring connection to component ...
39 ⇒ Vacant
40 ⇒ Rotation Rate Sensor G202 signal wire
41 ⇒ Brake Light Switch F
42 ⇒ Right Rear ABS Wheel Speed Sensor G44
43 ⇒ Right Rear ABS Wheel Speed Sensor G44
44 ⇒ Vacant
45 ⇒ Left Front ABS Wheel Speed Sensor G47
46 ⇒ Left Front ABS Wheel Speed Sensor G47
47 ⇒ Ground point on left-hand longitudinal member