On Sun, 6 Mar 2022 at 22:31, Ralph Stirling <ralph.stirl...@wallawalla.edu> wrote:
> plain parallel port stepper control. I'm setting up the > spindle as step/dir, since he doesn't have analog output. > He especially wants to be able to do rigid tapping. > > I believe I can use the stepgen counts or position-fb > in place of a spindle encoder You sort-of can and sort-of can't. It really ought to work, but threading relies in position zeroing at the index. Encoders just do this, but stepgens don't AFAIK. Basically the lack of index-enable in stepgen causes a problem with this configuration. I think that this has been solved on the forum, and I can think of ways to do it in HAL, but it rather feels like something that should be built in to stepgen. If there is an actual one pulse-per-rev signal provided by the machine then it's not so hard. Otherwise it is easier with 1:1 gearing and a bit of a puzzle with not-1:1 This is all as I remember it, there might be things that I am unaware of that are relevant. -- 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