Hi Andy, I might take a look at modifying the component. I’m comfortable with C, so perhaps I can work it out pretty quickly. I do like the spindle component’s concept, but it seems there are some issues. Nonetheless, fixing those issues might be a bigger project than I can handle when the primary goal is getting the machine running again.
Matt > On Dec 15, 2020, at 6:23 AM, andy pugh <bodge...@gmail.com> wrote: > > On Tue, 15 Dec 2020 at 01:42, Matthew Herd <herd.m...@gmail.com> wrote: >> >> I’ve spent some time playing with the spindle component. It seems to have a >> number of bugs, beyond the issue with the documentation. Somehow a negative >> speed command multiplied by a negative gear ratio yields a negative speed. >> And the forward and reverse pins track the commanded speed, not the gear >> ratio, despite what the documentation indicates. It has promise, but seems >> to have quite a few things that need to be worked out. > > I think that "gearchange" was written for a Bridgeport, is that any > better for you? > > http://linuxcnc.org/docs/2.8/html/man/man9/gearchange.9.html > > It might not handle the fwd-rev commands quite as you want, but it's a > fairly simple HAL component and they are easy to modify. (Especially > if you know C already, or are prepared to learn it) > > https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/components/gearchange.comp > > -- > 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-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users