On Tuesday 07 November 2017 07:48:13 andy pugh wrote: > On 7 November 2017 at 12:43, Gene Heskett <[email protected]> wrote: > > They are not equal, not even close, measured at those pins on the > > pid with the halscope. Ergo there should be an error at the pid's > > error output pin even if its only a few microvolts. Its a flat, > > noiseless line on the scope. Even when the spindles rotation is > > being reversed. > > Are you definitely looking at the right PID? > > Are you saying that you see non-zero PID output for zero error? That > shouldn't be possible. > > What is the pid.N.maxerror?
I don't think its connected to anything, and ATM motor power is off, its quite early for me yet. I'll check later in the morning. But w/o motor power, error=command, and there is a pulse to 14 something or -14 something dependent of which direction button I click on,on this pid.n.command-deriv. output with a 1.66667 input is limited by max.output but takes about 45 seconds to reach that 46.08, it keeps the pdm duty cycle from exceeding 98%. maxerror is zero even then. The saturated signal goes true and the saturated count advances when it reaches that limit. Thanks Andy. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
