The gearbox control unit for each E36 automatic: the four-speed A4S 310R (separate layouts for four- and six-cylinders) and the five-speed A5S 310Z and A5S 300J. Function from BMW's pin table, wire colour and where the wire goes.
projekt36.com/wiring/automatic-gearbox/
The four-speed A4S 310R behind the four-cylinders. The EGS reads the selector lever (four code lines L1–L4), the program switch, kick-down, brake and engine data, and shifts with five solenoid valves in the gearshift unit.
Power comes from the DME relay (pins 54 and 55) and the battery feed on pin 26; it talks to the DME over CAN (85, 86).
Redrawn from BMW ETM 2460.2 (05/99), standard petrol E36 (316i–328i); diesel and M3 parts are left out.
The same A4S 310R gearbox on the six-cylinders uses a different pin layout: three shift solenoids, a pressure regulator and a lockup clutch valve, plus the shift lock and the ASC link.
Redrawn from BMW ETM 2460.2 (05/99), standard petrol E36 (316i–328i); diesel and M3 parts are left out.
The five-speed A5S 310Z: two speed sensors (turbine and output), five shift solenoids, a pressure regulator and the lockup clutch valve, all fed from pin 53.
Redrawn from BMW ETM 2460.4 (05/99), standard petrol E36 (316i–328i); diesel and M3 parts are left out.
The five-speed A5S 300J used with the M52: shift valves A, B and C, overdrive, R-lock, main pressure and lockup clutch valves in the transmission switch, one output speed sensor.
Redrawn from BMW ETM 2460.11 (05/99), standard petrol E36 (316i–328i); diesel and M3 parts are left out.
BMW labels every wire with its size and colour, for example 2.5 SW/GE: 2.5 mm², black (schwarz) with a yellow (gelb) stripe. Connectors are numbered X…, followed by the pin. The wires in these diagrams are drawn at relative thickness, so the 25 mm² battery cable stands out from a 0.35 mm² signal wire.
Codes used here: SW = black, RT = red, GN = green, BL = blue, GE = yellow, BR = brown, WS = white.