When y axis endstop triggered, it dont finish the motor movement

Hi everybody,

 While printer is homing, it is homing x and z. However, when  y  axis endstop is triggerd, it dont stop. Here my setting from configuration.h. 

// ################ Endstop configuration #####################

#define ENDSTOP_PULLUP_X_MIN true
#define ENDSTOP_X_MIN_INVERTING true
#define MIN_HARDWARE_ENDSTOP_X true
#define ENDSTOP_PULLUP_Y_MIN true
#define ENDSTOP_Y_MIN_INVERTING true
#define MIN_HARDWARE_ENDSTOP_Y true
#define ENDSTOP_PULLUP_Z_MIN true
#define ENDSTOP_Z_MIN_INVERTING true
#define MIN_HARDWARE_ENDSTOP_Z true
#define ENDSTOP_PULLUP_X_MAX true
#define ENDSTOP_X_MAX_INVERTING false
#define MAX_HARDWARE_ENDSTOP_X false
#define ENDSTOP_PULLUP_Y_MAX true
#define ENDSTOP_Y_MAX_INVERTING false
#define MAX_HARDWARE_ENDSTOP_Y false
#define ENDSTOP_PULLUP_Z_MAX true
#define ENDSTOP_Z_MAX_INVERTING false
#define MAX_HARDWARE_ENDSTOP_Z false
#define max_software_endstop_r true

#define min_software_endstop_x false
#define min_software_endstop_y false
#define min_software_endstop_z false
#define max_software_endstop_x true
#define max_software_endstop_y true
#define max_software_endstop_z true
#define ENDSTOP_X_BACK_MOVE 5
#define ENDSTOP_Y_BACK_MOVE 5
#define ENDSTOP_Z_BACK_MOVE 2
#define ENDSTOP_X_RETEST_REDUCTION_FACTOR 3
#define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 3
#define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 3
#define ENDSTOP_X_BACK_ON_HOME 1
#define ENDSTOP_Y_BACK_ON_HOME 1
#define ENDSTOP_Z_BACK_ON_HOME 0
#define ALWAYS_CHECK_ENDSTOPS 0

// ################# XYZ movements ###################

#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define DISABLE_X 0
#define DISABLE_Y 0
#define DISABLE_Z 0
#define DISABLE_E 0
#define INVERT_X_DIR 1
#define INVERT_Y_DIR 1
#define INVERT_Z_DIR 0
#define X_HOME_DIR -1
#define Y_HOME_DIR 1
#define Z_HOME_DIR -1
#define X_MAX_LENGTH 170
#define Y_MAX_LENGTH 170
#define Z_MAX_LENGTH 180
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0


Comments

  • mismatch in homing direction / installed endstop switch

    you have
    #define MIN_HARDWARE_ENDSTOP_Y true

    (endstop at y min)

    but
    #define Y_HOME_DIR 1

    which means you home to y max.

    so two problems :

    if motor is homing in the correct direction  its wrong in that case 

    so change the following two lines

    from:

    #define INVERT_Y_DIR 1   -->>  #define INVERT_Y_DIR 0

    #define Y_HOME_DIR 1   -->>  #define Y_HOME_DIR -1






  • thank you so much, ı can home y axsi now but ı faced with another problem. in my first try, i homed z axis but then ı oredered to home z axis it moved down and triggered the z axis endstop then the motor got stuck and begun to make sound.  curerntly when ı oreder z axis to move,motor dont turn and make sound. what are your opinions about this problem.
  • edited October 2018
    several possibilities:
    motor not connected properly
    motor current is adjusted incorrect
    steps/mm don´t match
    speed and acceleration to high

    check motor connections and motor current , then
    i´d suggest to reduce z-axis homing speed first , try 5 at the beginning then increase
Sign In or Register to comment.