If the computer and the scale are both plugged into the SAME circuit breaker (so they're on the same AC "leg") and they share a common ground through the outlet, then there can't possibly be a ground loop.
Ground loops only happen when you have two devices with different ground potentials, which usually only happens when you're plugged into different power circuits. Only way you could have a ground loop is if the computer or scale has a defective power supply.
Is it a Toledo scale? It's almost certainly using a 9 pin RS-232 cable.
If you can open the 9 pin connector on the data cable from the scale (it might be a metal connector with screws you can open - otherwise it's molded and you can't get in it) make sure there aren't any broken wires, or any wires touching. Could be you have a short in there.
If I'm reading your post properly you've already tried the next test I can recommend: you've run the bales through with the scale unplugged from the computer and the scale works fine. It's ONLY when the scale is plugged into the computer that it acts up, right?
10 feet away and on the same power circuit, I can't possibly see how it could be a ground loop problem. I also don't see how a signal isolation unit that isolates the ground would help.
For those interested in how to isolate RS-232 optically between two distant devices, this is what we used where I used to work (used one on each end):
http://www.telebytedatacom.com/catalog/products/265.htm
For just optically isolating two RS-232 devices, and not worrying about a long cable run, you could use one of these:
http://www.peradata.com/products/isolators/ic-232-8.htm
It really can't be a normal ground loop if you're on common power, unless there's a defective power supply or an improperly wired power outlet involved. While using an Rs-232 isolator MIGHT fix your problem (not sure you want to cough up a couple hundred dollars for one though) it won't address the actual problem.
SOME SUGGESTIONS:
- I'm reaching here, but MAYBE the scale is building up a static charge after a certain number of bales go through and when it discharges it scrambles it's little brains. If that's the case then the problem is that the scale is NOT properly grounded. Run a wire from a case screw on the scale to a cold water pipe or something you KNOW is a true earth ground.
- The computer may have a defective PSU and there's AC leaking to the ground.
- Any chance you have another computer you can try?
- Could be a defective power supply in the monitor. I've seen monitors leak RFI (radio frequency noise) so bad that they caused data loss on network cables nearby, and to data cables connected to the computer. The high voltage PSU in a monitor can cause a lot of problems if it misbehaves, and I gather this is probably an old beat-up monitor. Try unplugging the monitor from it's power cord and see if the problem goes away.
- You might also try another serial port on the computer (if there is one). It's a real stretch, but maybe the serial port is screwed up.
- Anyone have a VOM multimeter at you shop? Put it on AC mode at the 100 volt range and measure the voltage between a ground point on the computer and one on the scale WITH THE DATA CABLE UNPLUGGED (touch the probes to a case screw on both units). If it doesn't read anything at 100 volt scale (assuming it's an analog meter an not a digital) try a lower AC scale. If you have a ground loop you'll see some substantial voltage - something over 5 volts. Anything in the millivolt range is meaningless.
- You should check to make sure that the scale and computer (and anything else connected to them) are plugged into PROPERLY wired power sockets. If one socket has the neutral and hot reversed (I've seen a lot of bozos do that in a shop thinking they knew how to wire an outlet and actually being clueless), and your building uses a grounded neutral instead of a true ground, then you'll have major problems. Get one of those $3 outlet testers with 3 lights on it that shows whether the outlet is wired properly and properly grounded. You can get them at Radio Shack or any hardware store. Check all the outlets that the computer, monitor, printer and scale are plugged into and make sure they are the correct phase and grounded.
- Another test you could try: I assume the computer is an ATX case? What happens if you turn off the computer (soft power off, but AC power still connected) and leave the scale hooked up to it? Does it still act up? Some of those scales actually receive data as well as send data (some scales can be programmed from the computer either to enter weight offsets or to upload firmware). Could be the computer is sending gibberish to the scale and locking it up.
- Could be the scale needs a firmware update. Maybe it took a surge and just crashes when it receives a certain amount of data. Some of those scales have a reset switch somewhere.
Hope this helps...