Dans Marlin 1.1.9 > configuration.h la section machine et la section homing, il y a en dessous aussi la parti end stop software,
Regarde tes valeur dans cette section, j'ai mis des commentaires en plus si sa peut t'aider.
Je viens de passer du temps a décortiquer marlin, j'avais eu un souci de centrage au début le home se fesait mais revenez au milieu du plateau.
Avec les valeurs XYZ_MIN_POS, a 0. le Home reste sur mais FDC.
// @section homing
//#define NO_MOTION_BEFORE_HOMING // Empeche tout mouvement avant le home X y Z
//#define UNKNOWN_Z_NO_RAISE // Don't raise Z (lower the bed) if Z is "unknown." For beds that fall when Z is powered off.
//#define Z_HOMING_HEIGHT 20 // (in mm) Minimal z height before homing (G28) for Z clearance above the bed, clamps, ...
// Be sure you have this distance over your Z_MAX_POS in case.
// Direction of endstops when homing; 1=MAX, -1=MIN
// :[-1,1] //Shematic -1 [E] +1 //
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1
// @section machine
// The size of the print bed
#define X_BED_SIZE 235
#define Y_BED_SIZE 235
// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0 // distance parcouru apres le home depuis le FDC, si 0 reste sur le FDC
#define Y_MIN_POS 0 // si n'importe distance mentionner, celle ci sera atteinte apres le home
#define Z_MIN_POS 0 //
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 260
Ensuite un peu plus loin
// @section homing
// The center of the bed is at (X=0, Y=0)
//#define BED_CENTER_AT_0_0 // <<< Pour un centre a 0 0
// Manually set the home position. Leave these undefined for automatic settings.
// For DELTA this is the top-center of the Cartesian print volume.
//Definit une position Manuel
//#define MANUAL_X_HOME_POS 0
//#define MANUAL_Y_HOME_POS 0
//#define MANUAL_Z_HOME_POS 0
// Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
//
// With this feature enabled:
//
// - Allow Z homing only after X and Y homing AND stepper drivers still enabled.
// - If stepper drivers time out, it will need X and Y homing again before Z homing.
// - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).
// - Prevent Z homing when the Z probe is outside bed area.
//
//#define Z_SAFE_HOMING // Autorise le home sur Z qu apres le home X Y
#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axes (G28).
#endif
// Homing speeds (mm/m) // vitesse des deplacements
#define HOMING_FEEDRATE_XY (60*60)
#define HOMING_FEEDRATE_Z (4*60)
// @section calibrate
Après dans configuration_adv, tu a la définition
#define HOME_Y_BEFORE_X // qui feras lors d'un G28 le home en y avant le home en x.
SI sa peut t'aider.