grblHAL / core

grblHAL core code and master Wiki
Other
320 stars 84 forks source link

Hi, terjeio, can grblhal be used for lathes? The lathes depend on the spindle synchronous threading function? Can I claim that grblhal supports lathes? #237

Closed hanke-cnc closed 1 year ago

hanke-cnc commented 1 year ago

Hi, terjeio, can grblhal be used for lathes? The lathes depend on the spindle synchronous threading function? Can I claim that grblhal supports lathes?

I don't have a lathe, I don't know much about lathes

terjeio commented 1 year ago

can grblhal be used for lathes?

Yes.

The lathes depend on the spindle synchronous threading function?

No, this is optional - and not extensively tested. And only a few drivers support spindle sync: MSP432, iMXRT1062 and STM32F4xx (hopefully I'll soon be able to test the F4xx in my mini lathe). STM32F7/H7 should be able to handle spindle sync as well.

I claim that grblhal supports lathes?

I think so - up to a point. Radius/diameter mode and constant surface speed is always supported - the latter requires spindle speed under control by grblHAL, enabled by setting $32=2 (lathe mode). By enabling the controller tool table indexed tools should also be possible to use.