Use this SHIELDED 3 conductor 22 AWG stranded cable for signal level connection. This cable will be protected from interference
This is a cable that you can use to connect signal terminal from one device to another. I typically use this cable to connect the step and direction signals from CNC controllers to stepper motor drivers. There is a bare wire that is connected to the shield which is used to connect to the signal ground to remove the interference.