With it connected in position control I get a run away pretty much. And it ignores my home sensor
I have a encoder I can use also from this servo motor on toolchanger. If that's a better option? I just Kinda thought that a closed loop stepper system eg a servo would be good enough. But happy up try other options. Just want the fastest option I can get.. Cheers andrew On Sun, 22 Dec 2024, 04:25 andy pugh, <bodge...@gmail.com> wrote: > On Sat, 21 Dec 2024 at 05:59, andrew beck <andrewbeck0...@gmail.com> > wrote: > > > > Hey I'm currently trying to setup your carousel component to control a > > > stepper motor. > > > > > > I can't get it to work. So far > > > > > > Do you have a config that works with that? > > I did have, but I can't currently find it. (and it was only moving a > tiny stepper motor, not actually a toolchanger) > > If you are only using a single home sensor, then use encoding=counts > and num_sense=1 > > Then set the carousel.0.scale to suit the number of steps between pockets. > > Set the stepgen scale to 1.0 and the stepgen mode to position, and > then connect the stepgen.N.position-cmd to carousel.0.counts-target > The stepgen will need to be enabled, either by carousel.0.active, or > permanently. > > It probably more robust to use a sensor-per-pocket and use encoding=index > > Are you getting any movement at all? > > -- > 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