On 30 July 2015 at 15:23, Karlsson & Wang <[email protected]> wrote: > I guess you have start calculation from the encoder counters each time and > then there will be no problem with add up over time.
There is a danger of encoder counters rolling over the signed-32 HAL pin value. (though the counter are internally promoted to 64 bits in all the LinuxCNC counters). Unfortunately the encoder_ratio is not applicable to Mesa / Pico / General Mechatronics / Pluto hardware counters. My hobber uses the floating point position values. There is a danger of loss of precision after many revolutions with this approach, but no risk of rollover-based problems. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
