Hi Malcolm,
 
	My XF used to do strange things, codes flashing up, alarm going off because I was not driving it enough.
 
	Do you use it on a regular basis?
 
	you could check battery, check no water in boot causing problems with wiring , check relays are any loose? these seem to be common problems
 
	that owners have quite frequently.
 
	Kind Regards,
 
	Julie.