For that circuit, the ECU simply provides a return to earth, that effectively switches on the circuit or not. Note that about 2 secs after turning on ignition, the fuel pump is turned off - which suggests that it isn't supposed to be on all if the time.
I have a theory about that yellow connector. Not proved.
Most of the black/white wires carry
low current power to various devices.
They are all connected together. One (or more) of the leads will be the source of the power which is then distribute to the others
If someone at some time has found a convenient b/w lead (which isn't the one connected to the power source), and they have used it to power their own accessories, then that will increase the current passing through that connector. The bus bar connecting them together in the yellow connector will get hotter than it should as a result. One of the terminals will be hotter than the others. That will maybe the one with the worst connection - the one that has the highest resistance, or maybe the one that is less able to dissipate the heat. And that will be the one that melts, then moves and creates a worse connection, and arcs. Vicious circle.
That thought suggests the the location of the bad connection has nothing to do with the item that has failed. It still needs addressing, but the actual problem may be the set of headlights that were put on and connected to a b/w lead elsewhere.
Just a thought.
Does anyone know the circumstances that cause the ECU to turn off the fuel pump - other than 2 seconds after the ignition is turned on? The bank angle sensor does it by turning off the bank angle relay, so doesn't involve the ECU. I know that the 1100 has a SCR circuit which keeps turning on the SCR every revolution of the engine. So if the engine isn't turning, the SCR turns off. The ST1300 doesn't have this. Maybe the ECU turn it off if the engine isn't running. I think I have just answered my own question !
If so, by-passing the ECU in the fuel pump relay circuit could mean that if the engine stops - other than by tip over or kill switch, fuel would still be pumped. Where would it go ? Flood the engine. Or would it overload the fuel pump ?
SCR = Silicon Controlled Rectifier. A diode which blocks current flow in both directions, but has an extra 'trigger' gate which if powered, allows it to 'turn on' and behave like a normal diode.
The SCR can be turned off by setting the input voltage to zero momentarily. The ST1100 uses a delay capacitor/resistor combination to 'slowly' drain the input voltage to zero, thus turning off the SCR - say within half a second. The ignition pulse to the coil turns on the SCR trigger gate every spark - turning the SCR on again. So it is being turned on much faster than the voltage can be reduced to zero - if the engine is running - so the fuel pump remains pumping. If the engine stops, the fuel stops pumping within that half second.
.