When the reset is started,the X axis stops after touching the limit switch,while the Y axis is still running very slowly

1.Possible cause analysis of failure:Maybe the Y-axis is the opposite polarity.
2.Solution:Reset the polarity.