Ok, I added a separate field 5V supply with common ground with the field 24V 
supply. I also fixed a bad connection on the MPG A channel and the count value 
does indeed go up and down with the MPG wheel. What I still don't have is any 
axis movement (keyboard jog works fine). :(



------Original Mail------
From: "Peter C. Wallace" <p...@mesanet.com>
To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
Sent: Wed, 29 Oct 2014 12:55:58 -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 14:50:02 -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
> 
> The encoder is powered from TB3 pin 21 and 23 since it's 5V and field power 
> is 24V. Is it safe to tie the grounds together?

Yes, its safe but possible undesirable as it makes the PC 5V and field power 
ground common so you lose the 24V IO isolation

>
>
> ------Original Mail------
> From: "Peter C. Wallace" <p...@mesanet.com>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Sent: Wed, 29 Oct 2014 12:45:32 -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 14:42:34 -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
>>
>> Both show good in the Tek 'scope with the probes clipped onto the little bit
>> of wire accessible from the screw terminals on the 7i76. Hard to imagine the
>> wire clamped in the screw terminal but not making contact. With LinuxCNC
>> running doesn't it reset that count with each read so it only will show the
>> counts since the last read?
>>
>
>
> A likely culprit is this:
>
> The MPG common must connect to the field power ground
>
>
> (the counter will not be reset unless you specifically clear it)
>
>
>>
>> ------Original Mail------
>> From: "Peter C. Wallace" <p...@mesanet.com>
>> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
>> Sent: Wed, 29 Oct 2014 12:39:08 -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 14:04:00 -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
>>>
>>> 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.
>>>
>>
>> if it does not count beyond 0,1 that indicates that either A or B is not
>> being seen (either a wiring or level issue)
>>
>>>
>>>
>>> ------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
>>>
>>
>> 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
>

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

Reply via email to