On Tue, 20 Sept 2022 at 11:18, Nicklas SB Karlsson <n...@nksb.eu> wrote:
> Pretty easy calculate rotational speed from given surface speed and tool > diameter. It could be done the "normal" way using G97 entering > rotational speed or with G96 let Linuxcnc do the calculation entering > the surface speed. It could be done in HAL by combining spindle.0.speed-out (which is now programmed in m/min) and dividing by halui.tool.diameter (With appropriate scaling factors) then passing that to the motor. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers