#Move out of Range in Bed Level

24 messages · Page 1 of 1 (latest)

lapis bluff
#

I have been trying to get my height map to work right but I am running into a big problem. Either the bed size is too small and the level stops when the move is out of range or I set the xyz values higher than what they actually are just to make it work and the bed slams into the printer. I have tried a whole bunch of things

slim sand
#

I guess you have a probe mounted left or right to the nozzle. The min and max values you specify are nozzle positions that Klipper needs to reach with the probe. As an example:

  • probe mounted right side and has a x offset of 30mm
    -> every x min point smaller than 30 will force a move out of range as the nozzle would need to travel below 0
#

Maybe that small gcode macro can help ```[gcode_macro DUMP_PRINT_AREA_LIMITS]
description: Debug: Print information about print volume and probeable area
gcode:
{% set min = printer.toolhead.axis_minimum %}
{% set max = printer.toolhead.axis_maximum %}
{% set cfg = printer.configfile.settings %}
{% set probe_offset = {'x' : cfg.probe.x_offset if 'probe' in cfg
else cfg.bltouch.x_offset if 'bltouch' in cfg
else 0,
'y' : cfg.probe.y_offset if 'probe' in cfg
else cfg.bltouch.y_offset if 'bltouch' in cfg
else 0} %}
{% set probe_area = {'min' : {'x' : min.x+probe_offset.x|abs,
'y' : min.y+probe_offset.y|abs},
'max' : {'x' : max.x-probe_offset.x|abs,
'y' : max.y-probe_offset.y|abs}} %}
{action_respond_info("Print Volume Limits:
Min X:%7.1f, Y:%7.1f, Z:%7.1f
Max X:%7.1f, Y:%7.1f, Z:%7.1f
Probe Offset:
X:%7.1f Y:%7.1f
Probe Area Limits:
Min X:%7.1f, Y:%7.1f
Max X:%7.1f, Y:%7.1f" %
(min.x,min.y,min.z,max.x,max.y,max.z,probe_offset.x,probe_offset.y,probe_area.min.x,probe_area.min.y,probe_area.max.x,probe_area.max.y))}

#

Add it to your printer.cfg, restart Klipper and run DUMP_PRINT_AREA_LIMITS in the console. It will output your specified bed size and also the calculated boarders that you can reach while probing.

lapis bluff
#

@slim sand thanks a lot for the help

lapis bluff
#

I added the command the my printer.cfg an restarted mainsail. I ran the command the out put looked right but when I went to bed level I still got a move out of range.

#

[stepper_x]
step_pin: PC2
dir_pin: PB9
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: !PA5
position_endstop: -10
position_max: 232.5
position_min: -15
homing_speed: 50

[stepper_y]
step_pin: PB8
dir_pin: PB7
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: !PA6
position_endstop: -8
position_max: 232.5
position_min: -13
homing_speed: 50

[stepper_z]
step_pin: PB6
dir_pin: !PB5
enable_pin: !PC3
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 270
position_min: -4

#

12:06 AM
Print Volume Limits:
Min X: -15.0, Y: -13.0, Z: -4.0
Max X: 232.5, Y: 232.5, Z: 270.0
Probe Offset:
X: -31.8 Y: -40.5
Probe Area Limits:
Min X: 16.8, Y: 27.5
Max X: 200.7, Y: 192.0
12:06 AM
DUMP_PRINT_AREA_LIMITS

#

then the error

#

Move out of range: 231.800 237.500 5.000 [0.000]

#

@slim sand

slim sand
#

I need your Klipper log to see what you specified. The region to look at is your bed mesh section

#

A@other thing to check is your nozzle really at the front left corner if you use

G0 X0 Y0``` in the console
#

Your stepper min/max/end stop settings are not really mainstream

lapis bluff
lapis bluff
#

@slim sand

lapis bluff
#

could this solve my problem

slim sand
#

Add another gimmick will not solve the route cause. You need to learn how to setup Klipper.

#

After I had have my morning coffee I will take a look in your klipper.log to see what you did.

slim sand
#

That is your bedmesh section [bed_mesh] speed = 120 mesh_min = 20, 20 mesh_max = 200, 197 probe_count = 4,4 algorithm = bicubic

#

That is the output of the macro I provide you

Print Volume Limits:
Min X: -15.0, Y: -13.0, Z: -4.0
Max X: 232.5, Y: 232.5, Z: 270.0
Probe Offset:
X: -31.8 Y: -40.5
Probe Area Limits:
Min X: 16.8, Y: 27.5
Max X: 200.7, Y: 192.0```
#

If your stepper setup is correct than a bedmesh section of [bed_mesh] speed:120 mesh_min: 20, 30 mesh_max: 200, 190 probe_count: 4,4 algorithm: bicubic should work