gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
3.98k stars 1.59k forks source link

Error 22 while probing heightmap #1216

Closed oarcher closed 1 year ago

oarcher commented 1 year ago

When probing heightmap, I got the following errors:

Error message(s) received:
3: G38.2Z-2 < error:22
6: G38.2Z-2 < error:22
9: G38.2Z-2 < error:22
12: G38.2Z-2 < error:22

My Zt is 2.0, and Zb is -2.0. If I enter G38.2Z-2, I also got the error 22.

GrahamJB commented 1 year ago

Error 22 is no federate has been specified, how fast are you going to be probing?

From: Olivier ARCHER @.> Sent: 11 June 2023 5:10 PM To: gnea/grbl @.> Cc: Subscribed @.***> Subject: [gnea/grbl] Error 22 while probing heightmap (Issue #1216)

When probing heightmap, I got the following errors:

Error message(s) received: 3: G38.2Z-2 < error:22 6: G38.2Z-2 < error:22 9: G38.2Z-2 < error:22 12: G38.2Z-2 < error:22

My Zt is 2.0, and Zb is -2.0. If I enter G38.2Z-2, I also got the error 22.

— Reply to this email directly, view it on GitHub https://github.com/gnea/grbl/issues/1216 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABN5WWCN75MD5NU5TIM6HX3XKXUXHANCNFSM6AAAAAAZCNTGDQ . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/ABN5WWFXAOZHZEHFLETHCG3XKXUXHA5CNFSM6AAAAAAZCNTGDSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGQZN7AM.gif Message ID: @. @.> >

oarcher commented 1 year ago

I'm sorry, I've post this issue in the wrong place: It's a Candle related issue.

GrahamJB commented 1 year ago

I would say it’s not candle related, Grbl is returning the error.

Earlier in your Gcode is there an Fnnnn line? It’s safer to add one to each G32.2 line like G38.2 Z2 F100, that will fix it.

From: Olivier ARCHER @.> Sent: 11 June 2023 6:33 PM To: gnea/grbl @.> Cc: GrahamJB @.>; Comment @.> Subject: Re: [gnea/grbl] Error 22 while probing heightmap (Issue #1216)

I'm sorry, I've post this issue in the wrong place: It's a Candle related issue.

— Reply to this email directly, https://github.com/gnea/grbl/issues/1216#issuecomment-1586257157 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/ABN5WWESLK5O3QO4DVZ5WMTXKX6MBANCNFSM6AAAAAAZCNTGDQ unsubscribe. You are receiving this because you commented. https://github.com/notifications/beacon/ABN5WWAUBGCDOUZNWD6OOYDXKX6MBA5CNFSM6AAAAAAZCNTGDSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTS6RROQK.gif Message ID: < @.> @.>

oarcher commented 1 year ago

The Candle default setting for z-probe feed is zero, and that not generate the Fxxx, causing the error. Setting it to 100 do the tricks.

Thanks!