Endstop distance after homing problem.

My distance after homing for the X axis is set for 4mm but retracts 70mm while the Y and Z axis retract the proper 4mm.

The steps/mm are correct on all axis.  The Y and Z axis retract the proper 4mm after homing.  The exact same settings are used for the X and Y axis including microstepping.

Eeprom is disabled so it's not a stored Eeprom value.

This error occurs when using the printer display or by using Repetier-Host.

My only conclusion is there is a problem in the Repetier-Firmware.  I plan on marketing this printer in the next month or so I need to have this issue resolved.  It's the last big issue holding up the introduction.

Here are what I believe are the relevant settings:

#define DRIVE_SYSTEM 0
#define XAXIS_STEPS_PER_MM 63.94
#define YAXIS_STEPS_PER_MM 63.94
#define ZAXIS_STEPS_PER_MM 629.92
#define EXTRUDER_FAN_COOL_TEMP 50
#define PDM_FOR_EXTRUDER 0
#define PDM_FOR_COOLER 0
#define DECOUPLING_TEST_MAX_HOLD_VARIANCE 20
#define DECOUPLING_TEST_MIN_TEMP_RISE 1
#define KILL_IF_SENSOR_DEFECT 0
#define RETRACT_ON_PAUSE 2
#define PAUSE_START_COMMANDS ""
#define PAUSE_END_COMMANDS ""
#define SHARED_EXTRUDER_HEATER 0
#define EXT0_X_OFFSET 0
#define EXT0_Y_OFFSET 0
#define EXT0_Z_OFFSET 0


// ################ 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 false
#define MIN_HARDWARE_ENDSTOP_Z false
#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 true
#define MAX_HARDWARE_ENDSTOP_Z true
#define max_software_endstop_r true

#define min_software_endstop_x false
#define min_software_endstop_y false
#define min_software_endstop_z true
#define max_software_endstop_x true
#define max_software_endstop_y true
#define max_software_endstop_z false
#define ENDSTOP_X_BACK_MOVE 5
#define ENDSTOP_Y_BACK_MOVE 5
#define ENDSTOP_Z_BACK_MOVE 5
#define ENDSTOP_X_RETEST_REDUCTION_FACTOR 1
#define ENDSTOP_Y_RETEST_REDUCTION_FACTOR 1
#define ENDSTOP_Z_RETEST_REDUCTION_FACTOR 1
#define ENDSTOP_X_BACK_ON_HOME 4
#define ENDSTOP_Y_BACK_ON_HOME 4
#define ENDSTOP_Z_BACK_ON_HOME 4
#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 1
#define INVERT_X_DIR 0
#define INVERT_Y_DIR 0
#define INVERT_Z_DIR 0
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR 1
#define X_MAX_LENGTH 275
#define Y_MAX_LENGTH 163
#define Z_MAX_LENGTH 217
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define DISTORTION_CORRECTION 0
#define DISTORTION_CORRECTION_POINTS 5
#define DISTORTION_CORRECTION_R 100
#define DISTORTION_PERMANENT 0
#define DISTORTION_UPDATE_FREQUENCY 15
#define DISTORTION_START_DEGRADE 0.5
#define DISTORTION_END_HEIGHT 1
#define DISTORTION_EXTRAPOLATE_CORNERS 0
#define DISTORTION_XMIN 10
#define DISTORTION_YMIN 10
#define DISTORTION_XMAX 190
#define DISTORTION_YMAX 190

Comments

  • edited April 2016
    What is your print area 200 mm

    You use there a
    #define MIN_HARDWARE_ENDSTOP_X true

    and
    #define max_software_endstop_x true (at 275mm /  #define X_MAX_LENGTH 275)

    Also have a look on Y the max is 163mm and distortion max upto 190mm
  • Thank you VERY VERY MUCH for helping me with this problem.  I had no idea what was going on.

    I did figure it out.  Turns out it was the settings for the extruders.  I setup 3 extruders with ext0 having 0 offset, ext1 having 34mm offset, and ext2 having 68mm offset.  Yup.  Where I thought the offsets would be taken from ext0, they were taken from ext2 instead.  To me this is entirely counterintuitive given that it would be easier to design and set offsets from the first (ext0) extruder and not the last, later added extruders.

    Nonetheless, reversing the offsets so that ext2 has 0 offset, ext1 has 34mm offset, and ext0 has 68mm offset fixed the problem.

    Huh...
  • How you helped (VERY MUCH APPRECIATED) was in having me revisit all the settings, where I stumbled upon the 68mm offset for ext2.  Too much of a coincidence that the 3rd extruder offset was exactly the distance I was having a problem with.

    So, thank you again!
  • Just for your understanding. If you home and are at x=0 it should be possible to select any extruder. For this reason we go so much to the right that it is possible. As they are next to each other you loose a bit of x width but on the other side you can use all extruders on the remaining width.

    I guess with your reversing you broke this system and switching extruders will not be at the same position. The gap you mentiones was correct and intentional for the reason given. Homing with T2 active would have shown what you expected.
Sign In or Register to comment.