Move out of range error when M600 was executed

Basic Information:

Printer Model: Prusa i3MK3S+
MCU / Printerboard: Einsy
Host / SBC Pi4

klippy_move_out_of_range_error.zip (2.9 MB)

klippy.log

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

Hello, I have never encountered the “Move out of range” error before but happened twice today. The first time I got “Move out of range: -0.135 -0.034 15.941 [22330.299]” and the second time I got “Move out of range: -0.011 0.139 16.091 [21460.427]”. I think both happened at the layer where I added M600 in Orca Slicer. Didn’t have this issue before with M600. Somewhere I read that this could be resolved by doing a Firmware Researt but it did not help. Could you please help?

you are using skew correction and your M600 macro is moving to point 0,0.
skew correction changes these coordinates slightly and makes them negative, which results in a move out of range, because a negative value is less than your position_min of your X and Y axis.

The easiest fix would be to park a little bit away from 0,0 in your M600 macro, to allow for some space.

1 Like

Thatswhy skew correction is to be enabled as last step in the start macro, as written in the documentation.

M600 is typically a color change macro. so this will be called mid print.
moving to the axis limits is generally an issue with skew correction. Always keep a few mm away.

How to “park a little bit away from 0,0” in the M600 macro properly? Actually, is it a good idea to have skew correction?

If your prints are skewed a bit and you can’t fix this mechanically you can use skew correction.

As mentioned: load skew correction as last in the start macro and as first in the end macro.

Isn’t it possible to define the park position so you can move it away from 0,0?!

your M600 macro uses these parameters for its parking position, that you probably dont provide, so it defaults to 0,0 and lift Z by 10.

    {% set X = params.X|default(0)|float %}
	{% set Y = params.Y|default(0)|float %}
	{% set Z = params.Z|default(10)|float %}

Changing the defaults for X and Y to something else, like 5 should be enough to prevent the error.

2 Likes

Thanks.

Is it the one within the file macros.cfg under ~/printer_data/config/klipper-prusa-mk3s ?

According to this, yes. We can only see what’s in the klippy.log (and that doesn’t tell us the config paths).

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.