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 > (<p...@mesanet.com>) > > escribió: > > On Sat, 25 Apr 2020, Gene Heskett wrote: > > > Date: Sat, 25 Apr 2020 17:09:33 -0400 > > > From: Gene Heskett <ghesk...@shentel.net> > > > Reply-To: "Enhanced Machine Controller (EMC)" > > > <emc-users@lists.sourceforge.net> > > > To: emc-users@lists.sourceforge.net > > > 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 <ldmarsag...@gmail.com> > > >>> Reply-To: "Enhanced Machine Controller (EMC)" > > >>> <emc-users@lists.sourceforge.net> > > >>> To: "Enhanced Machine Controller (EMC)" > > >>> <emc-users@lists.sourceforge.net> 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 > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > 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 Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users