To me this is a clear indication that we need a backport of LinuxCNC for
Debian 12. I will address that right after the release of Debian 13
(scheduled for August 9th).

Is there any way for us to have runtime tests for any such limits?
Simulation, I presume. But how far away are we?

I do not feel sufficiently competent to perform the change to the documentation 
myself,
but happily feed into a pull request whatever you send me.

Many thanks to you all for chasing this up!

Best,
Steffen


> Gesendet: Dienstag, 22. Juli 2025 um 15:06
> Von: "John Thornton" <j...@gnipsel.com>
> An: emc-developers@lists.sourceforge.net
> Betreff: Re: [Emc-developers] Spindle Docs 2.9
>
> I went back to 2.9.0~pre that is in Debian 12 and reverse works but 
> forward does not cap the speeds. I would suggest changing the wording in 
> the docs in updating linuxcnc from 2.8x to 2.9.y to 2.8 to 2.9.1 and 
> later to be more specific that it only works with 2.9.1 or later. This 
> may be where I was confused as I "think" I only tried forward. Also in 
> the spindle section of the ini docs note that those 4 limits only work 
> in 2.9.1 or later version.
> 
> JT
> 
> On 7/22/25 07:34, John Thornton wrote:
> > Now I'm really confused as to why it didn't cap the values because it 
> > works this morning for all 4 ini items on Axis 2.9.1.
> >
> > Sorry for the static.
> >
> > JT
> >
> > On 7/21/25 18:11, andy pugh wrote:
> >> On Mon, 21 Jul 2025 at 14:23, John Thornton <j...@gnipsel.com> wrote:
> >>
> >>> Is this only in master and the docs are wrong or is this just broken?
> >> Probably just broken.
> >>
> >> The INI settings do get read:
> >> https://github.com/LinuxCNC/linuxcnc/blob/2.9/src/emc/ini/inispindle.cc#L65
> >>  
> >>
> >>
> >> And fed into the spindle settings:
> >> https://github.com/LinuxCNC/linuxcnc/blob/2.9/src/emc/ini/inispindle.cc#L100
> >>  
> >>
> >>
> >> And set here: 
> >> https://github.com/LinuxCNC/linuxcnc/blob/2.9/src/emc/motion/command.c#L1555
> >>
> >> And the code here (setting the HAL pin values) appears to limit the 
> >> velocity:
> >> https://github.com/LinuxCNC/linuxcnc/blob/2.9/src/emc/motion/control.c#L1908
> >>  
> >>
> >>
> >> (Though it looks like I might have got my > and < the wrong way round
> >> for negative spindle speeds.
> >> Can someone else check that I am not double-thinking this?)
> >>
> >
> >
> > _______________________________________________
> > Emc-developers mailing list
> > Emc-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
> >
> 
> 
> _______________________________________________
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
> 


_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to