yep - andy is a genius... (and halscope is really cool..) I triggered on the rising edge of the index enable and put it one rotation back.. You can see the position is counting up by .01 each time by the steps. Then the gap happens and the next step is .02 so the rotation position ends at 1...
https://electronicsam.com/images/emco/Screenshot%20from%202022-09-18%2020-55-28.png On Sun, Sep 18, 2022 at 6:48 PM Sam Sokolik <samco...@gmail.com> wrote: > ok.. It might be working? I made a hal component that would set index > enable to true after so many encoder counts. I set it to 998 (<10 > rotations) to set the index enable to true.. and the encoder position was > 9.98... > > so it isn't losing every rotation. so I 'think' it is working right... > > > https://electronicsam.com/images/emco/Screenshot%20from%202022-09-18%2018-41-42.png > > sam > > On Sun, Sep 18, 2022 at 5:54 PM Ed <ate...@mwt.net> wrote: > >> On 9/18/22 5:24 PM, Martin Dobbins wrote: >> > Er 100 minus 2 (the holes you cut metal between is 98? >> >> He cut out the metal between two holes to make 99 holes, one being twice >> as wide as the rest. Did I follow that right? >> >> > ________________________________ >> > From: Ed <ate...@mwt.net> >> > Sent: Sunday, September 18, 2022 4:53 PM >> > To: emc-users@lists.sourceforge.net <emc-users@lists.sourceforge.net> >> > Subject: Re: [Emc-users] missing tooth index questions.. >> > >> > On 9/18/22 3:50 PM, Sam Sokolik wrote: >> >> I have a optical encoder from a mouse running on an emco encoder wheel >> (100 >> >> holes). I cut out the metal between 2 holes. I think that would be >> >> considered one missing tooth... I have the encoder scale set to 100 >> and >> >> >> >> >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users