What happened when you shifted Y motor to X. Did the alarm shift to X or remain at Y ?

Normally alarm 52 is linked with encoder problem.