1978 CB750F SS
A friend suggested it's the stator, i said it tested good and they either work or don't (as i've been told on this forum). He suggested starting it up and disconnecting the battery to see it if still runs. His justification is if the stator is good it'll keep running. What do you think?
I think your friend doesn't know much about SOHC4 charging systems.
At idle, the alternator makes about 1/3 of it best output wattage at 5000 RPM.
The bike will only keep running without a battery if the bike consumes less power than what the alternator can make at present RPM. If bike uses 100 watts and the alternator is making 80 watts, the ignition will not make spark and the engine dies without a battery attached.
My thoughts in general is that I either needed to replace the wiring harness (a shop suggested that) or replace the stator. With them being about the same price I didn't want to do one and it turn out to be the other and be out 2x's the money. If this is a viable test it seems like a good way to narrow it down.
Sounds like you're more interested in finding the problem via part substitution than checking/verifying the function of the components you have. Why would you replace an entire wire harness, if there is only one or two connections/routes that are faulty? And, if replacement still make sense to you, why don't you replace the entire bike because it doesn't charge its battery in a manner you expect?
Want to learn?
The SOHC4 stator can't make output power unless there is a magnetic field within the alternator at the rotor. The magnetic field is created by the field coil, also located in the alternator housing. So, this is where you must begin the verification. Apply full battery power to the White and green wires running into the alternator. If you have replaced the stock regulator with an electronic one, then make sure it is disconnected from the white/green wires.
With the battery directly powering the field coil, and the rotor spinning, the stator will generate AC voltage. This should then be rectified to DC via the rectifier and as long as the bike's electrical load is less than alternator generation, the battery voltage should rise. It may do this very slowly, if the battery is not at full charge, so this test is best done with a fully charged battery accomplished by an off bike battery charger.
Report to us what voltage you see at the battery, at 1000, 2000, 3000, 4000, and 5000 RPM.
repeat this test with the head light fuse removed. If you notice the battery voltage going above 15V discontinue the test, as there is nothing wrong with the alternator, or rectifier.
Normally, with the regulator included in the circuit, the white green voltage would be reduced when the battery goes above 14.5V. The regulator's action reduces the magnetic field inside the the alternator which reduces the power generated in the stator. In this way, the "regulator" controls system voltage by simply keeping the battery at full charge whenever the alternator has the capacity to supply what the bike needs plus some extra to top up the battery.
You now owe us numbers to analyze.