I have a similar problem
I have replaced the motor still z does not lock.
Mach3 shows movement and smoothstepper diag shows movement.
When I change the position of z in mach3, then regen the code changes but no z movement.
I believe my problem is the controller or the smoothstepper driver Ver 17efb, 37, 2.08.36.