587,172 active members*
3,018 visitors online*
Register for free
Login
Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2007
    Posts
    467

    EMC2 Configuration File for G540

    Hello,

    Pardon my ignorance but I was wondering if there is a configuration file for EMC2 similar to an XML file for Mach3. We currently have an XML file on our website for those of our customers using Mach3 with the G540 and have had quite a few inquiries about setting up EMC2 for use with the G540.

    My question is this: Does anybody have the G540 set up in EMC2 and is willing to email me or post their configuration file for me to put on our website? I am thinking this will make life very easy for our customers who are using this program. Thank you!

    Edit: Whoops, I forgot my email address: [email protected]. Thanks again!

    Marcus Freimanis
    Geckodrive, Inc.

  2. #2
    Join Date
    Feb 2005
    Posts
    20
    Hi Marcus.

    Yes, I have a config file I will send you. Mariss sent me a G540 last fall, and I just haven't gotten the file to you yet. I think he intended to put it on your website near the Mach file.

    I have sent it to a couple of others who have actual machines, and so far it seems to work fine. I will write up instructions on how to tune it as well, and give you a zip or tar archive with all the info.

    Sorry it's taking me so long to get the config to you.
    - Steve

  3. #3
    Join Date
    Jan 2007
    Posts
    467
    Steve,

    That would be great. Just get it to me any time. I think having the config file for Mach3 and EMC2 will cover about 95% of all G540 hobby users and should take care of a lot of problems. Thank you!

    Marcus

  4. #4
    Join Date
    Jul 2005
    Posts
    42
    Hi!I have some an Emc2 Stepconf wizard with images -g540 driver- on this site:
    http://www.onel.se/all_files/gecko_g540.html
    My first test run with that driver:
    [ame="http://www.youtube.com/watch?v=2Awj6CCgRXc"]YouTube - g540 emc2 cnc router[/ame]
    My first run video engraving a name:
    [ame="http://www.youtube.com/watch?v=6J7fEtTBb-0"]YouTube - my first run[/ame]

    My firs run image(bigger) result-engraving a name of my friend-:
    http://www.onel.se/all_files/bilder/jocke.jpg
    My best regards
    Boris

  5. #5
    Join Date
    Feb 2005
    Posts
    20
    bcackalica,

    I'm a little surprised it's working for you with the settings on your page. I found that the step output was supposed to be inverted, or I'd get position errors from time to time. My test was to run a motor back and forth with G0 moves, with a laser pointing at a wall 10 feet away. I could easily see one micro-step of error that way.

    It may be due to the more relaxed timing you're using (the Gecko timing in the drop-down box is for some older drive models, you can use 1000 for all four entries with the G540).

    Would you mind trying your config with all the timings reduced to 1000, and see if you get any position errors? (note: you'll have to look at the actual machine or motor to see this error, EMC2 is outputting all the steps, they just might not get noticed by the drive if the settings are wrong.) If you do see any errors, invert the step outputs and try again. Note that with tighter timing you'll get higher speed, but it's also more important to use the real latency number for your machine (or higher).

    Thanks
    - Steve

  6. #6
    Join Date
    Jul 2005
    Posts
    42
    Hi Steve!
    I use Emc2 version 2.2.2 not the new-one (2.2.8) and if you mean this configuration
    like on the picture then I tasted the same code again without any errors .http://www.onel.se/all_files/bilder/Screenshot.png
    Video with your configuration:
    [ame="http://www.youtube.com/watch?v=eJC1Y_cn0oQ"]YouTube - bpcnc[/ame]

    http://www.onel.se/all_files/bilder/emil.jpg
    I don't have any laser
    to measure accuracy.I had an error first time when I had maximum Velocity = 60 and maximum Acceleration = 62
    the I changed it to maximum Velocity = 58 and maximum Acceleration = 60 and no more errors.Velocity-test
    10000-13000 but I use 15000 as you can see in my conf.file.I get 3.5 meter /minute g0 which satisfy my needs.
    I have got a little over 4 meter when I manually decrease BASE_PERIOD in "ini.file".
    Yes,I don't use inverted output.
    I use power supply 32volt 70wtt(waiting for 36volt 300-3500VA to arrive .
    I use laptop celeron processor 2.4Ghz shared memory(3.5-4 meter/minute)-g540.
    I use laptop Pentium III processor 850 Mhz shared memory (2-2.5 meter/minute)-g540,too.
    From now I will use your configuration.

    With some other controller from ebay 120 dollar Ihave got 1.87 meter/minute g0 speed with half step (400 step per rev)
    To g540 driver I must give 2000 steps to rotate 360 degree with double speed on the same Laptop.
    If I buy better Laptop I can increase speed with g540 but not with the same ebay card I had.

    I have got best speed with Linux Puppy-older emc1 .
    If people likes the newest Emc2 then I recommend using xubuntu.

    Thanks!

  7. #7
    Join Date
    Jul 2005
    Posts
    42
    Emc version 2.3.0 is released couple of days ago.You can just pick up gecko g540 from drop-down box and drive.

  8. #8
    Join Date
    Jul 2005
    Posts
    42
    Emc2.3.0 updated to ver 2.3.1
    bugfix version* hm2: fixed a bug that would cause the stepgen to oscillate by one step when the scale was negative
    [ame="http://www.youtube.com/watch?v=P1DjoESsFmk"]YouTube - velocity 6000mm/min[/ame]

  9. #9
    Quote Originally Posted by bcackalica View Post
    Hi Steve!
    I use Emc2 version 2.2.2 not the new-one (2.2.8) and if you mean this configuration
    like on the picture then I tasted the same code again without any errors .http://www.onel.se/all_files/bilder/Screenshot.png
    Video with your configuration:
    "http://www.youtube.com/watch?v=eJC1Y_cn0oQ"]YouTube - bpcnc

    http://www.onel.se/all_files/bilder/emil.jpg
    I don't have any laser
    to measure accuracy.I had an error first time when I had maximum Velocity = 60 and maximum Acceleration = 62
    the I changed it to maximum Velocity = 58 and maximum Acceleration = 60 and no more errors.Velocity-test
    10000-13000 but I use 15000 as you can see in my conf.file.I get 3.5 meter /minute g0 which satisfy my needs.
    I have got a little over 4 meter when I manually decrease BASE_PERIOD in "ini.file".
    Yes,I don't use inverted output.
    I use power supply 32volt 70wtt(waiting for 36volt 300-3500VA to arrive .
    I use laptop celeron processor 2.4Ghz shared memory(3.5-4 meter/minute)-g540.
    I use laptop Pentium III processor 850 Mhz shared memory (2-2.5 meter/minute)-g540,too.
    From now I will use your configuration.

    With some other controller from ebay 120 dollar Ihave got 1.87 meter/minute g0 speed with half step (400 step per rev)
    To g540 driver I must give 2000 steps to rotate 360 degree with double speed on the same Laptop.
    If I buy better Laptop I can increase speed with g540 but not with the same ebay card I had.

    I have got best speed with Linux Puppy-older emc1 .
    If people likes the newest Emc2 then I recommend using xubuntu.

    Thanks!
    Genius!
    That´s my dream!

    I've got a method to measure the teeth.
    "The two cilinders method"

    If you want I can post it.

    adelabarra.

Similar Threads

  1. HELP!!! Sherline/Ubuntu 6.06/EMC2 - Configuration
    By Telle in forum Benchtop Machines
    Replies: 16
    Last Post: 06-23-2012, 06:58 AM
  2. EMC2 configuration
    By acondit in forum LinuxCNC (formerly EMC2)
    Replies: 6
    Last Post: 03-11-2012, 06:36 AM
  3. G540 & EMC2 Anyone?
    By 725franky in forum Gecko Drives
    Replies: 22
    Last Post: 04-20-2009, 02:14 PM
  4. G540 Mach3 XML File
    By CoAMarcus in forum Gecko Drives
    Replies: 4
    Last Post: 11-08-2008, 06:38 AM
  5. Can someone Please help me how to save my mach3 configuration as a xml file
    By JaiTalkin in forum Machines running Mach Software
    Replies: 2
    Last Post: 06-04-2008, 05:29 AM

Posting Permissions

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