Re: uPVC CNC Corner Cleaner
The fact you say it's fine when you move the cable away from the chassis, sounds like a grounding issue.
Are all the earth straps/wiring in good condition?
The first thing I'd do, is go around the chassis and check for any earth wires that are missing (look for remains of connectors underneath bolts/screws with nothing connected) or damaged wires. Any wires you do find, unbolt/screw them and check they're making good contact with the frame.
Check that the main earth wire in is good.
It migt talso be worth checking with a multimeter, that all the major metal parts have a good connection to the main earth terminal. You should see less than a few ohms resistance, anything higher and I'd be looking to find out why.
Re: uPVC CNC Corner Cleaner
Everything M_C said with addition to go over every wire and connection with a fine tooth comb has chances are this is something simple like a loose connection or switch going down sending out noise.
Obvious but Check no high voltage cables run along side signal cables.
One last thing.!! . . . Have you changed any other equipment close by the machine that may be interfering.? I ounce had a compressor in the next room separated by concrete block wall affecting my machine when coming on.!! . . . . took me months to realise only happened when compressor fired up because it didn't always happen.! . . . Nightmare stuff.!!!