Controlling robot arm KSR10

I don't know the answer to your question.
But i think i get what your Fritzing! sketch is supposed to do.
You haven't drawn a connection to enable2, is that on purpose ?
You could try some pulldown resistors, and keep the wires as short as possible.