The DME relay controls both the ECU/Injectors/Ignition igniters/etc... and the Fuel Pump/O2 sensor heater. The fuel pump portion of the DME relay is turned on by a signal from the ECU. If you wire it so the fuel pump is on all the time, it will not work right.
Inserted below is an Excel spreadsheet I made to put my 964 motor in. It may help you, but it does have some specific notes in it about my car.
I am also attaching the 964 engine wiring diagram, which contains the DME relay and the ECU.
I hope it helps. Let me know if you need any more info.
Clay
Click to view attachmentECU Pin Wire Color Gauge 964 ECU Function Target Device and Pin number
1 White 14 Ignition Modules Signal Igniton Control Mudules 1 and 2 Pin 5
2 Brown 14 Ignition Modules Ground Igniton Control Mudules 1 and 2 Pin 3
3 Black/White 18 Fuel Pump Relay Fuel Pump Relay pin 85
4 Black/Red 18 Idle Speed Control Idle Speed Positioner pin 2
5 N/C Tank Venting Valve Tank Venting Valve pin 2
6 Red/Blue 18 Tachometer Output 914/6 Relay board Engine plug pin 2
7 Blue/Green 18 Air Flow Meter Signal Air Flow Meter Pin 2
8 White/Shield 18 Hall Sensor Signal Hall Sensor Pin 2
9 Red/Black 18 N/C
10 Brown 18 Oxygen Sensor Shield Ground Ground on Body at battery cable.
11 Green/Shield 18 Knock Sensor Number 1 Knock Sensor Number 1 Pin 2
12 Blue/Gray 18 Air Flow Meter Power Air Flow Meter Pin 3 / Pressure Sensor Pin 3
13 Blue/White 18 Diagnostic Plug Lead L OBD2 Connector Pin 15
14 Brown/Red 14 Ground Ground on Body at battery cable.
15 N/C Injector Number 3 Fuel Injector Number 3 Pin 1
16 Gray 18 Injector Number 6 Fuel Injector Number 6 Pin 1
17 Gray/Black 18 Injector Number 1 Fuel Injector Number 1 Pin 1
18 Red 16 Always on Positive ECU Power Battery via Auxuiluary Fuse Box in Engine Compartment.
19 White 16 Ground Ground on Body at battery cable.
20 N/C N/C
21 Black/ 18 Diagnostic Plug Knock Indicator OBD2 Connector Pin 11
22 Black/White 18 Check Engine Light added to bottom of Tachometer / OBD2 Plug Pin 9
23 Blue/Red 18 Resonance Plate Shift Valve Resonance Flap Pin 2
24 Brown/Yellow 16 Ground Ground on Body at battery cable.
25 Yellow/Red 18 N/C
26 Green/Red 18 Air Flow Meter Ground Air Flow Meter Pin 4
27 Black 16 N/C
28 Green/Shield 16 Oxygen Sensor Signal Oxygen Sensor Pin 1
29 Green/Shield 16 Knock Sensor Number 2 Knock Sensor Number 2 Pin 2
30 Brown 18 Shield for Knock Sensors, Hall Sensor and Knock Sensor Ground. Ground on Body at battery cable.
31 Yellow/Gray 18 Positive to Hall Sensor Hall Sensor Pin 3
32 Red/Green 18 Comsumption Gauge
33 Green/Blue 18 Injector Number 5 Fuel Injector Number 5 Pin 1
34 Gray/Red 18 Injector Number 4 Fuel Injector Number 4 Pin 1
35 Green/Blue 18 Injector Number 2 Fuel Injector Number 2 Pin 1
36 Red/Black 18 N/C
37 Red/Yellow 16 Switched Power from ECU Relay ECU Relay Pin 87
38 N/C N/C
39 N/C N/C
40 White/Black 18 AC Compressor AC Compressor Coil Power
41 Blue/Green 18 AC Cutoff sensors High Pressure/Low pressure cutoff valves for AC.
42 N/C N/C
43 N/C N/C
44 N/C Intake Air Temperature Sensor
45 Yellow 18 Engine Temperature Sensor Cylinder Head Temprature Sensor Pin 3
46 N/C Altitude Potentiometer Pressure Sensor Pin 1
47 Yellow/Red 18 Speed Reference Sensor Flywheel Sensor Pin 1
48 Brown 18 Speed Reference Shield Flywheel Sensor Pin 2
49 White/Shield 18 N/C
50 N/C Heat/AC Regulator
51 N/C N/C
52 N/C Throttle Valve Idle Signal Throttle Valve Switch Pin 1
53 White/Grey 18 Throttle Valve Full Load Signal Throttle Valve Switch Pin 3
54 White 18 Coding Plug Coding Plug in Passenger Compartment
55 Orange/White 18 Diagnostic Plug K OBD2 Connector Pins 3 and 7