1. check circuit breakers inside control cabinet. Check circuit breaker of drive unit, which controls XB axis.
2. repair the drive unit. Maybe replacement of power transistor module is enough
3. schedule Your preventive service for drive units, power supply units and CPU rack. They need cleaning, greasing between radiators and power transistors with thermopaste