On 05/10/2014 07:46 PM, Erik Friesen wrote:
> I would like my machine to not only wait for the spindle to come up to
> speed, but have it stop if the vfd has an error.  I am reading the analog
> output from the vfd.  I have looked at using Spindle-at-speed, but it only
> appears to check at the start of the program.  Is there a better way to do
> this?

Include vfd failure in your estop chain.

Ie, when the vfd's spindle-at-speed pin goes low, drive the
iocontrol.0.emc-enable-in low.

You may need some logic to have this only happen while the machine is
trying to execute a commanded motion, perhaps while motion.in-position
is false?  I'm not really sure about this part.

See here for some possibly helpful details:

http://www.linuxcnc.org/docs/2.6/html/man/man1/io.1.html
http://www.linuxcnc.org/docs/2.6/html/man/man9/motion.9.html

-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to