I was reading on another post about the same issue and someone commented on the step pulse polality. How do you know if it should be set to active low or high.
If your datasheet doesn't tell you, you can find out like this...
Those drives can be wired to allow your port pins to either source or sink current. i.e. you have individual access to both the anodes and cathodes of the opto-couplers (PUL+/PUL-).
Ideally you should have your 5Vdc supply on PUL+ and your step signal on PUL- (sink mode). If so then...
Disconnect your step wire from PUL- and connect a short wire.
Touch it to ground and then remove it. Did it step when you touched it or when you released it?
If the former then you set Mach active low. If it stepped when you released it then set Mach active high.
-----------------------------------
If on the other hand you have PUL+ connected to your step pin and PUL- connected to ground (source mode - not ideal) then...
Disconnect your step wire from PUL+ and connect a short wire.
Touch it to 5V and then remove it. Did it step when you touched it or when you released it?
If the former then you set Mach active high. If it stepped when you released it then set Mach active low.
Note: with microstepping set you may not be able to detect a single step (try touching the motor and feel for it). Alternatively you could set them to full step just to perform the above and set them back when you're done.
Ian