I wondered how much effort there was in adding a new hal type. PCW has mentioned a string type would be helpful or him so If I were to dive in and add one type, it would not be hard to add an s64 as well. How hard would it be do you think to do that? I did have a bit of a peek at the source... It seems to touch a fair bit of stuff but not that hard I thought.
How long a string could we handle on a servo thread comfortably? Rod Webster *1300 896 832* +61 435 765 611 VMN® www.vmn.com.au On Sun, 26 Apr 2020 at 10:05, andy pugh <[email protected]> wrote: > On Sat, 25 Apr 2020 at 23:21, Jon Elson <[email protected]> wrote: > > > Well, there doesn't seem to be a hal type for signed 64 bit > > integer! That seems to make what > > I'm trying to do impossible, unless I missed it (meaning > > that the full 64-bit signed integer raw count > > would be exported as a hal pin (mostly for me to test the > > thing!)) > > No, there is no 64-bit HAL pin to export the count on. > The point of using the 64 bit internal counter is so that the > floating-point position that is calculated from counts is reliable. > > And then it only really matters for spindles, rather than axes. > Just about the only application where I can imagine is mattering would > be a hobbing machine that runs for days on end. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers > _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
