I tried putting the hard drive in a different computer, didn't fix the problem.
I opened up the box containing the breakout board, and Gecko drivers. Checked all connections. Found a loose "direction" connection on the Z axis. Didn't fix the problem.
I tried running the program without power to the steppers, and was able to run the full program.
All three axii are powered by individual power supplies, so I am in the process of seeing if I can isolate the problem to one drive.
With Z disconnected, X & Y powered the program stopped.
With Y disconnected, X & Z powered the program ran.
And as I am typing this, with X disconnected, Y & Z powered, the program stopped.
So, I think the problem is somewhere in the Y drive.
I'll try changing X and Y drivers/power supplies etc. and see if I can figure out what's wrong.
Thanks for the replies.
Rick