7 wire CDI's
Brown, Red White/Red, Black from the stator to the CDI matching coloured wires.
From the CDI it was; Black/White, Black, Orange
Orange to the coil
Black looped back to the Black input and earth
Black/White was the engine cut off so if not connected to anything the engine runs and if earthed the engine stops or won't start.
It is important that the coil, CDI and stator are properly earthed.
The other wires from the stator are light blue - Neutral light - earth really
Green/White - which goes to the rectifier and MAY change to White only in the loom
Yellow - goes to power the lights
These last 3 are not required for the bike to start and are lights charging use only.
No battery is required to run them.