I’m in the process of converting my MPCNC to a dual stepper and dual endstop machine. Everything worked fine before and I’ve been able to get the dual steppers to work but cannot seem to figure out dual endstop. Whenever I send M119 command I only see x,y,z endstops. Including some relevant snippets from my config files below.
Output
M119
Reporting endstop status
x_min: open
y_min: open
z_min: open
ok
Configuration_adv.h #define X_DUAL_STEPPER_DRIVERS #if ENABLED(X_DUAL_STEPPER_DRIVERS) #define INVERT_X2_VS_X_DIR // Enable if X2 direction signal is opposite to X #define X_DUAL_ENDSTOPS #if ENABLED(X_DUAL_ENDSTOPS) #define X2_USE_ENDSTOP XMAX #define X2_ENDSTOP_ADJUSTMENT 0 #endif #endif
As a guess, have you defined the other endstops? In configuration.h, you should have a section which enables xmin, xmax, ymin, ymax, and zmin. Something like:
I’m not sure of your exact process. If you have one of the boards that V1 maintains a Marlin version for, then it is best to use that firmware. If you have another board, I suggest you take your configuration.h and configuration_adv.h files and run a comparison utility like MELD against one of the Dual configurations maintained by V1.
Figured it out… This is a Ender 3v2 (Creality board) conversion to a dual stepper / dual endstop MPCNC. Pins file needed x_min and x_max instead of the X_stop_pin and X2_stop_pin.