thanks for all the replies.

but i still cannot catch the point.

is gene heskett meaing that the resolution is high so as to the err can be
ignored?

is there any other's idea?


>> Hi,
>> In the pulse generating mechnism, where's the code processing step
losing?
>>
>>
>> for example, if 1mm refering one pulse, then 3.3mm will generate 3 or 4
>> pulse? and if 3 pulse, we lose 0.3 mm, if 4 pulse, we do more 0.7mm.
>>
>> how do we compensate this, where's the code about solving this problem?
>>
>> Best regards!
>>
------------------------------------------------------------------------------
>> _______________________________________________
>> Emc-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> See line 925 of stepgen.c.  I'm unsure if it rounds or truncates to the
nearest integer when it converts units into counts.  Regardless, there is
no accumulation of loss of precision.  The worst there error can ever be is
1/2 of the count scale factor.
>
> Brian
> --------------------------------------------------------------------
------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to