Grinding and incorrect travel

I have setup my machine 3 times and have the same issue. At tome o get a grinding noise and others I get travel in the wrong direction at the start of the move. Any advice would be greatly appreciated

Wrong direction occasionally sounds of a wiring issue. May need to pull wires out of tubes and look for lose connections.