On Tue, Aug 18, 2015, at 09:53 PM, Jullian wrote:
> 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!

There will always be an error of up to one step.  That is a fundamental
mathematical truth - when you convert numbers into integers, there will
be rounding to the nearest integer.

When you build a machine you must select the step size.  If you need
0.1mm accuracy you must build a machine with a step size significantly
smaller than 0.1mm.

Very few real achines have step sizes larger than 0.025mm.  Most
are closer to 0.002mm.  So the error due to integer steps is very small.


-- 
  John Kasunich
  [email protected]

------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to