The weakest link

More
29 Nov 2015 23:03 #66065 by cradek
Replied by cradek on topic The weakest link
At no time in the 20+ year history of LinuxCNC - EMC2 - EMC has the parallel port been the only option. It is popular because it is free or nearly free, and works fine for software step generation for simple setups.

The Mesa ethernet cards are supported, as are many many great PCI and PCI-e options.

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

More
30 Nov 2015 00:54 #66071 by tommylight
Replied by tommylight on topic The weakest link
Or just have a go at amazon.com there are PCI and PCIe cards starting from 7$, some have 2 parallel ports on one card for 13$, so i see that as a non issue. I have a Dell Optiples <<< some numbers here that has a latency of 800 to 1300 and have 2 pci parallel ports plus the built in one, so 3 in total, set up to drive servo motors with encoder feedback going directly to parport. I had to do some tuning nut got it to work quite nicely. BTW encoders are 100cpr so plenty of speed, too.
Regards,
Tom

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

More
01 Dec 2015 21:41 #66182 by Gatesy
Replied by Gatesy on topic The weekest link
As a newbie to Linux and LinuxCNC, why does Latency matter less for a servo system with feedback?

And following on from this, Is there any major difference in the requirement of the PC depending on what the application is?

For example I see a lot of people on these DIY CNC forums are running routers with stepper motors and linear ways, on which the machining rate, and therefore feed is a lot faster, which I presume means more calculations as more moves have to be done in a short time

than compared to

A traditional solid way metal milling machine which is going to be operated at a much slower machining rate, and therefore lower feedrate, using servo drives with feedback to LinuxCNC?

It would certainly makes things easier if some computer suppliers could put together a package that was LinuxCNC friendly, or as was mentioned a BOM that will give you a decent PC using readily available and current parts

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

More
02 Dec 2015 03:33 #66198 by PCW
Replied by PCW on topic The weekest link

As a newbie to Linux and LinuxCNC, why does Latency matter less for a servo system with feedback?


Very good latency (say less than 30 usec or so) matters mainly for software step generation systems (typically using the PC parallel port) since these systems need to generate regular pulse streams at 5 KHz to maybe 50 KHz. Large latency spikes on a software step generation system interfere with this pulse stream generation and may cause step motor stalls.

Latency is much less important on servo systems or step/dir systems that have hardware step generation. Servo systems and hardware step/dir systems typically only have a servo thread running on the PC at 1 KHz (1 ms period). Jitter in the servo thread only causes second order errors (mainly that the position sample time has jitter which will look like position jitter (proportional to velocity)
to the PID control loop. 100 uSec or more jitter is tolerable on these systems. This means almost _any_ PC can be used for servo
or hardware stepgen systems.

If even better jitter tolerance is needed, Mesa hardware has an optional DPLL that allows re-timing of encoder and stepgen position sampling. This can be used to make a system that will tolerate even 500 usec of jitter in a 1000 usec servo thread.

And following on from this, Is there any major difference in the requirement of the PC depending on what the application is?

For example I see a lot of people on these DIY CNC forums are running routers with stepper motors and linear ways, on which the machining rate, and therefore feed is a lot faster, which I presume means more calculations as more moves have to be done in a short time

than compared to

A traditional solid way metal milling machine which is going to be operated at a much slower machining rate, and therefore lower feedrate, using servo drives with feedback to LinuxCNC?

It would certainly makes things easier if some computer suppliers could put together a package that was LinuxCNC friendly, or as was mentioned a BOM that will give you a decent PC using readily available and current parts


Actually I don't think there is a big difference between router and machine tool requirements as machine tools are are slower but typically require better accuracy so may process as many line segments per second as a fast router.

For a servo or hardware step generation system almost any PC will be satisfactory,
if you are trying to get 50 KHz pulse streams out of a parallel port, it will be nearly impossible
to find a PC that will work well.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum