Results 1 to 6 of 6

Thread: Creating HAL Driver for USB Mesa card

  1. #1
    Registered
    Join Date
    Dec 2007
    Location
    New Zealand
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default Creating HAL Driver for USB Mesa card

    Hello

    I am looking at using one of the Mesa Electronic cards for a CNC retrofit to a lathe. I know that drivers already exist for the 5I23 card, but this would mean mounting the PC very close to the lathe.

    I would like to use the 7I43 because this is has a USB port. I can get Linux USB drivers but EMC would need a driver written.

    Does anyone know where to find information on writing HAL drivers for EMC? I have had a look on the EMC website but couldn't find anything.

    Similar Threads:


  2. #2
    Registered
    Join Date
    Feb 2008
    Location
    USA
    Posts
    152
    Downloads
    0
    Uploads
    0

    Wink

    There is currently no EMC support for the 7I43's USB interface. Using the 7I43s USB interface would require a buffered approach which is somewhat contrary to the real time orientation of EMC. Its definitely possible but would require quite a bit of work.

    The 7I43s parallel port interface is currently supported by EMC in both hardware step generation and servo motor modes.

    Peter Wallace



  3. #3
    Registered
    Join Date
    Jan 2006
    Location
    USA
    Posts
    58
    Downloads
    0
    Uploads
    0

    Default

    The driver for the 7i43 is not included in the latest released version (2.2.4), but it will be in the next one.

    If you don't want to wait for the next release you can download the source from CVS and compile it. Instructions on that here.



  4. #4
    Registered
    Join Date
    Dec 2007
    Location
    New Zealand
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    Hello

    Is there any difference in performance (latency) expected between the new card and the 5I20?

    I will be in the USA in a month and I will need to decide whether to buy the 5I20 or the 7i43 by then.



  5. #5
    Registered
    Join Date
    Jan 2006
    Location
    USA
    Posts
    58
    Downloads
    0
    Uploads
    0

    Default

    Yes, there is a big difference in performance between the 7i43 and the 5i20.

    The 7i43 uses EPP, which has a wire speed of about 1 MB/s. The 5i20 uses PCI, which has a wire speed of about 133 MB/s. The planned TRAM-based driver should be able to get close to that speed. (That's throughput, I dont have any latency numbers handy.)

    That said -- while the 7i43 is slow compared to the 5i20, it is fast compared to what many CNC machines need. The current driver (which does not use the TRAM, and so does not utilize the EPP bandwidth as well as it could) does 4-channel servo control at a couple of KHz.

    Another thing to consider is that the 5i20 has 72 I/O pins, whereas the 7i43 has 48. Not sure what your I/O needs are.



  6. #6
    Registered
    Join Date
    Dec 2007
    Location
    New Zealand
    Posts
    12
    Downloads
    0
    Uploads
    0

    Default

    Hello

    I've been reading some of the discussions on the EMC developers forum about using USB on the mesa card.

    Are there any long range plans to port the closed loops onto the 7I43 using a C to FPGA tools? This might make is possible to leave the USB for higher level command streams without compromising performance?

    I aim to retrofit CNC to my Denford Viceroy lathe. I like the concept of using a thin string between the 7I43 and the PC. It would allow a compact design with minimum electronics located in the hostile environment around a machine tool. I am sure that sort of feature would appeal to a range of other applications.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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