Enterprise "Terra Prime":
PAXTON [on viewscreen]: I've just taken over the verteron array on Mars. I can now fire on any ship or facility in the system. (He blasts a new crater on the Moon.)
Wiki says that the Array was built in the 2150's
The xindi storyline happened from March 2153 to February 2154
Enterprise "Zero Hour":
[Reptilian Bridge]
DOLIM: Are you detecting any Earth vessels near the co-ordinates?
SOLDIER: No vessels, but there is one small orbital station. Unarmed. (They emerge into normal space.)
Since they had already colonized Mars well before the "Terra Prime" episode (January 2155) I assume the Array was in place before the episode "Zero Hour" which was only 11 months before. The Arrays purpose was to blast comets from hitting mars, and redirect them for the colonies benefit.
The Array was very powerful.
Enterprise "Terra Prime":
REED: He's targeted us with the array. Apparently, they don't like being scanned.
ARCHER: Get us out of here. (The verteron beam strikes out at Enterprise.)
ARCHER: Damage?
REED: Massive power surge! We've lost half our relays. The beam was only two percent of the array's total output. He could have vaporised us.
It appears that comet hits were frequent on mars so the Array was needed and probably would have been in place before they colonized the planet.
Enterprise "Terra Prime":
SAMUELS: This wasn't an easy decision for the Council. The potential for disaster's even greater than you think. Over the next thirty months, the terraforming project has fourteen comets set to collide with Mars. Without the array to divert them toward the polar caps, the comets could hit anywhere, even the domed cities.
ARCHER: I'll take in a small team. We'll break into the facility and stop them.
SAMUELS: Paxton can destroy any ship that approaches Mars.
So it appears the Array would have been in place approximately 11 months earlier when the Xindi were attacking earth. Earth wouldn't build a colony on a planet that could take that many comet hits in such a short time without the array in place.
Enterprise "Zero Hour":
DOLIM: When we exit the vortex, how close will we be?
LIEUTENANT: Approximately two million kilometres from Earth.
DOLIM: Two million!
So when the Xindi drop out of orbit into the system, and they had to drop out well past Mars they didn't see the Array and no mention of it was used as a defense for earth. They only mention an unarmed science station.
If they had such a powerful weapon as the Array why didn't they use it against the Xindi weapon and warship when it dropped out of Warp or was it not completed yet?