Real time error on fast PC & install PCI Parport?
There is something to be said for having a dedicated machine controller PC, in the box with all the other electronics. Many people have found that the mini ITX Atom boards work very well. The D525 for example works a treat with onboard video, has latency of around 7000 and costs $75I dont wana buy another computer if I dont have to. Maybe I can get my hands on a pentium 1.6GHz single core, 500mb ram. Is that enough?
www.newegg.com/Product/Product.aspx?Item=N82E16813121442
You would need to add RAM, HD and a PSU to that price. Mine has a £20 8GB SSD and a £25 60W PicoPSU, for a system with no moving parts at all.
it might be worth trying Ye Olde Pentium, EMC2 is really not very demanding of processor horsepower, all it cares about is consistent and low latency.
Please Log in or Create an account to join the conversation.
- questi
- Topic Author
- Visitor
Before emc just wont start and keeps crashing. So I went into the settings file and deleted out the extra "0xdf08 out" to just "0xdf08" then it was able to start. I guess this was the reason I couldnt figure out port by trial and error because the extra info messed it up and would never start even when I type it right in stepconfig.
Ok since my comp is not suited and a new one is not too costly maybe I will go there instead of getting a used one which will cost me as much. And the D525 suggested has PCI port too so my card is not wasted.
Regarding the D525, its a dual core, so for this one I definately need to do the isolcpus=1 thing?
Also, should I be getting the Gigabyte motherboard version or the intel (the intel has only heat sink and no fan so maybe advantage from noise perspective but maybe the Gigabyte faster)?\
I guess my final question abou the D525 is, can this guy handle being remote desktop into without lagging? My old setup I do a headless linux so I can use my main computer to remote desktop in, but there are very minor display lag issues but doesnt affect function.
Please Log in or Create an account to join the conversation.
Before emc just wont start and keeps crashing./quote]<ahem> EMC2 doesn't "crash" it exits in an orderly manner and informs you what the problem was…
As for D525, generally folk are using the Intel one, and I remote desktop into my D510 regularly with no problems.
There are a few similar boards out there with a 12V DC input, which would be tempting in an embedded installation, but they would be an unknown quantity, I am afraid.
Please Log in or Create an account to join the conversation.
Regarding the D525, its a dual core, so for this one I definately need to do the isolcpus=1 thing?
Also, should I be getting the Gigabyte motherboard version or the intel (the intel has only heat sink and no fan so maybe advantage from noise perspective but maybe the Gigabyte faster)?
You don't have to but on my Intel D525BOX I set isolcpus=1 and disabled hyperthreading in the bios both of which improved the latency a bit.
John
Please Log in or Create an account to join the conversation.
- questi
- Topic Author
- Visitor
Im wondering though, my ram is DDR3 PC-8500. I assume the RAM is backward compatible so the motherboard can take my ram instead of getting the lower end ram it requires (the DDR3 PC-800)?
Im wondering if there are options available for uploading all motion commands to be controlled by a dedicated controller instead of EMC2 so that you avoid any potential for missed steps and have great speed. I guess EMC2 itself is a motion controller, but its a PC based on and PCs sometimes have intermittent lag and stuff so when operating open loop with steppers, its not impossible for some random lag spike to throw your job off a bit? With a dedicated controller with stored memory from buffered signals sent from EMC2, it may avoid those problems?
But I guess thats why you are advocating a dedicated computer for EMC2 so to avoid random lag, but even still, wont the computer do some random system update or some checks randomly and that may throw the timing off by a bit and maybe even cause a few missed microsteps?
Please Log in or Create an account to join the conversation.
This is exactly why EMC2 runs on a patched kernel with realtime extensions. The realtime layer guarantees that the motion commands are sent exactly when required. The realtime code has absolute priority over all other software. This is what the latency test is about, it is a check that the underlying _hardware_ doesn't steal focus from the motion controller. Unfortunately a lot of the high-end gaming machines (and laptops) do have intermediate hardware that causes problems.But I guess thats why you are advocating a dedicated computer for EMC2 so to avoid random lag, but even still, wont the computer do some random system update or some checks randomly and that may throw the timing off by a bit and maybe even cause a few missed microsteps?
With a machine which has good latency you can play music and watch Youtube while machining. Which does help to pass the time.
Please Log in or Create an account to join the conversation.
- questi
- Topic Author
- Visitor
I just got that motherboard and received it today. I was wondering if you were getting real time latency warning when EMC2 starts just by disabling hyperthreading and setting isolcpus=1?questi wrote:
Regarding the D525, its a dual core, so for this one I definately need to do the isolcpus=1 thing?
Also, should I be getting the Gigabyte motherboard version or the intel (the intel has only heat sink and no fan so maybe advantage from noise perspective but maybe the Gigabyte faster)?
You don't have to but on my Intel D525BOX I set isolcpus=1 and disabled hyperthreading in the bios both of which improved the latency a bit.
John
I did that on a vanilla setup but everytime I start EMC2 I will get an error, but the actual jitter is pretty good, around 5000 on moderate load, around 1000 something when you have no load (is that possible? most people report pretty high numbers).
The only thing hardware wise that may not be idea is the RAM, since I pulled that out of a laptop and it is PC3-8500 ram, but it should be backward compatible though?
Please Log in or Create an account to join the conversation.
everytime I start EMC2 I will get an error,
You can't just start EMC, you have to select a config first.
Are you running the same stepconf derived config that gave you errors on your old machine? If so please post the .ini file.
You can get realtime errors because the base thread is set to silly figures.
Do you get realtime errors running one of the sims?
regards
Please Log in or Create an account to join the conversation.