On Fri, Apr 26, 2013, at 03:42 PM, Andy Howell wrote: > Hello, > > After upgrading from 2.4.6(?) to 2.5.2, I'm getting a following error > on my Z axis. This > is a open loop stepper setup. The only way I could fix this is by setting > MIN_FERROR=1. > Previously is was 0.01. > > The SCALE for Z is twice that of X and Y. I tried reducing the MAX_VELOCITY > from 2.5 to > 1.0, but that didn't seem to help. > > I'm using the Gecko 540 controller. > > I noticed that the sample Gecko_540B3.hal dirHold and dirSetup are much > different from my > config: > > setp stepgen.2.position-scale [AXIS_2]SCALE > setp stepgen.2.steplen 1 > setp stepgen.2.stepspace 0 > setp stepgen.2.dirhold 15200 > setp stepgen.2.dirsetup 15200 > > My .hal has: > > setp stepgen.2.position-scale [AXIS_2]SCALE > setp stepgen.2.steplen 1 > setp stepgen.2.stepspace 1 > setp stepgen.2.dirhold 2 > setp stepgen.2.dirsetup 1 > > Any idea why the behavior changed with the upgrade?
Long ago, the steplen, stepspace, dirhold, and dirsetup parameters were in units of "thread periods", in other words, if your base thread was 25uS, then "dirhold 2" meant 50uS. Changing the period would require you to change your config. Now, those parameters are in units of nanoseconds, and don't need to be adjusted when you modify the thread period. You should change your values to nanoseconds. -- John Kasunich jmkasun...@fastmail.fm ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users