Welcome! Log In Create A New Profile

Advanced

Help needed - "Configuring Marlin Bed Dimensions" with values stored in EEPROM

Hello everyone,

I would need some help understanding how Bed Dimensions and home offset are working in Marlin. I am using version 2.0.x on Creality Ender 3 (physical bed size is 235x235mm).
I followed Method 2 (EEPROM) in this manual:
1)in Configuration.h is the following:
// The size of the printable area
#define X_BED_SIZE 235
#define Y_BED_SIZE 235

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 250
2) after flashing the new firmware, manually I set the nozzle to what should be X,Y (0,0) and I used store home offset command via GUI (M500 probably)
3) Now when I check M503 via pronterface I get this:
Connecting...
Printer is now online.
>>> M503
SENDING:M503
echo:;blabla skip
echo:; Home offset:
echo:  M206 X-3.70 Y-14.60 Z0.00
echo:blabla skip
echo:; Z-Probe Offset:
echo:  M851 X-46.10 Y-6.60 Z-3.80 ; (mm)
That looks ok -> X-3.70 Y-14.60 Z0.00 is indeed what I did set in step 2)

Now to the "issue": even though I set bed size 235x235 I can't move nozzle more than X 231.30 Y 220.40 (Software endpoint) and therefore I can't use whole bed to print. Marlin does not allow nozzle to move more than {X,Y}_MAX_POS from home, but I would expect it should allow nozzle to be moved to Cartesian coordinates {X,Y}_MAX_POS instead, where (0,0) corresponds to corner of printing bed and home offset (a,b) is stored in EEPROM. Does anyone have idea where I should start checking and rewriting the firmware to allow such a behavior?

Edited 2 time(s). Last edit at 12/11/2021 03:03PM by nopainogainopainogain.
Re: Help needed - "Configuring Marlin Bed Dimensions" with values stored in EEPROM
December 11, 2021 07:06PM
that document is foofar!

M206 is for setting origin of work pieces. Ie for subtractive CNCing.

It is not intended to set home position on the bed.

As such, yes this will reduce your bed size. (as now noted on that page)

Edited 1 time(s). Last edit at 12/11/2021 07:48PM by Dust.
ok, I am dropping the idea to modify the firmware so method 2 also works grinning smiley
thanks for your answer!
Sorry, only registered users may post in this forum.

Click here to login