Welcome! Log In Create A New Profile

Advanced

Marlin Firmware Only Moves Stepper on +x Direction

Posted by chiques 
Marlin Firmware Only Moves Stepper on +x Direction
November 22, 2018 04:51PM
Hello 3D Printer Community,
I just purchased a RAMPS 1.4 which uses the MEGA2560. I have successfully loaded firmware and connected my steppers to the point where I can control the printer using the knob on the LCD screen module. I have ran into a problem which I don’t know how to address though-
The screen instructions I take are:

Press the center button on the knob
Scroll Down to Prepare and press the center button on knob
Scroll Down to Move Axis and press the center button on knob
Scroll down to Move 1mm and press the center button on the knob
Scroll down to Move X and press the center button on the knob

If I turn the knob counter-clockwise the x-stepper moves in the +x direction (right). The other problem is it when I turn the knob in the opposite direction the stepper does not move in the –x direction (left). This applies to the y and z steppers as well.
My guess is there is a setting in the config.h file that adjusts this but I’m not sure what it is. If anyone has any guidance I would really appreciate it.
Re: Marlin Firmware Only Moves Stepper in +x Direction
November 22, 2018 04:56PM
I found the problem: The endstop needs to be set to false:

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.

Edited 1 time(s). Last edit at 11/23/2018 11:26AM by chiques.
Sorry, only registered users may post in this forum.

Click here to login