> > One caveat, if using backlash comp, I believe the margin goes up to 100%. > At those turnaround speeds, steppers have maximum torque, but I'd also > exercise the heck out of it to make sure I wasn't losing a step from > over pushing it. If that 100% makes it lose a step, then I'd reduce the > maxvel and/or max_accel. Max_accel first.
Hello Gene, Don't forget I'm running servos not steppers. But yes, I'm running them in step+dir mode. This is the first time I'm using a servo with this control method so I really don't know what could happen if a commanded movement cannot be achieved. I suppose the servo will trigger an overload alarm or something like that. I plan to swtich to analog mode sometime in the near future because it's a better control method in my opinion. But for now we had to go with the open loop config because we were really short of time. I didn't play with backlash compensation yet, I'll be tunning that this monday and tell you how it goes. I'm pretty anxious about cutting some lobes in that lathe :). El sáb., 25 abr. 2020 a las 20:20, Gene Heskett (<[email protected]>) escribió: > On Saturday 25 April 2020 18:26:45 Leonardo Marsaglia wrote: > > > So I should set the MAX_VELOCITY and MAX_ACCELERATION variables from > > [JOINT_N] and [AXIS_N] up to 25% higher than the same variables in the > > [TRAJ] section of the INI file right? > > > > And from what the pncconf ini says in the comments, the STEPGEN_MAXVEL > > and STEPGEN_MAXACCEL variables should be also 25% higher than > > MAX_VELOCITY and MAX_ACCELERATION is that correct? > > > One caveat, if using backlash comp, I believe the margin goes up to 100%. > At those turnaround speeds, steppers have maximum torque, but I'd also > exercise the heck out of it to make sure I wasn't losing a step from > over pushing it. If that 100% makes it lose a step, then I'd reduce the > maxvel and/or max_accel. Max_accel first. > > > > > > El sáb., 25 abr. 2020 a las 19:07, Peter C. Wallace > > (<[email protected]>) > > > > escribió: > > > On Sat, 25 Apr 2020, Gene Heskett wrote: > > > > Date: Sat, 25 Apr 2020 17:09:33 -0400 > > > > From: Gene Heskett <[email protected]> > > > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > <[email protected]> > > > > To: [email protected] > > > > Subject: Re: [Emc-users] Help with some sporadic followin errors > > > > > > > > On Saturday 25 April 2020 17:04:50 Peter C. Wallace wrote: > > > >> On Sat, 25 Apr 2020, Leonardo Marsaglia wrote: > > > >>> Date: Sat, 25 Apr 2020 16:53:40 -0300 > > > >>> From: Leonardo Marsaglia <[email protected]> > > > >>> Reply-To: "Enhanced Machine Controller (EMC)" > > > >>> <[email protected]> > > > >>> To: "Enhanced Machine Controller (EMC)" > > > >>> <[email protected]> Subject: [Emc-users] Help with > > > >>> some sporadic followin errors > > > >>> > > > >>> Hello to all, > > > >>> > > > >>> We've almost finished to wire and configure the mazak to work > > > >>> with LCNC. So far, joint movements and homing are working > > > >>> flawlessly. I'm using servos in step+dir mode so no real > > > >>> feedback is coming from the joints of the machine. > > > >>> > > > >>> I happen to have some following erros on both X and Z axis from > > > >>> time to time, mostly when the machine is not homed (but that > > > >>> could be my impression). Anyway, I get the following error once > > > >>> the machine is home too. I cut the servo thread period in half > > > >>> to 500000 ns and it seemed to improve a little but I still get > > > >>> the errors from time to time. > > > >>> > > > >>> I'm posting my HAL and INI files so you can take a look at them. > > > >>> I really don't know what's causing this. By the way, so far I > > > >>> only got the error when jogging the machine by hand, but never > > > >>> with g code. > > > >>> > > > >>> Please let me know if there's something I can do to fix this > > > >>> behaviours. I'll be uploading some videos in a few days. > > > >>> > > > >>> Thanks as always! > > > >>> > > > >>> Leonardo > > > >> > > > >> I would delete the read/write GPIO functions, and set the stepgen > > > >> maxaccel and maxvel to 25% higher than the machine limits (they > > > >> are likely set too close currently) > > > > > > > > Sounds like good advice, but which ini var is considered the > > > > machine speed limits? > > > > > > > > Thanks Peter. > > > > > > The per axis and per joint maxvels > > > > > > > > > > > > Peter Wallace > > > Mesa Electronics > > > > > > > > > _______________________________________________ > > > Emc-users mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > _______________________________________________ > > Emc-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > Cheers, Gene Heskett > -- > "There are four boxes to be used in defense of liberty: > soap, ballot, jury, and ammo. Please use in that order." > -Ed Howdershelt (Author) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/gene> > > > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
