090515-1334 EST
I am going to focus my comment to within a building.
There are CNC people (this may mean service, or CNC factory people) that will suggest that a ground rod at the CNC machine may eliminate RS232 communication problems. When that does not work, then they may suggest that the EGC be opened and only ground the machine with the local ground. That may or may not solve the problem, BUT it is a major VIOLATION of the requirement for grounding by the NEC.
Assume the ground path thru the earth is 10 ohms from the machine ground rod to the main panel. If the EGC is disconnected, then with a 120 V source the maximum current with a short to ground would be 12 A. Not enough to ever trip even a 15 A breaker.
The solution of noise problems in RS232 communication is not by trying to lower the ground path impedance, but rather use of isolation which is a far better solution.
I have run an experiment where I used a separate wire for one meter lead laying on the floor from the main panel to a CNC 50 ft away. The other meter lead was then connected to the machine chassis. The voltage was measured, less than a volt. The EGC exists. This machine is close to an outside wall so I drove a ground rod just outside the door near the machine. This made the distance from the main panel ground rod to my auxiliary rod about 50 ft. Adding a connection from this auxiliary rod to the machine produced a small reduction in the noise voltage measurement.
.