check the charging voltage - this can sometimes fluctuate when the reg/rec gets hot and can cause voltage spikes etc - my z650 does the same thing every now and then.
What you can do to regulate the voltage received by the coils - is do the coil relay mod. Essentially - you use the +12v feed from the kill switch - which normally supplies the +12v signal to the coils - to a normal Bosch relay. Mount the relay up under the tank somewhere, where it won't get wet. You need to supply the coil with +12v straight from the battery through a fuse-holder. The 3rd relay pin is an earth - and the relay +12v output signal - is then split and fed to each coil.
This mod removes all the voltage drop you normally get on these old bikes, where the +12v signal has to go through the ignition switch via a couple of connector, then to the kill switch - then eventually back down to the coils. Its OK when the wiring and the bike is brand-new - but over time, connectors and switches build up resistance which results in less than +12v being received by the coils.....
here is the wiring diagram. Its a really easy mod, I have done this to all the zeds in the shed here....
