Without knowing what you have - if it's at all possible to swap the X and Y axis cables to the motors at the control box - try that and see if the problem remains on the X-axis. If it does, then it's the wiring or the motor, if the problem swaps to the Y-axis then it's the control box.