Good day
The alarm tells you that your x - axis encoder cable or the encoder is faulty.
99% CERTAIN IT IS YOUR CABLE AS IT MOVES WITH THE MACHINE.
Replace or repair the cable .
Then you need to set up the home positions in x and y as they are on the same drive and the batt. shorted and lost both positions.
This is setted on parameter 1815.
If you do not know how , ask and you shall receive !!!!!
Good luck