On 10/27/2009 03:27 PM, Chris Radek wrote: > On Tue, Oct 27, 2009 at 02:54:53PM -0500, Mark Cason wrote: > > >> OK, here come stupid question of the day... >> >> Why does it matter if the encoder tells the computer which direction >> the spindle is turning?? Or is this just a side effect of quadrature. >> > For lathe threading you don't need to know it. For tapping you > do. > That part I understand, but, if a spindle is under computer control, then the computer should already know which direction the spindle is turning, right?
If the spindle is under manual control, then the operator should set the spindle direction based on whichever direction is required by the job. The only reason I can see for having the encoder telling the computer it's direction, is so that some sort of error can be set, if the direction is not consistent with the direction set in the gcode (hardware/operator/gcode fault). Can this be done in HAL?, or am I making a mountain out of a mole hill again. I'm not trying to start a argument, I'm just curious. My machines are in various stages of being partially-built, and I'm just trying to make my machines as safe, and idiot proof as possible. --------------------------------------------------------- Ne M'oubliez ---Family Motto Hope for the best, plan for the worst ---Personal Motto (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users