#getting out of bounds error when generating bed mesh

204 messages · Page 1 of 1 (latest)

gloomy frost
#

title

#

my config is likely wrong

#

i need help setting it up

#

#====================================================================

BED MESH PARAMETERS

#====================================================================
[bed_mesh]
speed: 200
horizontal_move_z: 5

mesh_min: 20,20
mesh_max: 190,190
probe_count: 9

#mesh_min: 50,50
#mesh_max: 180,180
#probe_count: 3

mesh_pps: 2
algorithm: bicubic
#fade_start: 1
#fade_end: 10
#fade_target: 0

#

what i have rn

#

i run a ender 3 original

#

with a bq probe and a bigtree tech skr mini e3 v3

#

ive alredy got all my offsets proper

uneven token
#

bounds error in what axis?

gloomy frost
#

uhh good question it dident really say

#

what log is that in?

#

just read the error popup

uneven token
#

for me it says it in the console

gloomy frost
#

5:13 PM
Move out of range: -23.000 14.000 5.000 [0.000]

#

my home is in the center of the bed fyi

uneven token
#

honestly i dont know sorry

tribal pelicanBOT
#

Ahoi @gloomy frost!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

gloomy frost
#

wait for some reason it dident save my z offset

#

lemme try now

#

still broke'

#

Move out of range: -23.000 14.000 5.000 [0.000]

silver raft
#

Why downvoting the logs? We don't know the offset or maximum and minimum of the axis. So impossible to help, besides saying, that the maximum and minimum of the mesh is wrong

#

So give us the log, if you really want help

#

If you read the message you will btw see what value is out of range.

-23.000 14.000 5.000
The -23 is most likely not in range, but that's just speculation

gloomy frost
#

wasent me to do that, also what log you looking for?

#

Move out of range: -23.000 14.000 5.000 [0.000]
mesh_min: 87, 22 #!!min and max co-ords are based on the probes location not the nozzle!!
mesh_max: 278, 237 #needs to be calibrated for your individual printer
changed my min and max properly and got same error

silver raft
silver raft
#

How should the printer get there

#

Like the comments say, the min and max are based on the probe location. But your nozzle also has to stay in bounds

silver raft
gloomy frost
#

i added the probe for the max should i subtract instead?

silver raft
#

No, you should use the max possible coords

#

At least if the offset of the probe is negative

gloomy frost
#

mine is positive

silver raft
#

I will look at it in a few minutes

gloomy frost
#

i run probe_calibrate and it shows it in the middle so i know my offsets are fine

silver raft
#

That's not the problem

gloomy frost
#

the probe in middle

silver raft
#

It's trying to move the toolhead out of the boundaries to reach the mesh points you defined

gloomy frost
#

yeah wich is why im thinking for the max i need to subtract the offset instead of add like i did for the min

#

Set up your bl touch on Klipper. Learn how to find the offsets of your bed leveling device and then create a mesh. If you’re having trouble creating a mesh follow this guide! Error movement out of range issues got you down? Learn how to fix those errors plus others before they begin. In this video we will also find the maximum movable bounds of ...

▶ Play video
#

the vid i was going off timestamped

silver raft
#

I think I'm confused right now too. I will get you the values in a few seconds

gloomy frost
#

i think the tutorial may be weird tbh

silver raft
#

These are the highest possible values:

mesh_min: 43, 6
mesh_max: 235, 235
#

The mesh_min has to go higher and the mesh_max lower

gloomy frost
#

ill plug those in and see how it runs

silver raft
#

Go like -/+ 5 on all values

#

Just to not be on the outest possible edge

#

You can think about it like that. To mesh the position 43, 6 your probe has to go there, but your nozzle has to stay in bounds. From 43, 6 you have to subtract the offset, to get the nozzle coords. So your nozzle would be at 0, 0

#

For 235, 235 your nozzle would be at 192, 229

gloomy frost
#

my touch is on the left of my nozzle btw

silver raft
#

If you now go higher that 235, 235 your probe wouldn't be on the plate anymore

silver raft
gloomy frost
#

alr

silver raft
#

I don't even know where the 0, 0 is located, so that information is useless xD

gloomy frost
#

front left of bed

silver raft
#

Now a funny thing. My nozzle is on the right, but 0,0 is on the back right. So the offsets should be the same

gloomy frost
#

ran with this still out of bounds

silver raft
#

What is the out of bounds message?

gloomy frost
#

6:28 PM
Move out of range: -23.000 14.000 5.000 [0.000]

silver raft
#

Also add like 5 on the mesh_min

#

Send a log

gloomy frost
#

Move out of range: -23.000 14.000 5.000 [0.000]

#

again

silver raft
#

And again. I'm asking for a log

gloomy frost
silver raft
#

I bet you just didn't hit save & restart

gloomy frost
#

im pretty sure i did

silver raft
#

Ok, you did

#

nvm, still the same old values in there

gloomy frost
#

wait really?

silver raft
#
[bed_mesh]
speed = 200
horizontal_move_z = 5
mesh_min = 20,20
mesh_max = 190,190
probe_count = 9
mesh_pps = 2
algorithm = bicubic```
gloomy frost
#

wait

#

thats not mine

silver raft
#

Those are different than your screenshot

gloomy frost
#

[bed_mesh]
speed: 80
horizontal_move_z: 5
mesh_min: 48, 12 #!!min and max co-ords are based on the probes location not the nozzle!!
mesh_max: 230, 230 #needs to be calibrated for your individual printer
probe_count: 5,5 #this is the number of probing points on X then Y axis
mesh_pps: 2,2
fade_start: 1
fade_end: 10
fade_target: 0

#

thats mine

#

huh

#

i had a hunch this may be happening

silver raft
#

So you messed up some includes maybe

gloomy frost
#

im gonna search for another bed mesh

#

[include mainsail.cfg]
[include moonraker_obico_macros.cfg]

#

only includes in my main printer.cfg

silver raft
#

Then send your printer.cfg and the included files

#

Also, why exactly did you wrote "main" printer.cfg?

gloomy frost
#

i just meant the one for the printer and not the other ones

silver raft
#

You sent one with a timestamp

#

printer-20240813_221143.cfg

#

Send the one without a timestamp

gloomy frost
#

wait mine changed to that after running SAVE_CONFIG

silver raft
#

Also always but includes at the top, that they won't override something from your config

silver raft
gloomy frost
#

after probe_calibrate

#

ohhhhh i see

silver raft
#

It's just a backup

gloomy frost
#

well ive been editing the old one so imma fix it and change to the new

silver raft
#

On the cog wheel top right of the files box on the machine page, you can hide backup files

gloomy frost
#

alr, but the backup one is the real one in this case but ill change that for later

silver raft
#

No, the backup one is not the real one

gloomy frost
#

ive been editing the backup one

#

not the main one

silver raft
#

It's the one, that got the old values from before save_config

#

So no matter what you edited, you edited a backup

#

You did wrong, not the software 😜

gloomy frost
#

not claiming that just saying deleting the backup would set me back my changes rather then renaming it

#

anyways test time

#

bad noise

silver raft
#

my changes rather then renaming it
And if you rename it, it will set back the things, the software changed before...

silver raft
gloomy frost
#

oh no i moved the z offset over to the "new" old one awell, i was confused b4 because when i ran the commad i dident see it in printer-20240813_221143.cfg so i entered it manualy

#

ive been making all edits to printer-20240813_221143.cfg

#

like a dumbass

silver raft
#

After save_config the offset value got moved down into a comment block

#

You should have just copied over the bed mesh section....

gloomy frost
#

here i can do that now i have the other one still

silver raft
#

And just to be sure. This time use the config just named printer.cfg

#

Als have a look at the bottom of the config. All values that are commented out there, shouldn't appear uncommented at the top

gloomy frost
#

your looking at the config your telling me to use tho

#

this is the one that had the number name

silver raft
#

Use the bed_mesh section from the second picture

#

So copy the second bed_mesh section into the config of the first picture

gloomy frost
#

should i change it here at all?

#

the z offset

#

i mean'

#

ok we chilling now

#

well maybe that doesent look great

silver raft
#

Send your log again

gloomy frost
#

i uncommented the top z offset and gave it the right value of 1.480

#

ran the same

silver raft
#

Maybe because it is the same.....Why uncommenting the top one? There is no reason to do that

#

Especially if you set it at the same value

gloomy frost
#

well i didnt know if the bottom one in save.cfg was wrong also id rather have it there in the top withthe others then hidden away at the bottom

silver raft
#

These are the current settings:

speed = 80
horizontal_move_z = 5
mesh_min = 87, 22
mesh_max = 278, 231
probe_count = 5,5
mesh_pps = 4,4
fade_start = 1
fade_end = 10
fade_target = 0```
gloomy frost
#

yes

silver raft
silver raft
gloomy frost
#

oh its right

#

its the point where it touches the bed

silver raft
#

And is 278 even some point on your bed?

#

Sry, but your values are all over the place right now

gloomy frost
#

it runs it

#

when i ran yours the probe was off the bed

#

should my offset be negative?

silver raft
#

But according to your config, it's like 40 mm off the bed and you start in the middle of your bed the mesh,

silver raft
gloomy frost
silver raft
#

It's at 0,0?

gloomy frost
#

yes

silver raft
#

Then it's clearly negative x offset

gloomy frost
#

alr

silver raft
#

y offset I cannot judge

gloomy frost
silver raft
#

If it's off the bed, it's negative and on the bed, it's positive

#

Just move your nozzle to like x 50 and the nozzle down

gloomy frost
#

yeah its negative too

#

lemme redo my math now

silver raft
#

Then I recommend something like this:

mesh_min: 5, 5
mesh_max: 187, 224```
gloomy frost
#

ill try it but if not ill do the math with my nozzle posititions i got

silver raft
#

The following would be the outest mot possible bounds mesh_min: 0, 0 mesh_max: 192, 229

gloomy frost
#

yeah i gotta use my math ones cuz that failed to trigger probe

#

just with real offsets

silver raft
#

Send your current printer.cfg

#

Just that I can make sure it's clean before you are messing around with it

gloomy frost
#

wound up close to your reccomended one

#

and ill do that but i already made that edit

silver raft
#

Yeah all fine. Just wante to make sure, that everything is good. It's alright

silver raft
gloomy frost
#

so its actualy in bounds now

#

still a bit fucked up horizontaly but thats likely my bed

#

should i run a screws ajust?

#

oh wait cant i run a comand that tells me how much turns i need to make now?

silver raft
gloomy frost
#

i recall that being a thing

silver raft
#

Search for klipper macros or look at the config reference online

gloomy frost
#

i think its screws tilt calculate

#

[screws_tilt_adjust]
#screw1:

The (X, Y) coordinate of the first bed leveling screw. This is a

position to command the nozzle to so that the probe is directly

above the bed screw (or as close as possible while still being

above the bed). This is the base screw used in calculations. This

parameter must be provided.

#screw1_name:

An arbitrary name for the given screw. This name is displayed when

the helper script runs. The default is to use a name based upon

the screw XY location.

#screw2:
#screw2_name:
#...

Additional bed leveling screws. At least two screws must be

defined.

#speed: 50

The speed (in mm/s) of non-probing moves during the calibration.

The default is 50.

#horizontal_move_z: 5

The height (in mm) that the head should be commanded to move to

just prior to starting a probe operation. The default is 5.

#screw_thread: CW-M3

The type of screw used for bed leveling, M3, M4, or M5, and the

rotation direction of the knob that is used to level the bed.

Accepted values: CW-M3, CCW-M3, CW-M4, CCW-M4, CW-M5, CCW-M5.

Default value is CW-M3 which most printers use. A clockwise

rotation of the knob decreases the gap between the nozzle and the

bed. Conversely, a counter-clockwise rotation increases the gap.

#

why so large

#

good thing i had a seprate bed_screws as when i changed my printer.cfg it wiped the bed_screws

#

wait that one wasent it it was in my older ender 3 cfg idk why i have a seprate one in there

#

screw1: 32,36
screw1_name: Front Left
screw2: 32, 206
screw2_name: Back Left
screw3: 202, 206
screw3_name: Back Right
screw4: 202,36
screw4_name: Front Right

silver raft
gloomy frost
#

ah

#

[bed_screws]
screw1: 32,36
screw1_name: Front Left
screw2: 32, 206
screw2_name: Back Left
screw3: 202, 206
screw3_name: Back Right
screw4: 202,36
screw4_name: Front Right
screw_thread: CW-M4

[screws_tilt_adjust]
screw1: 32,36
screw1_name: Front Left
screw2: 32, 206
screw2_name: Back Left
screw3: 202, 206
screw3_name: Back Right
screw4: 202,36
screw4_name: Front Right
speed: 50
horizontal_move_z: 5
screw_thread: CW-M4

#

well i set these up

silver raft
#

But it's late again, so I'm gonna go offline

gloomy frost
#

alr cya man ty for help

silver raft
#

Offset of 4 seems weird, but no idea 🤷‍♂️

gloomy frost
#

oh yeah i need to use the offsets on the tilt ajust

silver raft
#

So your screws are offset by 4mm?!

#

If that's really the case, Creality made some weird machine

#

By offset I mean on the y offset by 4 mm instead of the "same" as the x coords

gloomy frost
#

I forgot what changes I made to make it proper, I'll post it when I'm home