Welcome! Log In Create A New Profile

Advanced

Marlin "DUAL_X_CARRIAGE" X2 sensorless not homing.

Posted by nacheitor 
Marlin "DUAL_X_CARRIAGE" X2 sensorless not homing.
January 30, 2024 01:21PM
Hello, I am setting up a printer with Marlin, similar to the IDEX printers. I'm using an Octopus v1.1 BTT board and I've gotten all the axes and both extruders to work. But when homing, it does X homing correctly (sensorless), Y homing ok and z homing (BLTouch). But when X2 homing starts, the carriage only moves 1 mm and continue homing. I have been lowering the sensitivity of X2 but it seems that is not the problem.

The drivers is configured:

#define X_DRIVER_TYPE  TMC2209
#define Y_DRIVER_TYPE  TMC2209
#define Z_DRIVER_TYPE  TMC2209
#define X2_DRIVER_TYPE TMC2209
...
#define E0_DRIVER_TYPE TMC2209
#define E1_DRIVER_TYPE TMC2209
...

Sensorless configuration:

#define SENSORLESS_HOMING // StallGuard capable drivers only

  #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING)
    // TMC2209: 0...255. TMC2130: -64...63
    #define X_STALL_SENSITIVITY  80
    #define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY
    #define Y_STALL_SENSITIVITY  80
    #define Y2_STALL_SENSITIVITY Y_STALL_SENSITIVITY
  #endif

I have configured the dual extruder with the following code.

#define DUAL_X_CARRIAGE
#if ENABLED(DUAL_X_CARRIAGE)
  #define X1_MIN_POS X_MIN_POS    // Set to X_MIN_POS
  #define X1_MAX_POS X_BED_SIZE   // A max coordinate so the X1 carriage can't hit the parked X2 carriage
  #define X2_MIN_POS    80        // A min coordinate so the X2 carriage can't hit the parked X1 carriage
  #define X2_MAX_POS   353        // The max position of the X2 carriage, typically also the home position
  #define X2_HOME_DIR    1        // Set to 1. The X2 carriage always homes to the max endstop position
  #define X2_HOME_POS X2_MAX_POS  // Default X2 home position. Set to X2_MAX_POS.
                                  // NOTE: For Dual X Carriage use M218 T1 Xn to override the X2_HOME_POS.
                                  // This allows recalibration of endstops distance without a rebuild.
                                  // Remember to set the second extruder's X-offset to 0 in your slicer.

  // This is the default power-up mode which can be changed later using M605 S.
  #define DEFAULT_DUAL_X_CARRIAGE_MODE DXC_AUTO_PARK_MODE

  // Default x offset in duplication mode (typically set to half print bed width)
  #define DEFAULT_DUPLICATION_X_OFFSET 100

  // Default action to execute following M605 mode change commands. Typically G28X to apply new mode.
  //#define EVENT_GCODE_IDEX_AFTER_MODECHANGE "G28X"
#endif

Does anyone know where the problem could be?

Thanks in advance.

Edited 4 time(s). Last edit at 01/30/2024 01:52PM by nacheitor.
Sorry, only registered users may post in this forum.

Click here to login