Electric radiator fans not working

Cooling fans used to turn on automatically when coolant sensor detected a rise in coolant temperature. Now the fans only come on when AC is on. Could this be related to the fan relay unit or temp sensing unit on top front engine (near thermostat) Also does the XK 8 have a code reader port? And if so where is it located