On Fri, 3 Apr 2009, Steve Blackmore wrote: > Date: Fri, 03 Apr 2009 21:23:41 +0100 > From: Steve Blackmore <st...@pilotltd.net> > To: emc-users@lists.sourceforge.net > Subject: [Emc-users] Home made spindle encoder question. > > My lathe has a 100 slotted disc on the spindle, with one opto switch > fitted so far, the slot for that is longer than the others and gets me > one pulse per rev. It works fine to 3500 rpm as a rev counter. I want to > add two more opto's to get me an A and B channel to enable spindle > control for threading under EMC. Motor reverse is essential too. > > Are there any specifics as to the positioning of the opto's in relation > to each other? Do they need to be only a few slots apart, or more? I > think that the A & B need to be 1/2 slot out of sync - is that correct?
Yes, 1/2 slot (90 degrees) OPTOSs can be N+1/2 slots apart, but on same slot is probably better for minimizing quadrature distortion (and possible miscounts) due to errors in your wheel > > Thanks > > Steve Blackmore > -- > > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users