Thanks for the replies guys
Aunt Silvia I never disconnected the side stand switch, although I wish I had so I'm going to check to see if any wire has come adrift or as redxxrdr suggests pinched. Who knows maybe the electricians wriggle may well work
Paul99xx, I put C&S as i was just to lazy to write chain and sprocket. My bike is the older carb type
Redxxrdr you are right the older style has 3 wires coming off, one to the clutch switch, one to the ECU and one to the warning light. And there lays my problem why the warning light stays on all the time when the side stand switch obviously works well enough to cut out the engine when put in gear with the stand down.