just confirming that I hava a 265ohm resistor between ground and the encoder index input
On Fri, Jul 9, 2021 at 4:39 PM Peter C. Wallace <p...@mesanet.com> wrote: > On Fri, 9 Jul 2021, andrew beck wrote: > > > Date: Fri, 9 Jul 2021 16:21:05 +1200 > > From: andrew beck <andrewbeck0...@gmail.com> > > Reply-To: "Enhanced Machine Controller (EMC)" > > <emc-users@lists.sourceforge.net> > > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net > > > > Subject: Re: [Emc-users] spindle orientation help for a 7i77 card > looking for > > configs to study > > > > hey Peter > > > >using a 7i77 mesa card > > > >I just tried my PNP sensor now i have wired up the ground and 5v correctly > >and have the signal wire into the pin 7 which is the index channel. I > >have also changed the jumper for the index channel to single ended > >operation. > > > >it doesn't work... what am I doing wrong? > > > >also I am testing by using the command setp hm2 7i92 > >encoder.03.index.enable 1 (etc command probably is wrong here as I am > >working from memory but it changes the pin color in hal configurator) > > > > > > > > > > > >I can see the proxy is switching as the led turns off and on at the back > of > >the thing > > > >for reference here is the link to the proxy I am using > > > > > https://www.aliexpress.com/item/32867535621.html?spm=a2g0s.9042311.0.0.3a3b4c4d5BJjid > > > >On Thu, Jul 8, 2021 at 7:37 AM Peter C. Wallace <p...@mesanet.com> wrote: > > > > I would check the prox voltage ouput voltage in both states > > You can check the index state directly in hal by monitoring > hm2_7i92.0.encoder.0N.input-index (N is the encoder channel > you are testing) I think this is inverted from the pin state. > > Note that if you do not have the stiff (270 Ohm or so) pull down > resistor, the prox output will always be high (around 5V) > > Peter Wallace > Mesa Electronics > > > _______________________________________________ > 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