Welcome! Log In Create A New Profile

Advanced

Y axis endstop at max issue

Posted by casperen 
Y axis endstop at max issue
October 09, 2022 11:04AM
Hello,

I am building a custom cartesian 3d printer and trying to get the new marlin version 2.1.1 running but seem to be running into an issue.

Printer: basic dual extruder running a Ramps 1.4 with A4498 stepper drivers and mechanical endstops.

The issue I am having is the one Y axis endstop is on the max location(pic attached) of the Y axis and when I change the config accordingly the axis no longer moves.

If I leave the y endstop stop plugged into the Y min location on the ramps board and leave the config default, the axis moves but is backward(it moves as I increase y, but should be decreasing value).

Changes that were made to the config that are not working:

1. Moved the endstop from the Y-min location on the ramps, to Y max.
2. Change the endstop setting from Y-min to Ymax
// extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
#define USE_XMIN_PLUG
//#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_IMIN_PLUG
//#define USE_JMIN_PLUG
//#define USE_KMIN_PLUG
//#define USE_UMIN_PLUG
//#define USE_VMIN_PLUG
//#define USE_WMIN_PLUG
//#define USE_XMAX_PLUG
#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG
//#define USE_IMAX_PLUG
//#define USE_JMAX_PLUG
//#define USE_KMAX_PLUG
//#define USE_UMAX_PLUG
//#define USE_VMAX_PLUG
//#define USE_WMAX_PLUG

3. Changed the direction of homing from Min to Max.
// Direction of endstops when homing; 1=MAX, -1=MIN
// :[-1,1]
#define X_HOME_DIR -1
#define Y_HOME_DIR 1
#define Z_HOME_DIR -1
//#define I_HOME_DIR -1
//#define J_HOME_DIR -1
//#define K_HOME_DIR -1
//#define U_HOME_DIR -1
//#define V_HOME_DIR -1
//#define W_HOME_DIR -1

After the above changes and I try to home. The printer home X, the y axis does a small jerk(but doesn't move), and the Z homes.

These seems to be the correct changes needed in the config. Not sure what the issue is.
Attachments:
open | download - Ramsp endstops.JPG (39 KB)
Re: Y axis endstop at max issue
October 09, 2022 12:02PM
Picture seems to show endstop on Z-Min
Re: Y axis endstop at max issue
October 09, 2022 06:55PM
Correct, the endstops are X/Z at the Min value, and Y at the max position.
Re: Y axis endstop at max issue
October 09, 2022 09:25PM
First get your Y moving in the right direction. Toggle your INVERT_Y_DIR setting.

Then set the homing direction per your endstop.

Now use M119 to see what your endstop status is. Toggle YMAX manually to be sure it is working correctly. YMAX should show OPEN when the head is not at the max position.
Sorry, only registered users may post in this forum.

Click here to login