Setting up Linux CNC with Clearpath Servos. Best controller board to interface with?
Hey Guys,
i would like to set up my first cnc machine with Linux CNC and Clearpath servos... what are my best options for a controller board...
i dont have anything invested in the pc yet so i would love options on usb vs parallel interfaces as well..
thanks
Joe
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
Your options with LinuxCNC are parallel or Ethernet. LinuxCNC is a software real-time motion controller that interfaces to the hardware using a breakout board (BOB) connected to the parallel port. Or, if you use a Mesa card (Mesa Electronics) you can get one that has an Ethernet interface. They are really nice cards and provide plenty of I/O of various types. Controller boards are just that, motion control implemented in the hardware. These are the ones that will often have a USB interface and cannot be used with LinuxCNC.
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
Quote:
Originally Posted by
rcheli
Your options with LinuxCNC are parallel or Ethernet. LinuxCNC is a software real-time motion controller that interfaces to the hardware using a breakout board (BOB) connected to the parallel port. Or, if you use a Mesa card (
Mesa Electronics) you can get one that has an Ethernet interface. They are really nice cards and provide plenty of I/O of various types. Controller boards are just that, motion control implemented in the hardware. These are the ones that will often have a USB interface and cannot be used with LinuxCNC.
thank you .. im picking through it now...
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
There are several other options with LinuxCNC.
As well as ethernet cards, Mesa have PCI and PCIe card with an external board. However once installed there is little difference between say a 5i25 and 7i76 (or 6i25 and 7i76) or the more recent ethenet 7i76e I use (which requires a different Linux Kernel).
Pico Systems have some solutions for some servos.
Ethercat and General Mechatronics offer solutions.
All I would say is ask on the LInuxCNC forum and don't select clearpath servos for the sake of it, there could be better servo based options that work with LInuxCNC.
LinuxCNC will never support USB as its not real time
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
"LinuxCNC will never support USB as its not real time"
One wise man once said never say never. :)
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
Quote:
Originally Posted by
OlfCNC
"LinuxCNC will never support USB as its not real time"
One wise man once said never say never. :)
A pretty safe bet in this instance. USB is a serial device and therefore suffers from latency so its not possible to guarantee within the strict timing parameters of the linuxcnc servo thread (usually 1 ms but sometimes faster).
This is the fundamental difference between the Linuxcnc paradigm and windows based systems. Because Linux offers a real time operating system LinuxCNC IS THE MOTION CONTROLLER. In a Windows environment, the OS is not real time, the motion controller is moved onto an external board (Smoothstepper etc). Thats why these devices are also never going to be compatible with Linuxcnc as a CNC machine does not need two motion controllers!
So in the case of a Mesa card, Linuxcnc tells it to generate a step frequency for each step generator and the Mesa card happily outputs that frequency continuously until told otherwise (which LinuxCNC can do 1000 times a second on the servo thread). By offloading the step generation to external hardware, the requirement for software step generation used for parallel port breakout boards on a separate and faster base thread is removed and the latency requirements of the PC are substantially relaxed. In fact, on a Mesa system, the base thread is not invoked.
Because Linuxcnc IS THE MOTION CONTROLLER and it you can write your own components in C which are then part of the ecosystem. These components have direct access to the motion controller itself, it is an extremely flexible environment. Whilst a simple milling machine would be pretty easy to knock together, much more complex devices can be built and controlled. For example, plasma torch height control can monitor torch voltage and control torch height (by taking over Z axis motion) without the need for external hardware used in a Windows environment. Or a builder who did not quite get his machine 100% square on the X&Y axis can automatically compensate for his blunder without the motion controller ever knowing!
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
OK but it does not need 2 motion controllers does not mean that it can't have 2.
I think less people using closed loop systems (servos) than how many using open loop drives (steppers) and probably it could work in an open loop system, because there the latency is not an issue.
I don't really beleive in realtime operating systems. It's fine that it is realtime, but who guarantees that it will be not overloaded by the user? Users are often geniuses. :)
I like the external realtime microcontroller or FPGA as the motion controller solution, I feel it more reliable but maybe it's just me.
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
Quote:
Originally Posted by
OlfCNC
OK but it does not need 2 motion controllers does not mean that it can't have 2.
I think less people using closed loop systems (servos) than how many using open loop drives (steppers) and probably it could work in an open loop system, because there the latency is not an issue.
I don't really beleive in realtime operating systems. It's fine that it is realtime, but who guarantees that it will be not overloaded by the user? Users are often geniuses. :)
I like the external realtime microcontroller or FPGA as the motion controller solution, I feel it more reliable but maybe it's just me.
CNC is all about coordinated motion of axes to follow a toolpath. there can only be one boss of this process.
Latency remains an issue with stepper motors as the trajectory planner is all about coordinated moves, toolpath, path velocity etc. Imagine if an axis lagged behind :(
LinuxCNC will report if the latency exceeds allowable limits. eg. the Servo thread can't service everything in time.
The power of a full blown PC just leaves the FGPA for dead in terms of CPU processing capability.... Compare the ESS step gen of about 2-3 mHz vs Mesa's FGPA at 10 mHz..... maybe its trying to do too much....
I think coming from Windows, the concept of a Real Time OS is a bit foreign to you... Why did Tormach and CandCNC move away from Mach3 to using LinuxCNC and Mesa FGPA hardware?
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
Latency is more of a problem with open loop steppers than it is with a closed loop system. Any hiccup in the step pulses can be thought of as an acceleration or deceleration of the stepper. A big enough hiccup and it acts like an instantaneous acceleration that the motor can keep up with and it stalls. Depending on the closed loop system you have, it can make up for the above. A closed loop cannot.
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
My only experience outside Linuxcnc is the big dollar industrial controls from many years ago so I won't try to compare to everything else available.
My machines are all open loop and the motherboards are old Atoms that really should be replaced except for laziness and the 'don't mess with a running piece' mindset.
Step pulses are software.
Quote:
I don't really beleive in realtime operating systems. It's fine that it is realtime, but who guarantees that it will be not overloaded by the user
That situation has happened. Whether due to something running in the background or the low spec of the hardware, the computer could no longer responded to mouse and keyboard, what people sometimes call freeze or lock-up. The machine didn't lose a beat and the part was good.
I first learned what exists inside/outside realtime the hard way. With a large program loaded keyboard jogging did something unexpected due to response lag.
Now finally to the question. :) Does using external hardware (Mesa or other) reduce that response lag ? Question asked in relation to possibly adding an MPG to one machine.
btw: 109 That last sentence ? We know what you meant.
Re: Setting up Linux CNC with Clearpath Servos. Best controller board to interface w
Quote:
Why did Tormach and CandCNC move away from Mach3 to using LinuxCNC and Mesa FGPA hardware?
Mach3 has a lot of bugs, and features that don't work properly, and it was no longer being supported.
If it was bug free, and fully functional, they likely would have preferred a Windows control to a Linux control. As most people would.