The direction pin voltage depends on the last direction the axis were moving.I measured the pins on the parallel cable and found it weird that the direction pins for the whining axes had 3.6V but for the properly working one both were 0V.
It's 0V in one direction, and 3.3-5V in the other.