> From: russ...@lls.lls.com > To: emc-users@lists.sourceforge.net > Date: Thu, 3 Oct 2013 13:22:08 +0100 > Subject: Re: [Emc-users] Following Error with Steppers > > Quoth Chris Morley..... > > > >> From: Andy Pugh > >> On 2 October 2013 18:26, Russell Brown <russ...@lls.lls.com> wrote: > >> > >> > loadrt abs names= > >> > loadrt lowpass names= > >> > >> This is a stepfconf bug. I can't recall what prompts it. I thought it > >> was fixed. (it tries to load a bunch of components with blank names, > >> and then their pin names collide) > > > >Pncconf bug -but is probably fixed. what version was this made with? > > It's PNCconf Beta 1 (linuxcnc 2.5.3, lucid) > > (the system was built from the ISO on the linuxcnc website) > > FWIW, I just did a: > > git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev > > config,make,source scripts/rip-environment and then ran bin/pncconf. >
Ok thanks. Can you tell me what options you selected? This bug comes from options added or changed. > >> The INI file Z axis max velocity in the INI is a lot higher than the > >> stepgen max velocity in the HAL file. > > > >I'm sure that was hand edited. > > Yes the velocities in the INI file have been hand edited while I was > mucking around (the comments in the file show the various > values/problems). I must admit that I didn't notice the absolute values > in the HAL file... I just changed the INI file as I had with the > vanilla parallel port setup and as the docs suggest was normal practise > after generating the initial config. > Where in the docs did you see this? It is normal but we should mention the problem you have encountered (needing to adjust both) > >> Also, the HAL file is not actually looking in the INI file for the > >> stepgen maxaccel, so ini file settings are not having any effect. > > FWIW, they do effect the AXIS UI by limiting the max jog speeds. The Could be - AXIS looks in the [DISPLAY] section though it may look else where if it doesn't find them in the right place. > > >> (Which version of PNCconf is this? It is making a lot of mistakes). If > >> you look in the HAL file both stepgen accel and velocity are absolute > >> values rather than being sucked out of the INI file. > > > >That is the way it was meant to be. > >PNCconf has no stepgen_max entries. > >If they are there - they are hand edited. > > Ummmm.... maybe I misunderstood what you just said but PNCconf does > generate MAX_VELOCITY and MAX_ACCELERATION in the INI file for each > axis. Yes it does, because the trajectory planner requires it. The HAL file doesn't use this entry and should not. I see you have added a patch to PNCconf with STEPGEN_MAX ETC in it. That is the entry the HAL file will use. They are two different settings. eg MAX_VELOCITY is used by the trajectory planner, NOT the stepgen. There are also multiple max velocity setting for the GUI. The reason PNCconf didn't use the setting is I don't like substitutions in the HAL file. It doesn't use Mesa board name substitutions either. It does use stepgen settings substitutions in the HAL file but only because the tuning program inside of AXIS requires it. But if it makes life easier for beginners then I'm fine with some substitutions. We do need to make sure the manual reflects the changes. The STEPGEN_MAX write up in the manual is from the software stepgens. They sound incorrect for hostmot2 steppers - eg it should say about 20% higher. > > PNCconf also, as Andy rightly observed, puts > hm2_5i25.0.stepgen.XX.maxaccel and hm2_5i25.0.stepgen.XX.maxvel in the > HAL file as absolute values (albeit different to the values in the INI > file; see below). > See above. Chris M ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users