On Wednesday 24 September 2014 05:30:19 andy pugh did opine
And Gene did reply:
> On 24 September 2014 09:29, Gene Heskett <[email protected]> wrote:
> > How hard is it to add another keyword display pin to either
> > iocontrol, or to motion, so that when multi-speed or multi-gear
> > headstocks (both of my machine have 2 speed heads) so that the
> > status of the gear changing can be both displayed, and controlled by
> > a checkbutton like the coolant stuff is now?
> 
> It sounds like you are asking for controller pins, but what you really
> want are GUI controls, so your question is rather confusing me.
> 
> The "motion" module knows nothing about your gearbox, so pins into
> motion wouldn't really help.
> 
> There are a number of solutions to mutiple-gear headstocks, including
> the sistributed "gearchange" the significantly more useful "spindle"
> from Les Newel (which handles more than 2 gears) and my own approach
> of detecting gear by the ratio of input and output speeds and
> selecting gains automatically.

Did you send me that?  someone did post something to pastebin, and I tried 
to study it, but first had to gather up the name that pastebin called it 
with mv, and rename it to something linux could find.  From that, I  see:

net spindle-running-in-high-range => gearchange.0.sel

But no clue as to what drives "spindle-running-in-high-range"

And it won't work in reverse without abs'ing its input and using the 
abs.is-negative output to switch in a gain of -1.000 someplace after it, 
feeding a scale/mux2 combo.  Do able of course & might not be any more 
complex than what I have.
 
Gearchange works bass ackward from its man page description, in that the 
'gain' control, labeled scale2, which it says must be 1.0 or more, is 
actually a divisor. So one would be forced to tune the pid in low gear, 
then flip the sel line and try to tune high gear while its probably trying 
to run 2200 revs, which it is not capable of by almost 1000 rpms.  For me, 
that's counter-intuitive.

I have since cobbled together a scale instance, a mux2 instance, and a 
limit3 instance, all addf'd in the proper order that works quite well.  I 
think to make it perfect, I would need to do the scale/mux2 poem twice in 
order to apply some of that gain offset to the friction/stiction value I 
am feeding into the pid bias to bring the < 150 rpm speeds into line.  
That of course needs a sign change when in reverse, and that is what I am 
doing.  But it needs more "push" in high gear than in low.

And this "spindle" module seems to be something I'll need to download and 
build, but I've no clue where to get it.  It is not part of the 
distribution.  URL please.

> Any of these could be linked to a PyVCP panel in the GUI of your
> choice.

Which is something I may need to ask questions about.  The integrator pdf 
say's that glade is the much more capable interface, but due to rebranding 
changes that haven't been made in the tuts, I find I'm asking questions by 
the time I've got to step 3 because the tuts are out of date.

I rather like the round tach, with 2 needles, and could change to that one 
if a gear change button/tally combo could be added, which I think can be 
done, I just don't know how.  Time to study those working examples I 
guess.  Again.

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>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to