#getting out of bounds error when generating bed mesh
204 messages · Page 1 of 1 (latest)
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
bounds error in what axis?
uhh good question it dident really say
what log is that in?
just read the error popup
for me it says it in the console
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
honestly i dont know sorry
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
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]
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
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
Klipper log, just like yesterday
Because the max is way too high
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
I also saw that you were not the person down voting. I just forgot the ping
ah i see
i added the probe for the max should i subtract instead?
No, you should use the max possible coords
At least if the offset of the probe is negative
mine is positive
I will look at it in a few minutes
i run probe_calibrate and it shows it in the middle so i know my offsets are fine
That's not the problem
the probe in middle
It's trying to move the toolhead out of the boundaries to reach the mesh points you defined
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 ...
the vid i was going off timestamped
I think I'm confused right now too. I will get you the values in a few seconds
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
ill plug those in and see how it runs
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
my touch is on the left of my nozzle btw
If you now go higher that 235, 235 your probe wouldn't be on the plate anymore
I don't care, I just use the coords of the log
alr
I don't even know where the 0, 0 is located, so that information is useless xD
front left of bed
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
ran with this still out of bounds
What is the out of bounds message?
6:28 PM
Move out of range: -23.000 14.000 5.000 [0.000]
And again. I'm asking for a log
I bet you just didn't hit save & restart
im pretty sure i did
wait really?
[bed_mesh]
speed = 200
horizontal_move_z = 5
mesh_min = 20,20
mesh_max = 190,190
probe_count = 9
mesh_pps = 2
algorithm = bicubic```
Those are different than your screenshot
[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
So you messed up some includes maybe
im gonna search for another bed mesh
[include mainsail.cfg]
[include moonraker_obico_macros.cfg]
only includes in my main printer.cfg
Then send your printer.cfg and the included files
Also, why exactly did you wrote "main" printer.cfg?
You sent one with a timestamp
printer-20240813_221143.cfg
Send the one without a timestamp
wait mine changed to that after running SAVE_CONFIG
Also always but includes at the top, that they won't override something from your config
It's the old one
It's just a backup
well ive been editing the old one so imma fix it and change to the new
On the cog wheel top right of the files box on the machine page, you can hide backup files
alr, but the backup one is the real one in this case but ill change that for later
No, the backup one is not the real one
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 😜
not claiming that just saying deleting the backup would set me back my changes rather then renaming it
anyways test time
bad noise
my changes rather then renaming it
And if you rename it, it will set back the things, the software changed before...
Did you rename it? Then maybe your z_offset was wrong now...
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
After save_config the offset value got moved down into a comment block
You should have just copied over the bed mesh section....
here i can do that now i have the other one still
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
your looking at the config your telling me to use tho
this is the one that had the number name
Use the bed_mesh section from the second picture
So copy the second bed_mesh section into the config of the first picture
should i change it here at all?
the z offset
i mean'
ok we chilling now
well maybe that doesent look great
Send your log again
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
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
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```
yes
Then delete the values at the bottom
So you cranked up the mesh_min for what reason?
And is 278 even some point on your bed?
Sry, but your values are all over the place right now
it runs it
when i ran yours the probe was off the bed
should my offset be negative?
But according to your config, it's like 40 mm off the bed and you start in the middle of your bed the mesh,
Send a picture of your setup with indicator of 0,0
It's at 0,0?
yes
Then it's clearly negative x offset
y offset I cannot judge
lemme check that with a straight edge or smth
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
Then I recommend something like this:
mesh_min: 5, 5
mesh_max: 187, 224```
ill try it but if not ill do the math with my nozzle posititions i got
The following would be the outest mot possible bounds mesh_min: 0, 0 mesh_max: 192, 229
yeah i gotta use my math ones cuz that failed to trigger probe
just with real offsets
Send your current printer.cfg
Just that I can make sure it's clean before you are messing around with it
wound up close to your reccomended one
and ill do that but i already made that edit
Yeah all fine. Just wante to make sure, that everything is good. It's alright
I once wrote a calculator and had it hosted. I really have to host it again. There you can just input the stepper sections and bltouch/probe and you get these values ^^
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?
After everything is set up correct now, you can run ome
i recall that being a thing
Yeah, but no idea right now
Search for klipper macros or look at the config reference online
Here it's listed somewhere:
https://www.klipper3d.org/G-Codes.html
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
Because of formatting. You have a # with a space in front of each big line
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
But it's late again, so I'm gonna go offline
alr cya man ty for help
Offset of 4 seems weird, but no idea 🤷♂️
oh yeah i need to use the offsets on the tilt ajust
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
I forgot what changes I made to make it proper, I'll post it when I'm home