2005 Ford Escape Instrument cluster not working?

My instrument cluster does not work all the lights stay on and the odometer will let me go in to test mode but other than that the odometer will show dashes the temperature tachometer and speedometer all stay at zero. The gas gauge does work though which is weird. Before it stopped working completely it would stop working sometimes randomnly and everthing would go to 0 and then back to the normal thing. Any help would be appreciated. Also the data connector won't work.

Have you checked the fuses?

Could be a network communication issue between the IPC and PCM or a bad pcm