# Out of range error -- no BLTouch

**URL:** https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904
**Category:** General Discussion
**Created:** [November 11, 2022, 8:34pm UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904 "2022-11-11T20:34:02Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![robedney](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@robedney](https://klipper.discourse.group/u/robedney)
#### Post date: [November 11, 2022, 8:34pm UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/1 "2022-11-11T20:34:02Z")

</div>

### Basic Information:

Printer Model: Kingroon KP3s  
MCU / Printerboard: Kingroon (GD32F303)  
klippy.log  
[klippy.log](https://klipper.discourse.group/uploads/short-url/uJJPvL6ProuXA9C25ZpdKo7Jp4E.log) (1.3 MB)

I’m attempting to print with a new installation but I keep getting an “Move out of range: -98.000 0.000 0.400 [3.000]”. I can’t decipher that code. I am not using a bed leveling sensor (yet), and I’m guessing that this error is because Klipper thinks I am. My printer.cfg file included sensor settings which I’ve tried to edit out. Here’s what my z axis looks like now:  
[stepper\_z]  
step\_pin: PB5  
dir\_pin: !PB4  
enable\_pin: !PB8  
full\_steps\_per\_rotation: 200  
microsteps: 32  
rotation\_distance: 8  
endstop\_pin: !PA11 # disable to use BLTouch

# endstop\_pin: probe:z\_virtual\_endstop # enable to use BLTouch

position\_endstop: 0 # disable to use BLTouch  
position\_max: 190  
homing\_retract\_dist: 10.0  
second\_homing\_speed: 5

# position\_min: -5 # enable to use BLTouch

Any help much appreciated! This Klipper thing is not easy for me.

_Fill out above information and in all cases attach your_ `klippy.log` _file. Pasting your_ `printer.cfg` _is **not** needed_

### Describe your issue:

---

<div class="post-metadata">

### Author: ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)
#### Post date: [November 11, 2022, 8:51pm UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/2 "2022-11-11T20:51:31Z")

</div>

Do you have a common endstop sensor/switch or a probe different than a BLtouch?

When does the error occur?

During G28 or when you want to print?

---

<div class="post-metadata">

### Author: ![jrobbom5](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/jrobbom5/32/3187_2.png) [@jrobbom5](https://klipper.discourse.group/u/jrobbom5)
#### Post date: [November 11, 2022, 9:18pm UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/3 "2022-11-11T21:18:12Z")

</div>

I took a quick look at the log, and there are 2 problems that stood out to me. Even though you don’t have a BLTouch (and I assume any other probe), you have

`endstop_pin = probe:z_virtual_endstop`

defined. If you have an endstop switch on the Z axis, you need to assign an actual pin. However, that’s not what is causing the error you are getting.

`Move out of range: -98.000 0.000 0.400 [3.000]`

Means that it is trying to move to -98mm on the X-axis. You don’t have a position\_min defined in the [stepper\_x] section of your config file, and so it assumes the minimum that the X can move to is zero. Since -98 is less than zero, it correctly fails because the move is out of range.

I suspect that you are getting that error is because you have your slicer configured such that 0,0 is in the centre of the bed, rather than the front left corner, that would be the first thing I would check

---

<div class="post-metadata">

### Author: ![robedney](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@robedney](https://klipper.discourse.group/u/robedney)
#### Post date: [November 11, 2022, 10:00pm UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/4 "2022-11-11T22:00:47Z")

</div>

Thanks so much! Messing about with that info I’ve got it printing – although not in the center of the bed, but I suspect I can sort that out. HOWEVER, it now gets part way through the print, stops and throws a “Move exceeds maximum extrusion (0.880mm^2 vs 0.640mm^2)” error. I can’t find a setting for that in the extruder section of the printer.cfg. What to do???

---

<div class="post-metadata">

### Author: ![jrobbom5](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/jrobbom5/32/3187_2.png) [@jrobbom5](https://klipper.discourse.group/u/jrobbom5)
#### Post date: [November 11, 2022, 10:56pm UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/5 "2022-11-11T22:56:04Z")

</div>

Try putting these two lines in the [extruder] section of your config file

```auto
max_extrude_only_distance: 150.0
max_extrude_cross_section: 100

```

Those numbers are probably too large, but it will prevent that error from accuring

---

<div class="post-metadata">

### Author: ![robedney](https://avatars.discourse-cdn.com/v4/letter/r/4af34b/32.png) [@robedney](https://klipper.discourse.group/u/robedney)
#### Post date: [November 12, 2022, 4:30am UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/6 "2022-11-12T04:30:53Z")

</div>

A brand new out of range problem! I’ve got it printing, right up to 99% complete, at which point the head lifts and jumps to the max x/y position (180,180), the print cancels and the “Move out of range: 0.000 200.000 10.000 [371.950]” error is generated. I can’t make heads nor tails of this. I’m so close!!! I’ve attached both the log and my printer.cfg here.  
[klippy.log](https://klipper.discourse.group/uploads/short-url/xTVCjSU7ClCB6mcx1H0zd8WK1mf.log) (5.2 MB)  
[printconfig.txt](https://klipper.discourse.group/uploads/short-url/hwSVRDwCuoyKnR6b4FP2f3SWFJN.txt) (6.9 KB)

---

<div class="post-metadata">

### Author: ![jrobbom5](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/jrobbom5/32/3187_2.png) [@jrobbom5](https://klipper.discourse.group/u/jrobbom5)
#### Post date: [November 12, 2022, 6:08am UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/7 "2022-11-12T06:08:46Z")

</div>

I had a look through the log, and it all looks to be in order. When the print is finished, the END\_PRINT macro calls the \_TOOLHEAD\_PARK\_PAUSE\_CANCEL macro which will lift the head and then move to x=175, y=175. After that, something is commanding the printer to move to x=0, y=200, but that command is not in your config file, so I would suggest that there is something in your slicers END GCODE section that is doing it. Ideally, the END\_GCODE section of the slicer should only call the END\_PRINT macro and nothing else, so if there is anything else in there then check it out, and if you don’t understand it, then post it here.

BTW, you don’t need to post your printer config file as it is included in the log file

---

<div class="post-metadata">

### Author: ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)
#### Post date: [November 12, 2022, 8:02am UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/8 "2022-11-12T08:02:29Z")

</div>

> [@jrobbom5](#):
>
> Try putting these two lines in the [extruder] section of your config file
> 
> ```auto
> max_extrude_only_distance: 150.0
> max_extrude_cross_section: 100
> 
> ```
> 
> Those numbers are probably too large, but it will prevent that error from accuring

Please do not share such advice. In 99.99% this is not needed for a standard setup. If such errors occur, then there is a reason for it that may be causing other issues as consequence.  
Setting this will only mask the actual problem. Also see [[H] Move exceeds maximum extrusion - #2 by Sineos](https://klipper.discourse.group/t/h-move-exceeds-maximum-extrusion/1189/2)

---

<div class="post-metadata">

### Author: ![jrobbom5](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/jrobbom5/32/3187_2.png) [@jrobbom5](https://klipper.discourse.group/u/jrobbom5)
#### Post date: [November 12, 2022, 8:06am UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/9 "2022-11-12T08:06:52Z")

</div>

As you wish. Jrobbo - out

---

<div class="post-metadata">

### Author: ![AlGee](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@AlGee](https://klipper.discourse.group/u/AlGee)
#### Post date: [March 27, 2023, 11:46pm UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/10 "2023-03-27T23:46:05Z")

</div>

I’m getting a similar error, and have tried increasing and decreasing bed mess values. I’m stumped and would really appreciate some help so I can get back to printing.

Error “Move out of range: 346.300 11.000 5.000 [0.000]”  
[klippy (2).log](https://klipper.discourse.group/uploads/short-url/oCoMGAjbNoqrfawXNFtRguCka0K.log) (2.2 MB)

---

<div class="post-metadata">

### Author: ![jakep\_82](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jakep\_82](https://klipper.discourse.group/u/jakep_82)
#### Post date: [March 27, 2023, 11:56pm UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/11 "2023-03-27T23:56:29Z")

</div>

Your X max is 322, your Bltouch X offset is -24.3 and your mesh max for X is 322. Mesh points are relative to the nozzle so 322+24.3=346.3. The closest you can probe to the edge of the bed is 322-24.3=297.7.

---

<div class="post-metadata">

### Author: ![AlGee](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@AlGee](https://klipper.discourse.group/u/AlGee)
#### Post date: [March 28, 2023, 12:01am UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/12 "2023-03-28T00:01:27Z")

</div>

Thank you for the quick response. Going to try it now

---

<div class="post-metadata">

### Author: ![AlGee](https://avatars.discourse-cdn.com/v4/letter/a/f14d63/32.png) [@AlGee](https://klipper.discourse.group/u/AlGee)
#### Post date: [March 28, 2023, 12:30am UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/13 "2023-03-28T00:30:46Z")

</div>

that adjustment fixed my issue. You ROCK!!! and a big Thank You

---

<div class="post-metadata">

### Author: ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)
#### Post date: [May 14, 2025, 12:39pm UTC](https://klipper.discourse.group/t/out-of-range-error-no-bltouch/4904/14 "2025-05-14T12:39:40Z")

</div>


