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

Reply via email to