Re: [Emc-users] Determining scale

2017-11-25 Thread Gene Heskett
On Saturday 25 November 2017 11:48:32 andy pugh wrote: > On 25 November 2017 at 16:19, Gene Heskett wrote: > > Got that running, using rawcounts, but I am not getting an integer > > number for an answer. 14,095.11 for low gear. And 7,161.26 for high > > gear. > > How many counts per rev on the e

Re: [Emc-users] Determining scale

2017-11-25 Thread andy pugh
On 25 November 2017 at 16:19, Gene Heskett wrote: > Got that running, using rawcounts, but I am not getting an integer number > for an answer. 14,095.11 for low gear. And 7,161.26 for high gear. How many counts per rev on the encoder? You do need to factor that in. And gear ratios are typicall

Re: [Emc-users] Determining scale

2017-11-25 Thread Gene Heskett
On Saturday 25 November 2017 08:21:07 Gene Heskett wrote: > On Saturday 25 November 2017 05:59:19 andy pugh wrote: > > On 25 November 2017 at 03:36, Gene Heskett > > wrote: > > > But sitting here thinking as I edit the hal file, (I can get into > > > all sorts of trouble doing that) the encoders

Re: [Emc-users] Determining scale

2017-11-25 Thread jrmitchellj .
I am using a Mesa 7I85S plugged into a 5I25 for the encoder inputs. It can be set to take single ended or differential encoder inputs. Works great! Ray --J. Ray Mitchell Jr. jrmitche...@gmail.com The dogmas of the quiet past, are inadequate to the stormy present. The occasion is piled high wit

Re: [Emc-users] Determining scale

2017-11-25 Thread Gene Heskett
On Saturday 25 November 2017 05:59:19 andy pugh wrote: > On 25 November 2017 at 03:36, Gene Heskett wrote: > > But sitting here thinking as I edit the hal file, (I can get into > > all sorts of trouble doing that) the encoders position value is > > determined by the existing scale factor I belie

Re: [Emc-users] Determining scale

2017-11-25 Thread andy pugh
On 25 November 2017 at 03:36, Gene Heskett wrote: > But sitting here thinking as I edit the hal file, (I can get into all > sorts of trouble doing that) the encoders position value is determined > by the existing scale factor I believe Do your gear ratio calcs based only on counts. -- atp "A m

Re: [Emc-users] Determining scale

2017-11-24 Thread Gene Heskett
On Friday 24 November 2017 12:11:02 John Kasunich wrote: > I'm with Peter that manual turning is simpler. But if you can't turn > it manually, here is a simple HAL approach. This takes advantage of > the fact that a mux2 with its output fed back to one input acts like a > sample- and-hold circui

Re: [Emc-users] Determining scale

2017-11-24 Thread Gene Heskett
On Friday 24 November 2017 14:48:48 andy pugh wrote: > On 24 November 2017 at 19:46, Gene Heskett wrote: > > Do you have anything that small? Maybe like Leonardo's (cnc4pc) C10s > > but with better connectors? > > http://store.mesanet.com/index.php?route=product/product&path=83_87&pr >oduct_id=1

Re: [Emc-users] Determining scale

2017-11-24 Thread Gene Heskett
On Friday 24 November 2017 12:11:02 John Kasunich wrote: > I'm with Peter that manual turning is simpler. But if you can't turn > it manually, here is a simple HAL approach. This takes advantage of > the fact that a mux2 with its output fed back to one input acts like a > sample- and-hold circui

Re: [Emc-users] Determining scale

2017-11-24 Thread Gene Heskett
On Friday 24 November 2017 12:07:29 jrmitchellj . wrote: > JUs for some background: > how is the motor connected to the spindle? Is it V-belts, cog belts, > or gears? > > V-belts would cause me to think twice due to possible slippage > introducing error. > > > Ray > > --J. Ray Mitchell Jr. > jrmi

Re: [Emc-users] Determining scale

2017-11-24 Thread andy pugh
On 24 November 2017 at 19:46, Gene Heskett wrote: > Do you have anything that small? Maybe like Leonardo's (cnc4pc) C10s but > with better connectors? http://store.mesanet.com/index.php?route=product/product&path=83_87&product_id=118 ? -- atp "A motorcycle is a bicycle with a pandemonium atta

Re: [Emc-users] Determining scale

2017-11-24 Thread Gene Heskett
On Friday 24 November 2017 11:04:16 Peter C. Wallace wrote: > Why dont you just make an index mark/pointer on the headstock and > chuck This should be hand settable to less than a degree of chuck > motion then just note the motor encoder count when the chuck is > aligned with the mark and then rot

Re: [Emc-users] Determining scale

2017-11-24 Thread John Kasunich
I'm with Peter that manual turning is simpler. But if you can't turn it manually, here is a simple HAL approach. This takes advantage of the fact that a mux2 with its output fed back to one input acts like a sample- and-hold circuit. Set up one channel of your 5i20 or whatever to count the motor

Re: [Emc-users] Determining scale

2017-11-24 Thread jrmitchellj .
JUs for some background: how is the motor connected to the spindle? Is it V-belts, cog belts, or gears? V-belts would cause me to think twice due to possible slippage introducing error. Ray --J. Ray Mitchell Jr. jrmitche...@gmail.com The dogmas of the quiet past, are inadequate to the storm

Re: [Emc-users] Determining scale

2017-11-24 Thread Gene Heskett
On Friday 24 November 2017 11:04:16 Peter C. Wallace wrote: > Why dont you just make an index mark/pointer on the headstock and > chuck This should be hand settable to less than a degree of chuck > motion then just note the motor encoder count when the chuck is > aligned with the mark and then rot

Re: [Emc-users] Determining scale

2017-11-24 Thread Peter C. Wallace
Why dont you just make an index mark/pointer on the headstock and chuck This should be hand settable to less than a degree of chuck motion then just note the motor encoder count when the chuck is aligned with the mark and then rotate the motor until the chuck has turned say 20 turns. This should

Re: [Emc-users] Determining scale

2017-11-24 Thread Gene Heskett
On Friday 24 November 2017 09:22:42 andy pugh wrote: > On 24 November 2017 at 13:20, Gene Heskett wrote: > > Because I do not know the gear ratio(s) that exists between the > > motor, where this new encoder is now driven from, and the spindle, I > > want to setup a temporary count=true condition

Re: [Emc-users] Determining scale

2017-11-24 Thread andy pugh
On 24 November 2017 at 13:20, Gene Heskett wrote: > Because I do not know the gear ratio(s) that exists between the motor, > where this new encoder is now driven from, and the spindle, I want to > setup a temporary count=true condition in the spindle encoder so that I > can determine the number o

Re: [Emc-users] Determining scale

2017-11-24 Thread Gene Heskett
On Friday 24 November 2017 05:21:23 andy pugh wrote: > On 24 November 2017 at 05:43, Gene Heskett wrote: > > But w/o a sample at base-thread speeds, its not going to be possible > > to measure the software encoder because at servo-thread speeds, > > several A pulses could go by between servo-thr

Re: [Emc-users] Determining scale

2017-11-24 Thread andy pugh
On 24 November 2017 at 05:43, Gene Heskett wrote: > But w/o a sample at base-thread speeds, its not going to be possible to > measure the software encoder because at servo-thread speeds, several A > pulses could go by between servo-thread samples. So it looks as if I'll > have to set hm2_5i25.0.c

[Emc-users] Determining scale

2017-11-23 Thread Gene Heskett
Greetings all; Got a puzzle because with the 5i25, I have no base-thread. But w/o a sample at base-thread speeds, its not going to be possible to measure the software encoder because at servo-thread speeds, several A pulses could go by between servo-thread samples. So it looks as if I'll have