Post-mesh move out of range error #182
Replies: 4 comments 4 replies
-
Is this occurring on both printers? What are the Picture of the error message if possible. |
Beta Was this translation helpful? Give feedback.
-
The errors are gone from the mainsail interface on my Plus, but here they are from the log of my plus (3 separate instances):
Microsteps for all steppers is 128. Yes stock motherboards. I determined that the issue was with the G1 command because the M109 S{hotendtemp} command wouldn't get triggered. I was able to replicate the issue on my SV06 this morning, so it's obviously not only the firmware on the Plus. Here's the complete list of entries in the mainsail log:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for this. Any chance of getting the part you were printing, or about to print I should say? I'd like to see if I can reproduce when I have time. I was going to say that this is a KAMP issue, but it looks like a Klipper issue. I have compiled (and flashed onto my SV06) the latest klipper.bin, find it only on the Another thing that might be worth looking into is whether speed is a factor. Adjust the line in Considering how much work you've done on this already, you might want to post this issue on klipper discourse. I'll be adding this issue to the Special Considerations section. |
Beta Was this translation helpful? Give feedback.
-
The part is a prototype so I can't share it, but if you match the part size and position in your slicer I think you should get the same result. I'm using prusaslicer, though I don't have any reason to believe that that would matter. Flashing new firmware is a pain as I presently only have Sovol-issued SD cards and I've never managed to get one of those to flash klipper - I've wasted something over 12 hours cumulatively trying to make that happen in the past. So that's not happening in the very short term. I don't believe that speed is a factor, as I tried manually testing a number of G1 commands and speed didn't affect it. I believe I tested F100 and F1500 and probably F6000, though I didn't take notes while I was prodding at it. The consistent factors are:
Y position and speed didn't affect it in my testing, though I suspect if it were possible to end up at 0 on the Y axis after KAMP probing that we could trigger the same thing. Considering that we're trying to move from a reported position of -0.000 to X0, which is interpreted as -0.000, I'd be willing to bet that the culprit is a floating point math error, which could possibly be captured and mitigated in the cmd_G1 function or perhaps in the toolhead move function. |
Beta Was this translation helpful? Give feedback.
-
This was originally written as a bug report, but I don't think it's really a bug in anything that comes from this repo. But I solved it by adjusting the PRINT_START macro, so here it is.
Describe the bug
After a KAMP enabled bed_mesh_calibrate, before the purge_line macro, Klipper sometimes reports a "Move out of range error".
When the
G1 X0 Y0 F{maxVelocityAdjusted}
G-code is called in the PRINT_START macro, the error occurs.It seems to occur only when the final probe point has an X value of -0.000.
To Reproduce
I've only observed this with my SV06 Plus printer and one specific sliced file, not on my SV06, so I'm not going to claim it's reproducible.
Modifying
G1 X0 Y0 F{maxVelocityAdjusted}
toG1 X0.01 Y0.01 F{maxVelocityAdjusted}
fixes/bandaids it.I have not updated the firmware on the printer MCU due to only having sovol SD cards that won't let me flash klipper, but the host klipper is fully updated. MCU version on my plus is 0.12.0-10, host is 0.12.0-289. I suspect that this may be a klipper firmware issue, but I'm reporting it here so anyone else who runs into the same might discover this as a solution/workaround.
What printer are you using?
What kind of device are you using to host Klipper?
How did you install Klipper?
KIAUH
Is your local copy of this configuration up to date?
Yes
What slicer are you using?
Are you using the config bundles from this repo?
Did you Adjust your slicer?
Beta Was this translation helpful? Give feedback.
All reactions