All this talk of lowering the servo thread had me thinking back to when I was setting up the K&T. I wanted to try to lower the servo thread for testing. I could not go much slower the the 1ms default or I would get real time delays. After some consultation on irc - it was decided that the ladder was the issue. I gave up and left my servo thread at 1ms.
My ladder does tool chain logic, tool changing, pallet transfer and a few other odds and ends. It has probably over 16 sections and quite a few rungs. when the section display is open - the upper right hand corner has the scan time - it is 135us. vs the classic ladder sample in the sample configs (pretty much just estop logic and oiling) which runs in 17us. I have a older atom330 board here that I am playing with. On a side note - here is the latency test without isolcups=1 http://www.electronicsam.com/images/KandT/testing/atomnonisolcups.png with isolcups=1 http://www.electronicsam.com/images/KandT/testing/atomisolcpus.png I put the classic ladder parts into the emc stepper_inch config from the sample configs (emc version 2.4.6) fresh install from the livecd then updated. I removed the base thread and stepgen functions from the threads. here is the config. http://www.electronicsam.com/images/KandT/testing/stepper/ that has my ladder in it (just running - none of the pins are connected) This is ladder from sometime in the distant past - I am sure it isn't the latest ladder. Now - on this atom - it will not run at 1ms. It seems to run at .909khz. (servo period 1100000) The K&T is using a asus motherboard and amd processor. (don't remember exactly but it is quite a bit more powerful than the atom) The atom board will run the sample ladder logic down to about 5khz. So - the ladder isn't that intense - does classic ladder just take that much time? Is there another issue? am I making any sense? :) It seems to me if I made a much larger ladder - it might stop running on the K&T computer... sam ------------------------------------------------------------------------------ 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