Welcome! Log In Create A New Profile

Advanced

Marlin 2 probing settings question

Posted by going-down 
Marlin 2 probing settings question
October 19, 2023 05:37AM
I recently went form Marlin 1.1.8 to Marlin 2.1.2 for better stepper support and am now struggling with bed postioning and lineair probing.
I'm now using the following settings in configuration.h:

#define NOZZLE_TO_PROBE_OFFSET { -36, -10, 1 }  ///Probe is left and in front of the nozzle
#define PROBING_MARGIN 10

#define MULTIPLE_PROBING 2

#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

#define X_BED_SIZE 220
#define Y_BED_SIZE 210 /// (Due to the X carriage the nozzle can't reach the whole bed in Y direction)



#define X_MIN_POS 0
#define Y_MIN_POS 0

#define X_MAX_POS 245
#define Y_MAX_POS 218

#define AUTO_BED_LEVELING_LINEAR

#define GRID_MAX_POINTS_X 3

#define BED_CENTER_AT_120_105


Probing gets the following first three positons:
X46 Y20 (should be X56, Y is oke)
X146 Y20
X245 Y20

Homing Z gives me: X146 Y115, while this should be (nozzle wise spoken): X120 Y115
With the nozzle on X home position, the bed edge is at about 17 mm to the right of it.

Question: can anybody point me to the correct values for Z homing and lineair probing?
Z homing should be at X120
First probing should be on X56
Been struggling for days now and tried several different values here and there, but must be overlooking something (simple?) and guessing won't get me any further, it seems confused smiley

Edited 2 time(s). Last edit at 10/19/2023 05:40AM by going-down.
Re: Marlin 2 probing settings question
October 19, 2023 06:14AM
there is no such setting as BED_CENTER_AT_120_105

You cannot just make up random defines

With Z_SAFE_HOMING set, the hotend is moved so the probe it at the center of the bed,ie the hotend will be at X 220/2 + 36 ie 146, Y 210/2 +10 ie 115. So the probe is in center of the bed


Please read [manuelmclure.github.io]

you need to setup X_MIN_POS, Y_MIN_POS and bed sizes correctly,

Note everything is set relative to X0,Y0 on the bed
Re: Marlin 2 probing settings question
October 19, 2023 06:26AM
Quote
Dust
there is no such setting as BED_CENTER_AT_120_105

You cannot just make up random defines

With Z_SAFE_HOMING set, the hotend is moved so the probe it at the center of the bed,ie the hotend will be at X 220/2 + 36 ie 146, Y 210/2 +10 ie 115. So the probe is in center of the bed


Please read [manuelmclure.github.io]

you need to setup X_MIN_POS, Y_MIN_POS and bed sizes correctly,

Note everything is set relative to X0,Y0 on the bed

Thanks! I was thinking of all coordinates relative to the XY homing (0,0) instead of the bed.

Update: all is well now, thanks again, Dust.

Edited 1 time(s). Last edit at 10/19/2023 10:40AM by going-down.
Sorry, only registered users may post in this forum.

Click here to login