On Monday 27 February 2017 05:02:29 andy pugh wrote:

> On 27 February 2017 at 03:27, Gene Heskett <ghesk...@shentel.net> 
wrote:
> > So for this use, it resembles those appendages on the belly of a
> > boar hog in usefulness.
>
> Maybe it would help if you explained what you are trying to use it
> for.

Humm, I thought I had laid it out in prior messages, maybe not clear 
enough. My mind has been known to skip a whole paragraph when its 
occupied by the actual typing.  I am not a touch typist with my fingers 
running automatically in pace with my thoughts.

What I wanted was a binary counter, whose individual bitN outputs could 
drive the selN lines of a mux16, thereby selecting the gain to be 
applied to the jogwheel output. My plan is to use the nibble sized 
output, plus a sign bit, so I theoretically could have 16 speeds in 
either direction, with a spst button right beside the dial to switch 
from driving motions jog input, to moving the gain control counter one 
step per dial click when the button is pushed, this to scale the counts 
obtained when the button isn't pushed. Using a mux16 to select the gain 
multiplier on a 1,2,5 repeating sequence, allowing both very fine 
response of one motor microstep step per detent of the dial, up to 
faster than the machine can move with relatively few "clicks" of the 
dial wheel.

I plan to display the state of the speed settings with a pair of hbars in 
pyvcp.  But that bit of pyvcp/xml hasn't been written yet.

Last night, with only one eye open, I read lots more manpages, and it 
looks like I might be able to achieve this 4 bit mux16 address with 
bitslice and some limiting to keep the value of a u32 in-range, using 
similar logic to inc/dec the u32.

Write & test when I've input enough coffee to get both eyes open at the 
same time. I just woke up, got us each a cuppa, and I'll see what my 
lady, recovering from a hip replacement 3 weeks ago tomorrow, wants for 
breakfast, next, while a new pot is making, this was yesterdays cold and 
nuked leftovers.

She is getting around on a walker pretty good now, but there's still a 
bunch of distracting honeydo's a day too.

I don't recommend getting old Andy, it is not all its promoted to be by 
AARP.  Avoid it if you can. But its catching up with us, darnit. ;-/

Thanks Andy.

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)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to