grblHAL / core

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

Not an issue: Want to know if macro variables are available for $342 to $344. #493

Open karoria opened 2 months ago

karoria commented 2 months ago

Hi @terjeio I want to know if macro variables are available for some useful settings like $342 to $344 so that I can use them in tc.macro. There might be other settings too which if served as variables, can be really useful. Cheers! Ravi

terjeio commented 2 months ago

Currently not, perhaps they could be made available via a "standard" G65 taking a parameter for the setting number? Should be possible if nesting works...

karoria commented 2 months ago

That's great idea. I will wait for it if you plan to go ahead. Thanks.

terjeio commented 2 months ago

I have committed a tentative solution, can you verify? The setting value is returned in _value and _value_returned is set to 1 if the setting is available and of a numeric type.