grblHAL / core

grblHAL core code and master Wiki
Other
304 stars 73 forks source link

Joggin unavailable for many commands #498

Open nickshl opened 2 months ago

nickshl commented 2 months ago

The main thing about jogging that "Jogging command do not alter the g-code parser state in any way". Unfortunately jogging acts as G1 command. It would be really nice if jogging will support G0(rapid movement), G2/G3(circular interpolation), G38(probing), G43(set tool offset) and may be some others. Is it any chance it would be implemented?

terjeio commented 2 months ago

You want that so that the mentioned G-codes does not change the parser state? Adding M70/M72 support will be a better alternative if so?

nickshl commented 2 months ago

If it would be possible to use it in a single line like this:

M70 some different stuff that changes modal state and does the movement M71\r\n

Then it would work for me.

terjeio commented 2 months ago

If it would be possible to use it in a single line

I believe not possible since M70/ M72 likely belongs to the same modal group and thus cannot appear in the same block. And if not it has to be checked if they are in modal groups that encapsulates the execution order of the "different stuff".