Mesa 7i76e => hm2_eth: Unrecognized ethernet board

More
9 years 3 months ago #95664 by andypugh

JackBerkhout wrote: Lots to learn...


There is. :-)

Feel free to come back with any questions. I don't think that any one person knows everything about LinuxCNC, but collectively we know most of it.

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

More
9 years 3 months ago #95797 by bymccoy

PCW wrote: You need to have firmware that matches the daughterboard set you have
for example, a 7I76E+7I85 would use 7i76e_7i76x1_7i85x1D.bit
firmware.

LinuxCNC would need to be configured to use the added encoders


I've flashed with the right firmware, and all is okay... Or so it seems.

I've been struggling to get the encoder channels working - I've now built a PYVCP based DRO just to test the encoders, and it's bizzare. Only the first encoder (the one on the 7i76e) is working, but it's on both encoder 4 and encode 5 channels. I've got encoders on ports 1 and 2 on the 7i85, and neither of those are working.

First: any idea what's going on here? wiring issue? under-voltage issue? firmware issue?

Second: what is the correct sequence number of the encoders?

If I use a dedicated 5V power supply, any suggestions on the type I should use? Are grounded industrial DIN rail types okay, or am I better using a double insulated non-grounded wall-socket type?

Thanks

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

More
9 years 3 months ago #95799 by andypugh
This sounds like you have a firmware that uses muxed encoders, such as those on the 7i77. These have 2 encoders on one set of pins to the FPGA card.

So, possibly, the 7i76 and 7i85 need to be swapped to the other connector?

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

More
9 years 3 months ago #95800 by PCW
That sound basically OK, Did you check the 5V at the 7I85?
Is the 7I76e jumpered t supply 5V to the 7I85?

What exact firmware did you use?

The encoder numbering of 7i76e_7i76x1_7i85x1D.bit is as follows:

7I85 (on P1) encoders 0..3
7I76E encoder 4 (and aliased encoder 5 which is an artifact of combining muxed
encoders with the non-muxed encoder hardware on the 7I76E)
The following user(s) said Thank You: bymccoy

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

More
9 years 3 months ago - 9 years 3 months ago #95805 by bymccoy
I'll need to check which firmware I used, but recall it was the one you told me to use...

Okay, so 4 and 5 are aliased? So I'm getting the correct behaviour there then.

I'll need to reconfirmed the 5V is being supplied - I did check the board when I wired it up with a probe, but looks like it could be a power issue then...

What position should the encoder jumpers be set if an encoder isn't being used? TTL or RS422?

The power supply to TB3 pins 21/22 caught me out at the beginning, as I was expecting something similar to the 7i76, and thought it'd get everything it needed from the VFIELD. I end up hooking TB3 21/22 up to the same supply using on VFIELD (24VDC industrial supply), and like magic everything turned on!

But it does highlight that I need to check that the 7i85 is getting adequate supply through and to make sure the jumpers are correct... I have checked continuity in the past and gotten 5V on the encoder lines, but will go back through systematically.
Last edit: 9 years 3 months ago by bymccoy.

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

More
9 years 3 months ago #95936 by bymccoy
Yeah...

Oops. Turns out the 7i85 was hooked up to port 2.

I checked out the voltages and all looked good (as they did when I was diagnosing the other power issue I had a few months back). Low and behold, tracing the cables, spotted the school boy error.

All working perfectly now.

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

Moderators: PCW, jmelson
Time to create page: 0.187 seconds
Powered by Kunena Forum