Ok, I verified the pin and changed the line in the HAL to: net mpg_count hm2_5i25.0.7i76.0.0.enc0.count => axis.0.jog-counts axis.2.jog-counts axis.1.jog-counts
With halcmd I can show hm2_5i25.0.7i76.0.0.enc0.count and see it go to 1 briefly when spinning the MPG, so it looks like the signal is getting in ok but I'm still not getting any axis movement. ------Original Mail------ From: "Peter C. Wallace" <p...@mesanet.com> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> Sent: Wed, 29 Oct 2014 11:13:06 -0700 PDT Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76 On Wed, 29 Oct 2014, p...@wpnet.us wrote: > Date: Wed, 29 Oct 2014 12:57:50 -0500 > From: p...@wpnet.us > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76 > > hm2_5i25.0.encoder.00. is the hardware high speed encoder? > hm2_5i25.0.encoder.01. is not the low speed encoder? hm2_5i25.0.encoder.01 is the spindle encoder for the second 7I76 (assuming you are using a 7i76x2 config) hm2_5i25.0.7i76.0.0.enc0 is the first MPG encoder (it may have a different name in master) best thing for checking is to list all the pins with halcmd show pins > pinlist.txt when linuxcnc is running > > I've been looking through all the HostMot2 docs I can find including the > section on encoders and it's not very clear to me. > > http://www.linuxcnc.org/docs/2.6/html/drivers/hostmot2.html#_encoder > > The PNCConf seems to think hm2_5i25.0.encoder.00. is the high speed spindle > encoder input, so i presumed that when set to mode2 the low speed encoder > inputs GPIO 16..19 would occupy the next two encoder instances. > > The only reference to the low speed encoder inputs I've found is the sentence > or two on pg.18 of the 7i76man.pdf you pointed out. Surely there is a more > detailed explanation of this somewhere? > > > > ------Original Mail------ > From: "Peter C. Wallace" <p...@mesanet.com> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Sent: Wed, 29 Oct 2014 10:43:46 -0700 PDT > Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76 > > On Wed, 29 Oct 2014, p...@wpnet.us wrote: > >> Date: Wed, 29 Oct 2014 12:29:53 -0500 >> From: p...@wpnet.us >> Reply-To: "Enhanced Machine Controller (EMC)" >> <emc-users@lists.sourceforge.net> >> To: emc-users@lists.sourceforge.net >> Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76 >> >> http://wpnet.us/Harrison2.ini >> http://wpnet.us/Harrison2.hal >> > > The problem I see is the the mpg is connected to the spindle encoder on P2 > (channel 1) not the mpg encoder on the 7i76 field I/O > > > > 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 > 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