On Friday 07 April 2017 13:10:44 Peter C. Wallace wrote: > On Fri, 7 Apr 2017, Gene Heskett wrote: > > Date: Fri, 7 Apr 2017 12:58:29 -0400 > > From: Gene Heskett <ghesk...@shentel.net> > > Reply-To: "Enhanced Machine Controller (EMC)" > > <emc-users@lists.sourceforge.net> > > To: emc-users@lists.sourceforge.net > > Subject: Re: [Emc-users] for PCW? > > > > On Friday 07 April 2017 12:32:33 Peter C. Wallace wrote: > >> On Fri, 7 Apr 2017, Gene Heskett wrote: > >>> Do we have a latency test that can monitor a running system? I've > >>> not had luck running it on a live, moving system. It seems to be > >>> mutually exclusive. > >> > >> You can use the tmax parameters for each function to see the worst > >> case times, and the corresponding time pins to get an idea of the > >> average times. > > > > I hadn't thought of that. I guess thats why I don't get the big > > bucks. ;-) I'll see if there is a huge difference anyplace of note. > > That s/b non-volatile so I should be looking at data thats been > > collecting all night. > > > > looking at motion-command-handler tmax-increased is false. > > tmax is 161822, time is 25xx worst case (these are on an idling > > system) > > > > looking at motion.controller, tmax-increased is also false. > > tmax is 214426, and time is 31xxx worst case, so neither is using > > anywhere near its allocated time ATM. On the face of it, there > > should not be a problem. Famous last words... > > > > This I think is good. Is it not? Or should I be looking at and > > adding up the rest of the times too? > > Thats been done for you, its > > servo-thread.tmax
Which is 834372 clocks, and this then includes the 200hz jog-thread? So its got to be running at full speed to meet its 1 millisecond schedule reliably. I don't think I have a lot more to add, home switches are about it. Noise filters to be made for that I expect. Andy's gearchange stuff is in there as far as addf's go, just not activated yet. Some xml stuff to hook it up is next, but until I can actually turn the spindle again, I've not worked on "hooking it up" to the pyvcp leds yet. Thanks Peter. 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 Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users