Hey all. I am confused with the dual endstop setup. I have taken a Rambo config and made it work for the basics of the dual endstop for the SKR 1.4. The motors turn appropriately, in pairs and in the correct direction (opposite) but I cant get it to compile by following the instructions in the marlin documentation to set the pins for the dual endstops… I think it is just syntax, but I can’t figure it out.
//#define X_DUAL_STEPPER_DRIVERS
#if ENABLED(X_DUAL_STEPPER_DRIVERS) #define INVERT_X2_VS_X_DIR true // Set ‘true’ if X motors should rotate in opposite directions #define X_DUAL_ENDSTOPS #if ENABLED(X_DUAL_ENDSTOPS) #define X2_USE_ENDSTOP XMAX #define X2_ENDSTOP_ADJUSTMENT 0 #endif #endif
#define Y_DUAL_STEPPER_DRIVERS #if ENABLED(Y_DUAL_STEPPER_DRIVERS) #define INVERT_Y2_VS_Y_DIR true // Set ‘true’ if Y motors should rotate in opposite directions #define Y_DUAL_ENDSTOPS E1DET #if ENABLED(Y_DUAL_ENDSTOPS) #define Y2_USE_ENDSTOP #define Y2_ENDSTOP_ADJUSTMENT 0 #endif #endif
//
// For Z set the number of stepper drivers
// #define NUM_Z_STEPPER_DRIVERS 2 // (1-4) Z options change based on how many
To me it doesn’t make sense that the define for the endstops is in the bolded line, but should be in the italic line below… This is the only way it will compile. Says it must be defined in that line??
Ha. Well i got it to compile finally. Had to add lines to define the x2 y2. And the corresponding pins for the endstops. If anyone is interested. I could post the config/ad and pins for the skr 1.4… Perhaps someone who knows could also correct my syntax and make it proper and clean? But it works…
I have it wired on my desk and have sent the crown file. All steppers work as you would expect and the endstops seem to behave as well. Anyone interested…
YES! Im interested! Im having trouble getting one of the Y axis motors to move at the same rate as the other one. Y2 does not reduce the steps/mm when i reduce the Y steps/mm in the firmware. Any help you could provide would be great! SKR 1.4 Turbo 2209 drivers and trying to use dual endstops for the Y and Z axes. Thank you!