On Monday 03 February 2020 22:55:04 Jon Elson wrote:

> On 02/03/2020 08:25 PM, Jon Elson wrote:
> > On 02/03/2020 06:46 PM, andy pugh wrote:
> >> Is he using a 64-bit kernel? The size of integers might
> >> have changed.
>
> Yes, the customer reports it IS a 64-bit kernel, and the
> logic there can't be expected to work
> right on a 64-bit long variable.  I'll have to set up a test
> system here and then study the
> logic to figure out the best way forward.  The dumb way is
> to just change the longs to
> uint32_t, but there might be good reason to upgrade these
> variables to properly extend and
> rollover the 24-bit hardware counter to the full 64-bit
> integer before converting to real.
> I don't know if there's anybody out there with table travel
> that exceeds a 32-bit integer
> encoder count.

Neither do I, even the big cinci's x shouldn't, but I've got an encoder 
on the G0704 that could on a long enough job, the scale in low gear is 
effectively a bit over 14,000/rev in low gear.

Question is, would I recognize the blip when it did over flow?

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


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


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

Reply via email to