peter you found it lol! I have the spindle turned on by a standard output from the 7i77 card anyway so didn't check that the spindle enable signal was turning on the hm2_5i25.0.7i77.0.1.spinena pin
i just went through it again and double checked stuff and netted the spinena pin also and it works. I didn't realise that the analog out value only works if the spinena is on. but I know now so next issue is I have a 5v pnp prox that I want to put on the spindle for a index sensor as my motor/gearbox ratio is not 1-1. PCW can I use a 5v pnp sensor straight into the 7i77 encoder input same as I would do with the field io? ps john. I will add post up my config once I have it working real nice for everyone to copy. anyone that has a 7i77 card should be able to just plug in and get spindle orientation so long as they have a suitable vfd regards Andrew <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> On Wed, Jul 7, 2021 at 3:38 AM Peter C. Wallace <p...@mesanet.com> wrote: > On Tue, 6 Jul 2021, andrew beck wrote: > > > Date: Tue, 6 Jul 2021 18:35:26 +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: [Emc-users] spindle orientation help for a 7i77 card looking for > > configs to study > > > > hey everyone. > > > > i have been messing around all day with my cnc mill trying to get spindle > > orientation working so that I can get my toolchanger working > > > > > > > > I found a video on youtube from Tallas83 that showed what I want to do > but > > he used a 5i20 card and 7i33 and I am having trouble converting it to a > > standard 7i77 mesa card set up. > > > > > > https://www.youtube.com/watch?v=EoXoOYSFY2Q > > > > > > I got it to load the new config eventually had to change all the motion > > pins to spindle.0 stuff but still getting a bit stuck when I issue a m19 > r0 > > command the spindle locks but doesn't rotate. and I can see on my vfd > that > > the frequency reference is not getting through even though in the hal > > configuration the hm2 analog 05 output is showing a value. If I switch > > back to my old config it fires right up so hardware is fine. > > > > > Is hm2_5i25.0.7i77.0.1.spinena true? > (analog out 5 has a separate enable) > > > > > > > does anyone out there have this working that can help. I don't need too > > much hand holding I think and I have played with linuxcnc for several > years > > now. just getting stuck up against a wall. > > > > regards > > > > Andrew > > > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > 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