Check if the XY axis motor harness plug is loose。
Check whether the XY axis limit switch wiring harness plug is loose, and check whether there is any foreign matter in the photoelectric switch.