Well, after fooling with it for a couple of hours, we decided a 5i25 would be a good investment that will eliminate a number of issues including this one. Thanks for the insight though.
-- Ralph ________________________________________ From: andy pugh [bodge...@gmail.com] Sent: Sunday, March 6, 2022 4:57 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] step/dir driven spindle and rigid tapping CAUTION: This email originated from outside the Walla Walla University email system. 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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=04%7C01%7Cralph.stirling%40wallawalla.edu%7Cdc5d5a72b5634469695f08d9ffd59e07%7Cd958f048e43142779c8debfb75e7aa64%7C0%7C0%7C637822115213734402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=rJTDGcjBLeNWPKpeYwp%2B2P09qi8RJ%2BMlS8W7h8bIp9M%3D&reserved=0 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users