On Wed, 26 Apr 2017, Valerio Bellizzomi wrote: > Date: Wed, 26 Apr 2017 14:13:19 +0200 > From: Valerio Bellizzomi <vale...@selnet.org> > 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] Drive Parameters > > On Mon, 2017-04-24 at 10:52 -0700, Peter C. Wallace wrote: >> On Mon, 24 Apr 2017, Valerio Bellizzomi wrote: >> >>> Date: Mon, 24 Apr 2017 19:39:51 +0200 >>> From: Valerio Bellizzomi <vale...@selnet.org> >>> 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] Drive Parameters >>> >>> On Sun, 2017-04-23 at 16:42 +0200, Valerio Bellizzomi wrote: >>>> Hello, >>>> I have found the parameters here >>>> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Stepper_Drive_Timing >>>> >>>> and wrote them in the .ini file, tested the motor and it still >>>> vibrates. >>>> >>>> >>> >>> well well, apart of timing there is the P parameter which is important >>> >>> pncconf wrote a P value of 10000, which is too high and make the motor >>> vibrate >>> >>> I wrote a P value of 100, that resolved the problem. completely. >> >> P should normally be 1/servo thread period (so 1000 for a normal 1 KHz servo >> thread) >> >> The current version of pncconf does set this correctly, not sure how you got >> yours set to 10000 > > > not sure either what it means correctly here, I have re-run pncconf on > the same file and it generated a value of P = 6000 ! >
I just tried this and it works fine for me That is the pncconf default P value is 1000, and rerunning pncconf on the same file does not change this. However if you initially changed the servo thread period (from 1000000) or PID values in pncconf from 1000, and re-run pncconf, is will use those previously changed values, re-writing your ini file (and losing any changes you made manually in your ini file) > > >> >> >> Peter Wallace >> Mesa Electronics >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > 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. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users