I traced the wiring from the ignition to the bundle of connectors under the tank, these have all now been taken apart cleaned and WD40'd, again no signs of corrosion.The ignition barrel has had loads of WD40 squirted down it and I've found the 2nd key for the bike which fits more snugly.The battery is charged.The bike now starts on the button as I'd expect, so hopefully the gremlins have been killed by drowning in WD40.
I cannot stress how bad for the contacts and the ignition barel WD40 is WD40 is oil petroleum based, it can remove water, but if you think you are cleaning the contacts you are wrong.I strongly sugest use electrical contacts cleaner and clean the WD40 soon. In the sockets within a couple of months WD-40 turns into a gummy substance that attracts all kinds of dirt.
Just got the bike out to enjoy a ride in the sunshine. It took a lot more effort to start than normal, seemed to be turning over OK but wouldn't catch. I played with the choke (not normally needed) still nothing, left it for 30 seconds and it started. Rode 500 yards down the road and everything cut out, engine, lights, clocks, everything. I turned round and started freewheeling back towards home and within 20 seconds the electrics came back on and the bike started up again when I pressed the starter. Battery is Motobatt less than a year old (now on charge).Bike is in good order with minimal corrosion, I've just been through all the electrics top to tail and made sure the connectors were all good and squirted WD40 down them all (not long ago did this with ACF50).Iridium plugs are probably due for a change soon (done about 20k) but I wouldn't expect this is the issue.Last ride out the bike behaved faultlessly although picked up a puncture so the back wheel has been out and back in since.Will go down and squirt some WD down the ignition barrel.Any ideas - hate not being able to trust the bike, I guess it's time to get some breakdown cover.