The CR-10 V2/V3 or CR-10S Pro V1/V2 have a breakout board on the X gantry. Below are pinouts for that board if you want to replace/bypass it.