As the title states, my machine homes in the wrong direction.
when controlling the machine manually with the LCD controller every thing moves in the correct direction as it should. If I try to home the X or Y axis the machine goes away from the endstops.
I edited the section in marlin firmware:
// Direction of endstops when homing; 1=MAX, -1=MIN
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1
now If i make the 1= MAX instead of -1=MIN they will home in correct direction but then the endstops wont work. if the set as -1=MIN the endstops work but then its homing in wrong direction again.
I have tried swapping the motor cable around and then going in to the firmware and changing it to inverted direction so that the LCD controller is corresponding with the correct direction the machine is moving when doing it manually but even after doing this when attempting to home it just results in the same wrong direction homing issue. I don’t understand what would be causing this occurrence.