On Sat, 28 Jan 2012, Viesturs L?cis wrote: > Date: Sat, 28 Jan 2012 22:12:12 +0200 > From: "[UTF-8] Viesturs L?cis" <viesturs.la...@gmail.com> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Subject: Re: [Emc-users] Servo tuning - wtf? > > 2012/1/28 Peter C. Wallace <p...@mesanet.com>: >> >> OK so commutation is ok, but somthing is funny here. You said it oscillated >> even with a P of 1 and all else 0. Did it not oscillate with a P of 3? >> what is the difference between the setup now and when it oscillates? >> > > I will try to explain: > I am trying to tune 2 motors simultaneously, because it is a gantry machine. > So what I did few minutes ago: > For both motors: all PID parameters set to 0 > P = 3 > I tried to jog the gantry at slow speed. > At 240 mm/min it is smooth, at 480 mm/min still smooth, but at 676 > mm/min there are spots, when one of motors stalls and oscillates in > small amount at high frequency. I suspect that the stalling is due to > some uneven load to motor, when moving forward. > Anyway, I d not know, how to overcome such stalls and subsequent oscillation. > Hitting F2 to disable and re-enable motion stops oscillation and I can > jog forward. Until one of motors stalls and starts vibrating again. > > I do understand that final settings for both gantry motors might > differ, I just think that in the beginning they could be tuned > together as both of them are stalling now. > > Viesturs
Can you manually run the gantry to a carefully marked home position after it stalls to verify that you are not losing counts? losing counts might cause this behaviour > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users