On Tuesday 14 March 2017 22:13:01 Jon Elson wrote:

> On 03/14/2017 07:15 PM, Gene Heskett wrote:
> > Greetings everybody;
> >
> > In doing this rewrite, I find a need for a reverse s32 mux, where I
> > can take a single s32 value and steer it to one target or another.
>
> There is a select8 standard component.  If you really need
> 32 outputs, you could use select8 as your base,
> expand to 32-wide, and then have it pass the input to the
> selected output, instead of sending just a constant 1 to the
> selected output.  The value input and outputs need to be
> float instead of bits.  select8 is all of 19 lines of code,
> it should be fairly easy to see how it works.
>
> here's a link to the source code :
> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/compone
>nts/select8.comp
>
> Jon

That looks as if it could be modified to handle s32's, rebuilt & 
installed. But Kurt sent me a mux2 source that handles s32's, it built 
and installed once I had undone the line wrap damage email did to it, so 
I believe it might be the magic twanger I need.  My coffee hasn't kicked 
in yet, but I should know in a couple hours when it does.

Thanks jon.

Secondary Q, for whoever knows: I am being plagued with joint following 
errors, even for tiny movements, smaller than the error tolerances set 
in the .ini file..  Is a limit3 limiting the acceleration the fix for 
that?

Related Q: Is there an accel limit in the .ini file that applies to a 
jog-count or jog-scale input? Or are the jog-inputs movements limited 
only by the axis MAX_VEL? In which case I'd need a limit3's Alimit, 
loaded by one of the max_vel's from the ini file?

Coffee still hasn't gone to work yet. But I made a fresh pot and I'd 
better see what my lady wants for breakfast.

Thanks everybody.

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