Just checked that. State 1=5v state 2 =0v What else should I check?
On Fri, Jul 9, 2021, 4:54 PM Peter C. Wallace <p...@mesanet.com> wrote: > On Fri, 9 Jul 2021, andrew beck wrote: > > > Date: Fri, 9 Jul 2021 16:49: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 > > > > also just confirming that the > > > > hm2_7i92.0.encoder.03.input-index doesn't change state. > > > > I can see a few options to change. > > > > should I change to the IDX/ input? > > > > or should I change the value of resistor? > > > You should measure the voltage at the prox output/index input > in both states. It should be lower than .7V in one state and > higher than 3V in the other. > > > > > > regards > > > > Andrew > > > > On Fri, Jul 9, 2021 at 4:46 PM andrew beck <andrewbeck0...@gmail.com> > wrote: > > > >> 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 > > > > 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 > _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users