Help - NEMA 23 stepper motor works fine for a few hours, then stalls and grinds

My wiring is identical to the image in this setup.

The NEMA 23 motor is attached directly to the linear stage. Here is a datasheet containing schematics for the motor.