D510MO

More
21 Dec 2012 18:11 #27919 by andypugh
Replied by andypugh on topic D510MO

I thought I'd be on the very safe side with a base period of 20000 but while testing today I've got a few times the message "Unexpected realtime delay.


My D510 is bulletproof unless I have the webcam plugged in. I wonder if it is your game controller?

Please Log in or Create an account to join the conversation.

More
22 Dec 2012 06:18 #27934 by Tilman
Replied by Tilman on topic D510MO
Checked it today: The X server seems to be stable after I disabled hyperthreading. This problem is obviously solved.

What I didn't solve was the realtime delay. I just found out that it only appears once when I start the first ngc-file after starting axis. After that the program runs without errors and also following ngc-files will be started without an error.

When starting the first file I'll always be prompted for tool change. I never paid any attention to it but it seems that the realtime delay only appears in cases when I was prompted for tool change. I make my g-code with Aspire and got used to split the jobs in files for each tool because Aspire gives me an error "The visible toolpaths use different tools and the selected Post Processor does not support toolchanging" when I try to save toolpaths with different tools into a single file.

I know that this isn't the right place for asking questions about Aspire but since the realtime delay only appears with the "new" D510MO after I was prompted for tool change, I would like to attach my postprocessor as well.


File Attachment:

File Name: Emc2_Arcs_mm.zip
File Size:1 KB


File Attachment:

File Name: dmesg.zip
File Size:11 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
22 Dec 2012 07:21 #27937 by andypugh
Replied by andypugh on topic D510MO

I just found out that it only appears once when I start the first ngc-file after starting axis. After that the program runs without errors and also following ngc-files will be started without an error.

Unfortunately that doesn't mean that there are no more over-runs, as the error message is only printed once per session (otherwise it could make the computer completely unusable just clearing error messages)

You can setup a halmeter (in the "Machine" menu) to look at the motion.servo.overruns. If that is increasing then you have a real problem. If it only increments on file-load, then perhaps you can ignore it.

Please Log in or Create an account to join the conversation.

More
22 Dec 2012 08:38 #27940 by Tilman
Replied by Tilman on topic D510MO

Unfortunately that doesn't mean that there are no more over-runs, as the error message is only printed once per session.


Does this apply to any realtime delay message? I remember other realtime delay messages in Axis that clearly said that they only appear once per session but this one did not.

Please Log in or Create an account to join the conversation.

More
22 Dec 2012 16:03 #27953 by ArcEye
Replied by ArcEye on topic D510MO

Unfortunately that doesn't mean that there are no more over-runs, as the error message is only printed once per session.


Does this apply to any realtime delay message? I remember other realtime delay messages in Axis that clearly said that they only appear once per session but this one did not.


Yes it does.

andypugh wrote:

My D510 is bulletproof unless I have the webcam plugged in. I wonder if it is your game controller?

Have you tried removing the gamepad? That would have been my next guess too, USB devices sometimes cause peculiar realtime errors.
It was attached during the session you attached the dmesg for.

Regards the dmesg you attached, no error occurred that was logged, during that session.

You can easilly discount toolchange from the equation by simply loading a file that does not contain one.

One of the most obvious places to start looking is HDD access.
If your files are generated by a CAM program I would suspect they are quite large. Did you try large file opens, general HDD accesses during the original latency testing?

This kind of error has come up before coinciding with HDD activity and sometimes is down to incorrect jumpering, HDD not on channel 0 or effectively a slave to CDROM on IDE systems, and sometimes just changing the SATA port for SATA systems can help.

That it does not happen on the next file load, could simply be down to the HDD cache having pre-fetched all the files in that directory when the original file fetch was requested, making all subsequent ones directly from cache.

Go at it in a methodical fashion.
Use the halmeter that Andy described to see if it recurs or is just on first file load.
Remove the gamepad and re-test
Load a file without toolchange
Try moving SATA ports and re-test

regards

Please Log in or Create an account to join the conversation.

More
22 Dec 2012 23:49 #27966 by Tilman
Replied by Tilman on topic D510MO
Did some more tests today with loaded halmeter. The biggest number of overruns appear at the first rows of the code. I guess it's the row that runs the machine to x0 y0 z0 and starts the spindle (row 73 in the pp file) but it's hard to tell since the rows pass through very quickly.

After that the number increases very slowly in steps of 1-5 overruns every 2-5 minutes. The funny thing is that increasing the base thread period doesn't seem to change much. There is almost no noticeable difference between 24000 and 50000. I even experienced a initial number of more than 500 overruns with a base period of 45000 and only a initial number of 12 overruns with a base period of 25000.

What I did so far is:
- swapping the SATA ports: didn't change a thing
- loading the same file (size: 120kb) one time from USB stick and one time from HDD: no difference
- disconncting the game controller and disabling all controller functions in my postgui.hal: no difference
- running another latency test and abusing the computer: Worst latency time was 6700

Please Log in or Create an account to join the conversation.

More
23 Dec 2012 10:18 #27971 by Tilman
Replied by Tilman on topic D510MO
I got one step further today: Increasing the base period didn't help at all but increasing the servo period does. After I set its value from 100000 to 200000, I got rid of the realtime delay. Shouldn't I get better values with this board?

Please Log in or Create an account to join the conversation.

More
23 Dec 2012 10:27 #27972 by PCW
Replied by PCW on topic D510MO
Are those numbers accurate?
100000 ns is 100 usec or a 10 KHz servo thread

This is very unlikely to work
are you sure you have not misplaced a '0'?

default servo thread period is 1000000 ns or 1 ms = 1 KHz rate

Please Log in or Create an account to join the conversation.

More
23 Dec 2012 10:42 #27973 by Tilman
Replied by Tilman on topic D510MO
Yep, the numbers are correct. So it's the thing between my ears which is faulty and not the computer?

Please Log in or Create an account to join the conversation.

More
23 Dec 2012 10:54 #27974 by PCW
Replied by PCW on topic D510MO
Well a 10 KHz servo thread may work on a high end CPU
but an Atom cannot possible manage this, I would set the servo thread back to
1 KHz unless you have a reason for running it any faster

(I have a Intel Mini ITX H41 /Core Duo that will just do a 6KHz servo thread reliably)

Please Log in or Create an account to join the conversation.

Time to create page: 0.251 seconds
Powered by Kunena Forum