Re: [Emc-users] Axis speed slower on Emc2 than Emc1
On Friday 30 March 2007, Kyle wrote: >Gene Heskett wrote: >> On Wednesday 28 March 2007, Alex Joni wrote: >>> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGener >>>ati on >> >> Its not responding. >> >>> Regards, >>> Alex >>> >>> - Original Message - >>> From: "Andy Holcomb" <[EMAIL PROTECTED]> >>> To: "Enhanced Machine Controller (EMC)" >>> >>> Sent: Wednesday, March 28, 2007 11:11 PM >>> Subject: [Emc-users] Axis speed slower on Emc2 than Emc1 >>> >>>> On EMC1, I was running Axis speeds of more than 120ipm, I can't get >>>> EMC >>>> 2 past around 60. I am running a 1.6 ghz computer. I don't know how >>>> much memory, will memory cause this or is it the computer? >>>> >>>> Andy > >I did notice that between Gene's reply and Alex's reply the 'on' at the >end of the line broke out of the link. What I am saying is make sure it >says: >http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGenerati >on and not: >http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGenerati >on > >Kyle > You sir are correct, and I'm still asleep, or something. Bookmarked. -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) River: "Is it time to go to sleep again?" Simon: "No, mei mei. It's time to wake up." --Episode #9, "Ariel" - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Gene Heskett wrote: > On Wednesday 28 March 2007, Alex Joni wrote: >> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGenerati >> on >> > Its not responding. > >> Regards, >> Alex >> >> - Original Message - >> From: "Andy Holcomb" <[EMAIL PROTECTED]> >> To: "Enhanced Machine Controller (EMC)" >> >> Sent: Wednesday, March 28, 2007 11:11 PM >> Subject: [Emc-users] Axis speed slower on Emc2 than Emc1 >> >>> On EMC1, I was running Axis speeds of more than 120ipm, I can't get >>> EMC >>> 2 past around 60. I am running a 1.6 ghz computer. I don't know how >>> much memory, will memory cause this or is it the computer? >>> >>> Andy I did notice that between Gene's reply and Alex's reply the 'on' at the end of the line broke out of the link. What I am saying is make sure it says: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration and not: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGenerati on Kyle - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
On Wednesday 28 March 2007, Alex Joni wrote: >http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGenerati >on > Its not responding. >Regards, >Alex > >- Original Message - >From: "Andy Holcomb" <[EMAIL PROTECTED]> >To: "Enhanced Machine Controller (EMC)" > >Sent: Wednesday, March 28, 2007 11:11 PM >Subject: [Emc-users] Axis speed slower on Emc2 than Emc1 > >> On EMC1, I was running Axis speeds of more than 120ipm, I can't get >> EMC >> 2 past around 60. I am running a 1.6 ghz computer. I don't know how >> much memory, will memory cause this or is it the computer? >> >> Andy > > >- Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD >EV ___ >Emc-users mailing list >Emc-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/emc-users -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) "Never give in. Never give in. Never. Never. Never." -- Winston Churchill - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Sorry for this one, but I sent it 2 days ago.. SourceForge services at their best again... Regards, Alex - Original Message - From: "Alex Joni" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Wednesday, March 28, 2007 11:39 PM Subject: Re: [Emc-users] Axis speed slower on Emc2 than Emc1 > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration > > Regards, > Alex > > - Original Message - > From: "Andy Holcomb" <[EMAIL PROTECTED]> > To: "Enhanced Machine Controller (EMC)" > > Sent: Wednesday, March 28, 2007 11:11 PM > Subject: [Emc-users] Axis speed slower on Emc2 than Emc1 > > >> On EMC1, I was running Axis speeds of more than 120ipm, I can't get >> EMC >> 2 past around 60. I am running a 1.6 ghz computer. I don't know how >> much memory, will memory cause this or is it the computer? >> >> Andy >> > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.446 / Virus Database: 268.18.22/739 - Release Date: 3/29/2007 > 1:36 PM > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration Regards, Alex - Original Message - From: "Andy Holcomb" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Wednesday, March 28, 2007 11:11 PM Subject: [Emc-users] Axis speed slower on Emc2 than Emc1 > On EMC1, I was running Axis speeds of more than 120ipm, I can't get > EMC > 2 past around 60. I am running a 1.6 ghz computer. I don't know how > much memory, will memory cause this or is it the computer? > > Andy > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Andy Holcomb wrote: > I lied 8000 steps per inch > > (8000*120)/60 = 16000 > > where does that put me for a period? > > Andy At the beginning of this thread, Sam posted this link: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration I'd recommend reading it - it tells you how to figure out the limits of software step generation, in a lot more detail than I want to type in an email. Short answer: 25000 to 3 should work. But you really should read that page and understand why 25000 works, not just take numbers from strangers on mailing lists ;-) Regards, John Kasunich - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
I lied 8000 steps per inch (8000*120)/60 = 16000 where does that put me for a period? Andy John Kasunich wrote: > Andy Holcomb wrote: > >> John Kasunich wrote: >> >>> Andy Holcomb wrote: >>> John Kasunich wrote: > Andy Holcomb wrote: > >> On EMC1, I was running Axis speeds of more than 120ipm, I can't get EMC >> 2 past around 60. I am running a 1.6 ghz computer. >> > Steppers or servos? > Steppers > What step frequency does your machine need to get 120ipm? > >>> You didn't answer this one. >>> >> 4000 steps per inch >> (120 * 4000)/60 = 8000 ? >> > > 120 ipm should be a piece of cake then. If you only need 8000 steps > per second, you can make BASE_PERIOD something like 3 and still > have plenty of headroom. The larger period will reduce the load on > your PC, and give you more timing margin to allow for latency. > > Regards, > > John Kasunich > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Andy Holcomb wrote: > > John Kasunich wrote: >> Andy Holcomb wrote: >>> John Kasunich wrote: Andy Holcomb wrote: > On EMC1, I was running Axis speeds of more than 120ipm, I can't get EMC > 2 past around 60. I am running a 1.6 ghz computer. Steppers or servos? >>> Steppers What step frequency does your machine need to get 120ipm? >> You didn't answer this one. > 4000 steps per inch > (120 * 4000)/60 = 8000 ? 120 ipm should be a piece of cake then. If you only need 8000 steps per second, you can make BASE_PERIOD something like 3 and still have plenty of headroom. The larger period will reduce the load on your PC, and give you more timing margin to allow for latency. Regards, John Kasunich - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Okay I think I have it, It works better after doing both the velocity and the accel. Question, when I was running EMC 1, I would have problem with following errors if I went above 100% on over speed of the axises while running a program, what causes this and how can I fix it? Can I test this without running code? if so how? Andy John Kasunich wrote: > Replying to myself: > > John Kasunich wrote: > > >> Do you have adequate stepgen headroom? The following snippet is from >> the sample config "stepper_inch.ini": >> >> > MAX_VELOCITY = 1.2 >> > # NOTE: the step generator module applies its own limits to >> > # acceleration and velocity. We have discovered that it needs >> > # to have a little "headroom" over the accel by the trajectory >> > # planner, otherwise it can fall slightly behind during accel >> > # and later overshoot as it catches up. In the long term we >> > # hope to come up with a clean fix for this problem. In the >> > # meantime, please set STEPGEN_MAXACCEL below to a few percent >> > # higher than the regular acceleration limit MAX_ACCELERATION >> > MAX_ACCELERATION = 20.0 >> > STEPGEN_MAXVEL =1.4 >> > STEPGEN_MAXACCEL = 21.0 >> > > I know the comment only talks about STEPGEN_MAXACCEL needing headroom, > but STEPGEN_MAXVEL does too... I'll try to remember to fix that when > I get a chance. > > >> MAX_VELOCITY of 1.2 inches per second means 72 ipm. For 120 ipm, >> you need to set MAX_VELOCITY to 2.0, and you need to set STEPGEN_MAXVEL >> to something higher than 2.0, perhaps 2.2. If you don't do that you >> will get following errors. >> > > In versions 2.1.0 and later, STEPGEN_MAXVEL is tested against the > max available speed (which depends on BASE_PERIOD and some other > factors), and if you ask for more than it can give, it will complain. > But this check uses STEPGEN_MAXVEL, not MAX_VELOCITY, since it is > only relevant for stepper systems. > > Regards, > > John Kasunich > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Emc2 2.1.0 Andy Chris Radek wrote: > On Wed, Mar 28, 2007 at 03:56:26PM -0500, Andy Holcomb wrote: > >> Latest Live version >> > > You can find the EMC version number in the Help/About window. > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
On Wed, Mar 28, 2007 at 03:56:26PM -0500, Andy Holcomb wrote: > > Latest Live version You can find the EMC version number in the Help/About window. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
John Kasunich wrote: > Andy Holcomb wrote: >> John Kasunich wrote: >>> Andy Holcomb wrote: On EMC1, I was running Axis speeds of more than 120ipm, I can't get EMC 2 past around 60. I am running a 1.6 ghz computer. > >>> Steppers or servos? >> Steppers >>> What step frequency does your machine need to get 120ipm? > > You didn't answer this one. 4000 steps per inch (120 * 4000)/60 = 8000 ? > >>> What is your BASE_PERIOD? (It needs to be high enough to generate the >>> needed step frequency.) >> On Emc 1 you lowered the base_period, you have stated "high enough", has >> EMC2 changed this? My base_period is currently at 11000 I can't go any lower > > Sorry, I was thinking in terms of frequency, not period. > > 11000 is pretty fast. Assuming you don't have any special timing > requirements, that means you can generate one step every 22uS, or > 45,000 steps per second. Since you didn't say how many steps you > need to reach the desired speed, I don't know if the problem is: > > A) you need 60,000 steps/sec (ain't gonna happen), or > B) you need 30,000 steps/sec, and we need to figure out why you aren't > getting that many. > > I'm going to assume B - EMC2 is unlikely to be significantly slower then > EMC1 when properly configured. > >>> Have you seen any error messages, or does it just not go fast enough? >> Yes, example "Joint 0 following error" > > Following errors should never happen on a properly configured stepper > system. > > I don't know what version you are running - 2.1.4 is the latest, but any > 2.1.x should be fine for this particular issue. If you have something > older please say so. Latest Live version > > Pre-2.1 versions would give following errors if EMC is configured for a > speed that the computer can't deliver. 2.1.0 and later should print an > error message at startup if you ask for more than the computer can give. > > Do you have adequate stepgen headroom? The following snippet is from > the sample config "stepper_inch.ini": > > > MAX_VELOCITY = 1.2 > > # NOTE: the step generator module applies its own limits to > > # acceleration and velocity. We have discovered that it needs > > # to have a little "headroom" over the accel by the trajectory > > # planner, otherwise it can fall slightly behind during accel > > # and later overshoot as it catches up. In the long term we > > # hope to come up with a clean fix for this problem. In the > > # meantime, please set STEPGEN_MAXACCEL below to a few percent > > # higher than the regular acceleration limit MAX_ACCELERATION > > MAX_ACCELERATION = 20.0 > > STEPGEN_MAXVEL =1.4 > > STEPGEN_MAXACCEL = 21.0 > > MAX_VELOCITY of 1.2 inches per second means 72 ipm. For 120 ipm, > you need to set MAX_VELOCITY to 2.0, and you need to set STEPGEN_MAXVEL > to something higher than 2.0, perhaps 2.2. If you don't do that you > will get following errors. > what is adaquate? I have allowed headroom on accel I will mess with it on velocity > Regards, > > John Kasunich > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
ovl max got as high as15687 (I cant remember the number, this is close) Andy Sam Sokolik wrote: > Take a look at this > http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration > > sam > - Original Message - > From: "Andy Holcomb" <[EMAIL PROTECTED]> > To: "Enhanced Machine Controller (EMC)" > Sent: Wednesday, March 28, 2007 3:11 PM > Subject: [Emc-users] Axis speed slower on Emc2 than Emc1 > > >> On EMC1, I was running Axis speeds of more than 120ipm, I can't get EMC >> 2 past around 60. I am running a 1.6 ghz computer. I don't know how >> much memory, will memory cause this or is it the computer? >> >> Andy >> >> - >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Replying to myself: John Kasunich wrote: > Do you have adequate stepgen headroom? The following snippet is from > the sample config "stepper_inch.ini": > > > MAX_VELOCITY = 1.2 > > # NOTE: the step generator module applies its own limits to > > # acceleration and velocity. We have discovered that it needs > > # to have a little "headroom" over the accel by the trajectory > > # planner, otherwise it can fall slightly behind during accel > > # and later overshoot as it catches up. In the long term we > > # hope to come up with a clean fix for this problem. In the > > # meantime, please set STEPGEN_MAXACCEL below to a few percent > > # higher than the regular acceleration limit MAX_ACCELERATION > > MAX_ACCELERATION = 20.0 > > STEPGEN_MAXVEL =1.4 > > STEPGEN_MAXACCEL = 21.0 I know the comment only talks about STEPGEN_MAXACCEL needing headroom, but STEPGEN_MAXVEL does too... I'll try to remember to fix that when I get a chance. > MAX_VELOCITY of 1.2 inches per second means 72 ipm. For 120 ipm, > you need to set MAX_VELOCITY to 2.0, and you need to set STEPGEN_MAXVEL > to something higher than 2.0, perhaps 2.2. If you don't do that you > will get following errors. In versions 2.1.0 and later, STEPGEN_MAXVEL is tested against the max available speed (which depends on BASE_PERIOD and some other factors), and if you ask for more than it can give, it will complain. But this check uses STEPGEN_MAXVEL, not MAX_VELOCITY, since it is only relevant for stepper systems. Regards, John Kasunich - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Andy Holcomb wrote: > > John Kasunich wrote: >> Andy Holcomb wrote: >>> On EMC1, I was running Axis speeds of more than 120ipm, I can't get EMC >>> 2 past around 60. I am running a 1.6 ghz computer. >> Steppers or servos? > Steppers >> >> What step frequency does your machine need to get 120ipm? You didn't answer this one. >> >> What is your BASE_PERIOD? (It needs to be high enough to generate the >> needed step frequency.) > On Emc 1 you lowered the base_period, you have stated "high enough", has > EMC2 changed this? My base_period is currently at 11000 I can't go any lower Sorry, I was thinking in terms of frequency, not period. 11000 is pretty fast. Assuming you don't have any special timing requirements, that means you can generate one step every 22uS, or 45,000 steps per second. Since you didn't say how many steps you need to reach the desired speed, I don't know if the problem is: A) you need 60,000 steps/sec (ain't gonna happen), or B) you need 30,000 steps/sec, and we need to figure out why you aren't getting that many. I'm going to assume B - EMC2 is unlikely to be significantly slower then EMC1 when properly configured. >> Have you seen any error messages, or does it just not go fast enough? > Yes, example "Joint 0 following error" Following errors should never happen on a properly configured stepper system. I don't know what version you are running - 2.1.4 is the latest, but any 2.1.x should be fine for this particular issue. If you have something older please say so. Pre-2.1 versions would give following errors if EMC is configured for a speed that the computer can't deliver. 2.1.0 and later should print an error message at startup if you ask for more than the computer can give. Do you have adequate stepgen headroom? The following snippet is from the sample config "stepper_inch.ini": > MAX_VELOCITY = 1.2 > # NOTE: the step generator module applies its own limits to > # acceleration and velocity. We have discovered that it needs > # to have a little "headroom" over the accel by the trajectory > # planner, otherwise it can fall slightly behind during accel > # and later overshoot as it catches up. In the long term we > # hope to come up with a clean fix for this problem. In the > # meantime, please set STEPGEN_MAXACCEL below to a few percent > # higher than the regular acceleration limit MAX_ACCELERATION > MAX_ACCELERATION = 20.0 > STEPGEN_MAXVEL =1.4 > STEPGEN_MAXACCEL = 21.0 MAX_VELOCITY of 1.2 inches per second means 72 ipm. For 120 ipm, you need to set MAX_VELOCITY to 2.0, and you need to set STEPGEN_MAXVEL to something higher than 2.0, perhaps 2.2. If you don't do that you will get following errors. Regards, John Kasunich - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
John Kasunich wrote: > Andy Holcomb wrote: >> On EMC1, I was running Axis speeds of more than 120ipm, I can't get EMC >> 2 past around 60. I am running a 1.6 ghz computer. I don't know how >> much memory, will memory cause this or is it the computer? > > Memory is unlikely to be the problem. Its hard to answer such a vague > question. Most likely the problem is misconfiguration, but more info > is needed: > > Steppers or servos? Steppers > > Assuming it is steppers: > > What step frequency does your machine need to get 120ipm? > > What is your BASE_PERIOD? (It needs to be high enough to generate the > needed step frequency.) On Emc 1 you lowered the base_period, you have stated "high enough", has EMC2 changed this? My base_period is currently at 11000 I can't go any lower > > Have you seen any error messages, or does it just not go fast enough? Yes, example "Joint 0 following error" > > Regards, > > John Kasunich > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Andy Holcomb wrote: > On EMC1, I was running Axis speeds of more than 120ipm, I can't get EMC > 2 past around 60. I am running a 1.6 ghz computer. I don't know how > much memory, will memory cause this or is it the computer? Memory is unlikely to be the problem. Its hard to answer such a vague question. Most likely the problem is misconfiguration, but more info is needed: Steppers or servos? Assuming it is steppers: What step frequency does your machine need to get 120ipm? What is your BASE_PERIOD? (It needs to be high enough to generate the needed step frequency.) Have you seen any error messages, or does it just not go fast enough? Regards, John Kasunich - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Axis speed slower on Emc2 than Emc1
Take a look at this http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration sam - Original Message - From: "Andy Holcomb" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Wednesday, March 28, 2007 3:11 PM Subject: [Emc-users] Axis speed slower on Emc2 than Emc1 > On EMC1, I was running Axis speeds of more than 120ipm, I can't get EMC > 2 past around 60. I am running a 1.6 ghz computer. I don't know how > much memory, will memory cause this or is it the computer? > > Andy > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Axis speed slower on Emc2 than Emc1
On EMC1, I was running Axis speeds of more than 120ipm, I can't get EMC 2 past around 60. I am running a 1.6 ghz computer. I don't know how much memory, will memory cause this or is it the computer? Andy - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users