Greetings everybody;

I have the power logic all hooked up and working in both directions now, 
but no stop interlocking to prevent a premature on state while its still 
spinning the other other direction, yet.

And I have added an instance of oneshot watching the Phase-A pin, which 
will remain triggered until the spindle is within say 1 degree of stopped.

I think I can combine this all in a lut5 module but haven't yet worked out 
the truth table for that.  For me, that is an excedrin headache.

I am looking at this line in my .hal file:

net spindle-enable motion.spindle-on pwmgen.0.enable pid.0.enable

with an eye toward breaking the logic path between motion.spindle-on
and pwmgen.0.enable.

But something in the back of my mind says that would allow the other 
circuits that are timing the accels to charge up and hit the motor with max 
power if I held it off for long enough that a oneshot watching Phase-A to 
time out (0.1 second=stopped) and re-enable things.

The only hold input to motmod says it stops and disables the whole MaryAnn, 
requiring a manual restart, so that is not usable for braking timing.  Is 
there a motion.N.pause that will allow things to resume that I don't know 
about?

Failing that, whats the next better idea than mine above?

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
My views 
<http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml>
A man is already halfway in love with any woman who listens to him.
                -- Brendan Francis
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to