According to Ian…
The connector for it is located on the right hand side of the headstock. You can see it if you look down through the gap between the tank and the headstock. Black 3 pin connector.
The contacts might be corroded, worth looking. The Tacho or the wiring harness to it might be faulty.
The impulse drive for the tacho comes from the motronic (ECU) black/grey which is the pulse for the coil. Pin 2 of connector.
The green/black pin 1 is the +ve 12 volts and the brown pin 3 is earth.