Results 1 to 3 of 3

Thread: Realtime in EMC

  1. #1
    Registered
    Join Date
    Nov 2007
    Location
    Russia
    Posts
    1
    Downloads
    0
    Uploads
    0

    Realtime in EMC

    Hello!

    There's a lot of real time patched linux kernels. See here http://www.realtimelinuxfoundation.org. Why EMC uses no real time Ubuntu kernel, then it can easily achive true real time kernel and a lot of user aplication for it? Why it goes the same path like Mach3 always fighting with OS kernel for time quantums, developing sofisticated driver, which actually can't guaranty anything?

    I'm not blame the EMC way, just intrested way it goes in such direction when it can achive better (maybe...) solution easy?


  2. #2
    Registered
    Join Date
    Feb 2006
    Location
    US
    Posts
    5
    Downloads
    0
    Uploads
    0
    they use RTAI

    https://www.rtai.org/


  3. #3
    Registered
    Join Date
    Feb 2005
    Location
    United States
    Posts
    20
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Kailo View Post
    Hello!

    There's a lot of real time patched linux kernels. See here http://www.realtimelinuxfoundation.org. Why EMC uses no real time Ubuntu kernel, then it can easily achive true real time kernel and a lot of user aplication for it? Why it goes the same path like Mach3 always fighting with OS kernel for time quantums, developing sofisticated driver, which actually can't guaranty anything?
    What makes you think our realtime kernel can't guarantee anything?
    We use an RTAI-patched kernel for EMC2, which is a hard realtime system (listed on the website you referred to). There is also support for RTLinux, though it doesn't get much attention these days (since the developer decided to "privatize" RTLinux, and the community supported/open source version doesn't seem to be well maintained)

    The only "sophisticated driver" support needed is due to the fact that no hard realtime kernel can access normal Linux devices, since the standard device drivers aren't realtime.
    Quote Originally Posted by Kailo View Post
    I'm not blame the EMC way, just intrested way it goes in such direction when it can achive better (maybe...) solution easy?
    The easy solution is to look at the EMC2 packages, which have the letters "RTAI" in the kernel name. That's a good clue that we're using a realtime kernel.

    There has been some work done on using POSIX.1b realtime extensions, so that any kernel that's "good enough", which may also include non-realtime kernels in some cases, could be used. The stock -rt kernel (Ubuntu-maintained) is pretty good, and has timing that's usable for servo systems or systems where an offboard device generates step/pwm signals. This isn't done yet, but I hope to be able to work on it this year.

    I hope this clears things up for you.
    - Steve


Similar Threads

  1. Realtime timeout!
    By matthew6060 in forum Cincinnati CNC
    Replies: 4
    Last Post: 02-22-2009, 12:33 PM
  2. Realtime implementation in EMC
    By ChandlerBing in forum LinuxCNC (formerly EMC2)
    Replies: 4
    Last Post: 02-28-2008, 04:26 PM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.