On Sunday 11 June 2017 08:10:48 Nicklas Karlsson wrote: > Then adding a second thread with "threads" command with a period one > second it seems I got a lot more read timeouts than running the same > function at servo period. It might be a random error because of some > or scheduling. Do anybody know how threads with different periods are > scheduled in Linuxcnc? > > > Nicklas Karlsson > I have been told here, that the fastest thread runs at the highest priority and it can interrupt slower threads.
I have a second thread running at either 100 or 200 Hz, with all my jogging stuff using that thread. So far, the only gotcha in checking out the overall accuracy has been x related, and occurs when I accidentally hit the soft limit, which is about 10 thou outside the X home switch. It throws away any attempts to back all the way out and crash, in this case drive belt pulley against the front face of the cross-slide. Other than that, I can stand there and twist the dial left and right, for as long as these old wrists want to do it, running it against the MAXVEL speed limits for a minute or so, twist the dial back to 0.00, and when the motors stop its within a thou (according to a 1" range dial) of its starting point and the DRO is back on 0.00. Backlash is about 1.8 thou. X screw nut needs even bigger balls fitted. Thats good enough for the girls I go with. :) 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