I would suggest the likely culprit is the direction line going to the driver. Put a voltmeter on it and see if it toggles as you command the axis forward and reverse.