NEMA 23, weird velocity results.. need help

More
20 Nov 2013 23:34 #41023 by cncbasher
stepconf is good just to get you up and running , after that , it really is better to hand edit the files , and it's a good way of learning how
linuxcnc works , by all means use stepconf and make a dummy config , you can always then cut and paste into your real environment .

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

More
20 Nov 2013 23:55 #41024 by fannlow
CncBasher:
thanks!

by the way, refering back to the DM542A pdf, i did use the "YANG" wire config on "page 5".
what is the difference from the one on page 6, namely "YIN" config?

On my .ini file, i found these:

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
COMM_WAIT = 0.010
BASE_PERIOD = 100000
SERVO_PERIOD = 1000000

did you say changing the BASE_PERIOD to 50,000 or 10,000?
and what does it do? or can I just play around with the figures?

setup set fix to :
Step Time 3050
Step Hold 0000
Dir Hold 35000
Dir Setup 35000

Trying achieve max possible speed, and running at 10% less of it.

using CNC Mills for polyfoam to mostly carving and engraving, so clearing out the stock into parts most of the time, and speed becomes a vital part for clearing...

thanks

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

More
21 Nov 2013 00:04 #41025 by andypugh

BASE_PERIOD = 100000
SERVO_PERIOD = 1000000

did you say changing the BASE_PERIOD to 50,000 or 10,000?


It is a number in nanoseconds and needs to be somewhat higher than the jitter number (also in nanoseconds).

With your measured jitter I would suggest trying 50,000. However, as an experiment, you could try 15,000 and ignore the likely "Realtime delay" messages.
The following user(s) said Thank You: fannlow

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

More
21 Nov 2013 00:32 #41026 by fannlow
From what I saw about muti cpus and hyper threading.
So to assume, buying a new pc w latest tech might not help in smoother running of linuxCnc?

Since most of the time multi cpus are off and hyper threading are off.

Or can I assume that new i3 ~ i7 with intel new board and 4gb of ddr3 ram, sata 3 hdd or sdd actually help?
Am asking because in my country it will be rather difficult to source a working P4 or core duo working pc. Most parts are salvaged and am not sure how reliable they are.

I cant even buy an atom any more, and I heard they are one of the best value for linuxCnC!!

Any suggestions for me?
Or should I actually import one from either usa or singapore?

Thanks

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

More
21 Nov 2013 01:28 #41027 by ArcEye

From what I saw about muti cpus and hyper threading.
So to assume, buying a new pc w latest tech might not help in smoother running of linuxCnc?

Since most of the time multi cpus are off and hyper threading are off.

Or can I assume that new i3 ~ i7 with intel new board and 4gb of ddr3 ram, sata 3 hdd or sdd actually help?


There is no point getting an i3 -7, nor having more than 2GB RAM but a SSD speeds up booting etc nicely.

Have a look at the Computer section, there are several posts from people who have found mini ITX boards similar to the Atom ones that return decent latency, ASUS comes to mind

But try to fix this one first, narrow down what is causing the high latency figures, the next one could have different problems :laugh:

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

More
21 Nov 2013 01:51 #41028 by andypugh

Or can I assume that new i3 ~ i7 with intel new board and 4gb of ddr3 ram, sata 3 hdd or sdd actually help?


I don't think there is much point buying a new computer to get a 2x improvement in step rate when a $90 PCI card can give you a 1000x improvement in performance.
(Not that the motors will be able to go that much faster, steppers rarely get much above 600rpm)

Going back to an earlier message:

I did a test to run 1000mm/s & 76.875mm/s2.
The motor ran for 2secs before stalling.

That's quite a low acceleration. After the quoted 2 seconds the motor would be doing 160mm/sec, not 1000.
I think the same is true of the Mach3 numbers, the acceleration is so low that you are not seeing anywhere near the specified top speed.

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

More
21 Nov 2013 02:37 #41029 by fannlow
Unable to tune anything off the BIOS... :(

Uploading the MACH3 numbers in screenshot.
Attachments:

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

More
21 Nov 2013 02:48 #41030 by fannlow
BIOS upload..

Virtualization off
Multi processor off
Serial port off
Parallel port ecp+ppp?
Network off
Audio off
Os power management off
Hdd management off

Anything else I can off without causing problems are all off now

Lets see if I do gain any advantages :angry:
Attachments:

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

More
21 Nov 2013 02:54 #41032 by fannlow
Is there anyway we can like disable all the linux distro startup, except of course just the linux itself, needed components to keep running and linuxCnC?

I think this will help quite a bit in latency?
Such as off network, off bluetooth, off all these?

If there's a list to go to, please let me know.

Thanks :)

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

More
21 Nov 2013 03:12 #41033 by fannlow
Helped a little...
Turning off those startups in linux itself.

Now at 32122 servo thread & 28560 at base thread.

When inputting in stepconf, we insert the number in servo thread or base thread?
I have been using the ones in servo thread.
Attachments:

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

Time to create page: 0.123 seconds
Powered by Kunena Forum