On 7/29/15 6:55 AM, Jullian wrote: > Hi, all: > > Now, i am reading the stepgen.c file, and i have some doubts: > > (1)what're the main steps to transform from the position offset to pulses?
The best description of how stepgen.c does is probably the source, and this documentation: http://linuxcnc.org/docs/2.6/html/hal/rtcomps.html#sec:Stepgen > (2)what's the main effect of make_pulse() , update_freq() and update_pos()? That's described in the doc I linked above, and also in the manpage. Do you have a more specific question? > (3)can anyone explain the meaning of Line748:(accum_a-(1<< (PICKOFF-1))) I'm not sure about this one. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers