disconect the PP cable and put a voltmeter on the Dir pin and a ground pin of the port and jog the axis one way then the other, if you see the voltage change 0-5v then the port is OK, if you dont then looks like the port is bad (assuming all settings are correct in Mach)
Hood