Dual Endstops Rambo 1.4

Sent them in last message was editing when you responded.

This is strange. I’m not sure why x_max isn’t x2_max, given this configuration. In the advanced, the dual drivers are still set to follow the behavior of the MPCNC, with dual X and dual Y, and one Z.

#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
  #if ENABLED(Y_DUAL_ENDSTOPS)
    #define Y2_USE_ENDSTOP _YMAX_
    #define Y2_ENDSTOP_ADJUSTMENT  0
  #endif
#endif

//
// For Z set the number of stepper drivers
//
#define NUM_Z_STEPPER_DRIVERS 1   // (1-4) Z options change based on how many

#if NUM_Z_STEPPER_DRIVERS > 1
  //#define Z_MULTI_ENDSTOPS
  #if ENABLED(Z_MULTI_ENDSTOPS)
    #define Z2_USE_ENDSTOP          _XMAX_
    #define Z2_ENDSTOP_ADJUSTMENT   0
    #if NUM_Z_STEPPER_DRIVERS >= 3
      #define Z3_USE_ENDSTOP        _YMAX_
      #define Z3_ENDSTOP_ADJUSTMENT 0
    #endif
    #if NUM_Z_STEPPER_DRIVERS >= 4
      #define Z4_USE_ENDSTOP        _ZMAX_
      #define Z4_ENDSTOP_ADJUSTMENT 0
    #endif
  #endif
#endif

Made some changes and this is the new result

11:58:00.213 : Reporting endstop status
11:58:00.213 : x_min: open
11:58:00.213 : x_max: TRIGGERED
11:58:00.213 : y_min: open
11:58:00.213 : y2_min: open
11:58:00.213 : z_min: open
11:58:00.213 : z_max: TRIGGERED

Shouldn’t I have a z2?

I have attached the portions of the config and config_adv.

MyNewConfigs.zip (2.2 KB)

Thanks

BTW does anyone know how to add a new topic?

I have all my endstops hooked up and recognized now on my full Rambo 1.4, I’m just changing a couple of things on them. I really need ZMax squaring and a Z touch plate for the workpiece. Dual YMins and an Xmin would also be useful for some of my multi day cuts etc.
Does the rambo have this capability?
In the diagram attached it shows 6 total plugs for endstops. I just couldn’t find anything on the forums where people use all 6.

In Pins_rambo.h I see this starting at line60. Would I just use that X_Max_Pin for my Z probe? How do I change this? I’m still trying to wrap my head around this code, but I’ve got everything else working it seems so far.

// Limit Switches
//
#define X_MIN_PIN 12
#define X_MAX_PIN 24
#define Y_MIN_PIN 11
#define Y_MAX_PIN 23
#define Z_MIN_PIN 10
#define Z_MAX_PIN 30

//
// Z Probe (when not Z_MIN_PIN)
//
#ifndef Z_MIN_PROBE_PIN
#define Z_MIN_PROBE_PIN 30
#endif

I’m here again. Hope you had a nice holiday during those times.
My Lowrider is still in work and i can’t figure out how to use dual endstop for the z-axis. The z1-endstop is pluged into z-min and stops both z-drivers. The z2-endstops pluged into x-max doesn’t do anything. That is sometimes, but another times i need both endstops triggered to stop the drivers.

I’ve made this easier since you were here last. Head over to MarlinBuilder releases and find the v1cnc rambo dual lr version. It homes up, using Zmax and Xmax. It also probes with G38.2 Z down with Zmin.

1 Like

Thanks.
If I use the new firmware I have the same problem and one triggered endstop shows multiple triggered endstops with the M119 command. Maybe I wired it in the wrong way. Here is a photo, ca n you spot some mistakes?

Check out this:

The Z doesn’t look right.

Thanks a lot!
Now the only problem is that z homes up and when we change Z_HOME_DIR +1 to -1 in configuration.h one backstop triggers 3 to 4 steppers.

If you want to home down, there is a lot more to do. Unfortunately, we had to make some choices for the LR config, and we chose to home up so it wouldn’t rest on the switches, and then use G38 to probe down. We also had to make Y the dual axis, because it isn’t easy to offer x or y.

This is really trouble from the popularity of this project. There are so many users that we have to sort of take a common road on some things. If you want to venture off, cool, but it won’t be turnkey.