( Solved ) Mesa 7i76 encoder problem

More
28 Jul 2020 13:13 #176242 by Clive S
Replied by Clive S on topic ( Solved ) Mesa 7i76 encoder problem

It could also be a 5I25 or cable problem


I have re seated the 5i25 and the cable. Would re flashing the card help. or is there anyway to test.

I do have the 7i76e could the 7i76 be plugged into that to test with the correct firmware.

I also have a 7i96

Please Log in or Create an account to join the conversation.

More
28 Jul 2020 14:03 #176246 by PCW
Replied by PCW on topic ( Solved ) Mesa 7i76 encoder problem
If the card was working, reflashing will not help.
Reflashing basically never helps unless you need to change
the firmware or replace corrupted firmware, but corrupted
firmware on a 5i25 will result in loading the fallback config
which has no encoders or stepgens so will be obvious.

Can you read the input-a pin state when the
7I76 is not connected vs connected (with encoder unplugged)?
That will verify if the 5I25 is OK

It should read high if the 7I76 is unconnected and
low if the 7I76 is connected if the 7I76 is jumpered for
TTL mode and the encoder is unplugged

To load the driver and read pins without the 7I76 you can do this:

halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci config=" "
halcmd: loadrt threads name1=servo-thead
halcmd: start
halcmd: addf hm2_5i25.0.read servo-thread
halcmd: getp hm2_5i25.0.encoder.00.input-a
The following user(s) said Thank You: Clive S, zfa

Please Log in or Create an account to join the conversation.

More
29 Jul 2020 11:06 - 29 Jul 2020 12:57 #176350 by Clive S
Replied by Clive S on topic ( Solved ) Mesa 7i76 encoder problem

Can you read the input-a pin state when the
7I76 is not connected vs connected (with encoder unplugged)?
That will verify if the 5I25 is OK

It should read high if the 7I76 is unconnected and
low if the 7I76 is connected if the 7I76 is jumpered for
TTL mode and the encoder is unplugged

To load the driver and read pins without the 7I76 you can do this:

halrun
halcmd: loadrt hostmot2
halcmd: loadrt hm2_pci config=" "
halcmd: loadrt threads name1=servo-thead
halcmd: start
halcmd: addf hm2_5i25.0.read servo-thread
halcmd: getp hm2_5i25.0.encoder.00.input-a


Ok With the encoder unplugged from the 7i76

7I76 is unconnected
A shows true
B shows true

Rebooted then:-

7I76 is connected
A shows true
B shows true

Does this mean the 5i25 is faulty. I have not changed the PP cable but is is a good quality one and short
Last edit: 29 Jul 2020 12:57 by Clive S.

Please Log in or Create an account to join the conversation.

More
29 Jul 2020 13:41 #176388 by PCW
Replied by PCW on topic ( Solved ) Mesa 7i76 encoder problem
I would guess that the 5I25 is OK but both A and B should be low
when the 7I76 is connected (and the encoder is unconnected)
Are you sure the 7I76 is jumpered for TTL mode?
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
29 Jul 2020 14:45 #176391 by Clive S
Replied by Clive S on topic ( Solved ) Mesa 7i76 encoder problem

I would guess that the 5I25 is OK but both A and B should be low
when the 7I76 is connected (and the encoder is unconnected)
Are you sure the 7I76 is jumpered for TTL mode?


I don't understand it this has be running for a few years. I have just checked and you are of course correct, they were wrong.

They are now set as single ended now it is working again.

Could it have worked before ? !!

Many thanks for the patience.

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
29 Jul 2020 15:01 #176393 by tommylight
Replied by tommylight on topic ( Solved ) Mesa 7i76 encoder problem
Set the title as solved as it was not sticking .
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
29 Jul 2020 17:13 #176401 by PCW
Replied by PCW on topic ( Solved ) Mesa 7i76 encoder problem
It can sort-of work with single ended signals and differential inputs
because you can develop a 100 mv or so differential input with single
ended signal because of the way the termination works.
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
29 Jul 2020 17:18 #176402 by Clive S
Replied by Clive S on topic ( Solved ) Mesa 7i76 encoder problem

It can sort-of work with single ended signals and differential inputs
because you can develop a 100 mv or so differential input with single
ended signal because of the way the termination works.


Thanks that explains a lot.

It must have been just on cusp of it working.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.076 seconds
Powered by Kunena Forum