Yes, I know that limitation on the Beaglebone, so I do not expect to 
operate it with a higher resolution encoder (in fact, just one index 
mark fedding phase A and phase Z and using encoder.position-interpolated 
for spindle-revs). I would have the same doubts as you if the G76 and 
G33 did not work as expected. I am not really discussing the quality of 
threading (which might be better using a higher resolution encoder). My 
question was rather why G76 and G33 work fine and G95 not at all.
Karl


Am 09.12.2014 um 15:43 schrieb sam sokolik:
> You are using the hal encoder counter?  On the beagle bone - are you not
> limited to just a servo thread?  1khz?  So you are running all the
> encoder functions in 1 thread.  I don't know how that would work very
> well with the hal encoder counter to calculate velocity.
>
> You might want to look at the signal going to motion.spindle-speed-in.
> It might not be what you are expecting.
>
> sam
>
>
> On 12/9/2014 8:23 AM, Karl Jacobs wrote:
>> Thanks for checking, Sam, and good to know. I'll try sim on my version
>> but I doubt it will be different to my "real world" version. I use the
>> same low-passed spindle encoder velocity  on spindle-speed-in. I'll try
>> to find the difference between the 2.7 and 2.8 code then (or the
>> difference to the machinekit branch).
>> Karl
>>
>> Am 09.12.2014 um 14:36 schrieb sam sokolik:
>>> I don't have 2.7 here..  But in 2.8(master) lathe sim works as expected.
>>>
>>> This short program
>>>
>>> G95
>>> s100m3
>>> g1z4f.001
>>> g0z0
>>> m30
>>>
>>> Z moves to 4" at .1ipm (which seems right 100*.001=.1)
>>> Changing the spindle speed changes the feed.
>>>
>>> Looking at hal in the lathe sim - the motion.spindle-speed-in is hooked
>>> to a low-passed spindle encoder velocity.
>>>
>>> sam
>>>
>>>
>>>
>>> On 12/9/2014 6:38 AM, Karl Jacobs wrote:
>>>> Thanks for the info. If I disconnect spindle-speed-in, G76 and G33 stop
>>>> working too, so they seem to need both signals somehow, but from what
>>>> you say that still does not necessarily mean that G95 must work as well.
>>>> I rather suspect the motion planner. Maybe someone can verify if G95
>>>> works in the non-machinekit linuxcnc version? I will post to the
>>>> machinekit list as well.
>>>> Am 09.12.2014 um 12:24 schrieb andy pugh:
>>>>> On 9 December 2014 at 08:53, Karl Jacobs <[email protected]> wrote:
>>>>>
>>>>>> I can rule out hardware problems of an encoder by using a hal siggen
>>>>>> component to drive the hal encoder inputs (Phase A and Z, counter mode)
>>>>>> to simulate the spindle speed signal. That must be working correctly
>>>>>> because G76 and G33 both give the right result (my X and Z axis
>>>>>> components drive a real lathe so I can watch and check the motions).
>>>>>>
>>>>> G76 and G33 use motion.spindle-revs, and G95 uses motion.spindle-speed-in
>>>>> So, it is possible to have a fully functional G76 and G33 but not have a
>>>>> working G95.
>>>>>
>>>>> It is possible that this is due to the new motion planner.
>>>>>
>>>>> It is also possible that this is a Machinekit-only problem. Machinekit has
>>>>> now diverged considerably from LinuxCNC, and your query should probably be
>>>>> directed to the Machinekit mailing list.
>>>>>
>>>> ------------------------------------------------------------------------------
>>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Emc-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Emc-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Emc-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to