Trying to get a clue about the stepgen values. Confused by different docs from the wiki. Excerpts included below. I have installed EMC 2.2.1 from latest Live CD.
Excerpt1 seems to use base-periods for the values, excerpt2 says nanosecond units. Is excerpt1 from old, not-updated documentation? If I wanted to apply the changes illustrated in excerpt1 to a 2.2.1 system, would I use "dirhold 30000" ? And according to paragraph 2 of excerpt2, would "stepspace 2000" give me 2 microseconds between steps? Thanks, Emory <excerpt1> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?TweakingSoftwareStepGeneration 1.4. Use steplen, stepspace, dirsetup, and/or dirhold <snip> We need another 15uS. Since the period is 16uS, we need one more period. So we change dirhold from 1 to 2. Now the minimum time from the end of the step pulse to the changing direction pin is 5+16=21uS, and we don't have to worry about the Gecko stepping the wrong direction because of latency. </excerpt1> <excerpt2> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UPDATING#stepgen_and_freqgen_changes 1.3. stepgen and freqgen changes The units for steplen, stepspace, dirsetup, and dirhold have been changed from BASE_PERIOD units to nanosecond units. Internally, the values given are rounded up to a multiple of BASE_PERIOD, and at runtime the parameters are changed to display the rounded up value. <snip> In step modes 0 and 1, setting stepspace to 0 will allow "step" (or "up/down") to be asserted on every invocation of make-pulses. Use a stepspace value of 1 to signify "the smallest nonzero stepspace". </excerpt2> -- Emory Smith [EMAIL PROTECTED] http://defoliants.googlepages.com ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
