SimpleMotion control library


Page 1 of 2 12 LastLast
Results 1 to 20 of 33

Thread: SimpleMotion control library

  1. #1
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default SimpleMotion control library

    Hi Folks,

    I'm going to release a software library called SimpleMotion in matter of days. Some features:
    • Command VSD drives from PC thru the USB adapter (same which is used with GDtool).
    • Designed for ultimate simplicity, single command will move motors. Not even initialization needed.
    • Connect up to 100 drives to PC. Each drive is connected with own USB cable (if necessary, use USB hubs to extend number of USB ports).
    • The first version designed for point-to-point position, controlled velocity or controlled torque applications.
    • CNC like contouring not (yet) possible (will need USB7AX hardware, which is under development).
    • Free, open source and GPL. Port it to any platform including microcontrollers.
    • Simple integration (as DLL) to almost any programmable language without modifications. Including C/C++/C#/VisualBasic/Matlab/LabVIEW.


    I will be posting details as I progress.

    BR,
    Tero

    Similar Threads:


  2. #2
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    A working C-language "hello world" program using SimpleMotion. It will move AXIS_X to position 1234567 (steps or counts).

    Code:
    #include "simplemotion.h"
    
    main()
    {
        smCommand( "AXIS_X", "ABSTARGET", 1234567 );
    }




  3. #3
    Member
    Join Date
    Nov 2006
    Location
    USA
    Posts
    473
    Downloads
    0
    Uploads
    0

    Default

    Tero-

    Will this allow me to program, and monitor both of my X and A axis on my gantry?

    Would I need to unplug the VSDEPI?


    Steve



  4. #4
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    Do you mean like plotting following error value graph or something while using Mach? By drive design, it's possible to use step/dir and SPI simultaneously. However, I need to do some tests to see how it can be done while using VSDEPI.



  5. #5
    Member
    Join Date
    Nov 2006
    Location
    USA
    Posts
    473
    Downloads
    0
    Uploads
    0

    Default

    Tero-

    That would be an great tool to help try to resolve some of the issues that I had.

    Keep us posted on the great work.


    Steve



  6. #6
    Member
    Join Date
    Sep 2005
    Location
    Indonesia
    Posts
    1195
    Downloads
    0
    Uploads
    0

    Default

    Tero,
    The software is downloadable. Does this software will simplify programming?



  7. #7
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    Demonstration about how easy it is to create motion control app using LabVIEW + SimpleMotion library. This one is my first ever LV app and it took less than 10 minutes to figure out how to create it.

    This program does same thing as the C-code example in the earlier post.

    Attached Thumbnails Attached Thumbnails SimpleMotion control library-simplemotion_labview-png  
    Last edited by Xerxes; 02-25-2010 at 02:09 PM.


  8. #8
    Member
    Join Date
    Nov 2006
    Location
    USA
    Posts
    473
    Downloads
    0
    Uploads
    0

    Default

    Tero-

    How is this project going? I finally think I have all (most) of the bugs worked out on my plasma table. I am going to start to tune the servos better.

    Right now my servos are not accel. and decel. in a linear line. When the axis starts, it moves 2-3 cm then rapidly starts moving. It acts like it has a delay.

    If I could monitor what is going on with the servo as MACH is driving it, then I would know what to try to fix it.


    Steve



  9. #9
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    Doing progress. Today I finished a simple example app for SimpleMotion. From your request (+few others) I'm also planning to create sample app for realtime monitoring.



  10. #10
    Member
    Join Date
    Nov 2006
    Location
    USA
    Posts
    473
    Downloads
    0
    Uploads
    0

    Default

    Thanks Tero!!

    Will it be able to monitor 2 drives at the same time? Since some of the plasma tables and routers have a x and a axis on one gantry.


    Steve



  11. #11
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    There should be no problem using multiple scopes at a time recording. Each drive will need own USB adapter then.



  12. #12
    Registered the_unexpected's Avatar
    Join Date
    Jun 2003
    Location
    Kappelrodeck
    Posts
    5
    Downloads
    0
    Uploads
    0

    Default

    Hi Xerxes,

    are you doing progress with the libary?
    When it is to reckon with a first beta version?

    thank you



  13. #13
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    You can download SimpleMotion pre-release library & testing app from this link:

    http://www.mediafire.com/file/02mw2m...est_binary.zip

    Feel free to try the testing app and let us know how it worked. Source codes need some cleanup and documentation to be released. The ZIP contains .dll and .h files so it can be already used in programs.

    Attached Thumbnails Attached Thumbnails SimpleMotion control library-smtester-png  


  14. #14
    Member
    Join Date
    Nov 2006
    Location
    USA
    Posts
    473
    Downloads
    0
    Uploads
    0

    Default

    Tero-

    When I try to run the simplemotion.exe file, about half way through the install I get the following error--

    FTD2XX.dll was not found.

    I downloaded the program twice and I got the same results.

    any ideas?


    Steve



  15. #15
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by scrambled View Post
    Tero-

    When I try to run the simplemotion.exe file, about half way through the install I get the following error--

    FTD2XX.dll was not found.
    Have you installed USB cable drivers and plugged cable in?
    If yes and still not working, you can copy ftd2xx.dll from GDtool or DCtool installation folder to tester app folder.



  16. #16
    Member
    Join Date
    Nov 2006
    Location
    USA
    Posts
    473
    Downloads
    0
    Uploads
    0

    Default

    Tero-

    I have not installed any of the USB drivers or have the drive connected. I was just going to look at the program here in the house before I went to the shop.

    I will try it on the shop computer on either SAT or SUN.


    thanks


    Steve



  17. #17
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    Web site for SimpleMotion is under design right now:

    http://granitedevices.fi/index.php?q=simplemotion

    Soon there will be first release to download.



  18. #18
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    SimpleMotion pre-release can be downloaded from:
    http://www.students.tut.fi/~kontkant...2.0-prerel.zip

    Only documentation is not fully finished. Final release happens in matter of days.



  19. #19
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1207
    Downloads
    0
    Uploads
    0

    Default

    The first official version release is today! Download the library, documentation and example programs from:

    http://granitedevices.fi/index.php?q=simplemotion

    The package contains compiled SimpleMotionTest program which is ready to run right after extracting the download package (requires FTDI drivers or GDtool on machine).



  20. #20
    Registered cobree's Avatar
    Join Date
    May 2009
    Location
    Sweden
    Posts
    19
    Downloads
    0
    Uploads
    0

    Default Test of Labview and simpleMotion lib

    This was working great, just add the .dll and use the VI. I had a problem with the FTDI chip , because I was running through a USB hub with more FTDI to USB, but it was only to change name to "AXIS_Y" or whatever, than it worked. I have started to do some LabView class if any interested i can post this.

    // Conny



Page 1 of 2 12 LastLast

Tags for this Thread

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 for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

SimpleMotion control library

SimpleMotion control library