This isn't exactly what was asked, but some years ago I came across an example of cable usage which caused many problems.
This was a site owned by an American company (hint : number between 2 and 4; and letter between L and N). They had a PLC installed in a locked cabinet, and to prevent the need to open the cabinet for programming or monitoring, they had attached a small RS232 lead from the programming port to a 25-pin D-type mounted through the cabinet door. Effectively they had just extended the programming port's location by a few inches. So far, so good.
However the staff had then screwed a 4-foot long null-modem cable to this 25-pin port on the outside of the cabinet. That meant whenever they needed to attach a programming device, the cable was always there. And whenever no-one was using the PLC, the cable was just left, unterminated at one end, dangling down the front of the outside of the cabinet. Nearby on this production floor were a couple of machines with ultrasonic welding heads for plastic bags. These things are, I understand, notoriously good generators of RF noise.
After several occasions when the PLC went in to a fatal error, someone eventually had the good idea that it might be related to this cable. It was acting as an antenna for all the RF noise in the air. Take the cable away, problem disappeared. Now, agreed, it was a badly made cable, poorly-shielded, but the memory has always stuck with me. So, ever since then whether it's rational or not, I always tend to connect to the PLC last and disconnect from it first. I try not to leave unterminated cables attached to my PLCs - you never can tell.
Ken