Try to move the XB axis off the limits while watching the axis load meters. When you move towards the limits does the load go high? Usually there is nothing wrong with the drive or inverter but is more likely a mechanical bind or pinched cover that causes high load and the drive trips out.
It could be as easy as adjusting the stroke end limit a little higher (X+limit) if it is pinching right on the limit.
If it is a high load all of the time even when mid travel, then you will want to try to adjust the XB with the pulse handle to see if the load will drop as it moves down and raise as it moves positive. If it ever goes to zero before moving negative,then you have a mechanical bind.
Are you ever getting a diff over alarm? That would also be an indicator of a mechanical bind.
From experience the load should be about 30% as it drops and about 75% as it moves positive.
Best regards,