Hey andy. I was just having a play and I can actually just sense the input-index pin directly. With M66 P0 L2 10 I rotate spindle at 5rpm and wait until sensor changes state
Then stop. In my case this is a proxy switch. Not a encoder so I don't have to worry about missing it. Anyway I tried that and it's orientating fine at the moment. And very simple compared to m19 stuff. I'll finish it tomorrow and might make a video to show you guys. On Tue, 8 Nov 2022, 23:15 andy pugh, <bodge...@gmail.com> wrote: > On Tue, 8 Nov 2022 at 04:50, andrew beck <andrewbeck0...@gmail.com> wrote: > > > > > i am using the tristate bit but getting a bit confused on how it works > > > > It only drives the output to the input when enable is true. > > You want to set the indes-enable pin high, and then stop writing to it so > that the rest of the system can do its thing. > > So set input permanently high. > Then toggle enable on and off. > Then rotate the spindle until index-enable is driven false. > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is designed > for the especial use of mechanical geniuses, daredevils and lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > _______________________________________________ > 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