
Everything is hooked up as indicated with corresponding end-stops for each motor. But when operating the printer (hooks up just fine to Repetier running marlin firmware), z-xis motor is reversed so that it always moves down from 0+, either through repetier or directly in the lcd control panel; making calibration with end-stops and printing impossible. How do I fix this?
Also, what are these for


Thanks for your time!