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