You don't mention: Is the machine that the prox-sensor is connected to grounded?


Entertaining read: https://www.emcstandards.co.uk/cable...t-one-end-only