( Solved ) Mesa 7i76 encoder problem
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
28 Jul 2020 13:13 #176242
by Clive S
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
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.
- PCW
- Away
- Moderator
Less
More
- Posts: 17881
- Thank you received: 4780
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
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.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
29 Jul 2020 11:06 - 29 Jul 2020 12:57 #176350
by Clive S
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
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.
- PCW
- Away
- Moderator
Less
More
- Posts: 17881
- Thank you received: 4780
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?
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.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
29 Jul 2020 14:45 #176391
by Clive S
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.
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
- Away
- Moderator
Less
More
- Posts: 19422
- Thank you received: 6516
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.
- PCW
- Away
- Moderator
Less
More
- Posts: 17881
- Thank you received: 4780
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.
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.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
29 Jul 2020 17:18 #176402
by Clive S
Thanks that explains a lot.
It must have been just on cusp of it working.
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: PCW, jmelson
Time to create page: 0.076 seconds