Correct bit file for Mesa 5i25+7i77+7i74

More
04 Mar 2017 08:49 #88984 by Henk
Hi
I hope someone can help.

I am busy with a configuration using a 5i25+7i77+7i74.

I flashed the 5i25 using bit file 5i25_7i74_7i77.bit downloaded from mesanet.com, however LCNC fails to start after running a simple PNCconf generated setup. in this setup i only loaded the 7i77 to get going, unplugging the 7i74 for now

The reason for failure is that the hal pins are not generated for the 7i77 input, output or analogin/out, only the encoder pins are generated. See attached copied from terminal after doing halrun >loadrt hostmot2>loadrt hm2_pci>show pin

i assume that i flashed the 5i25 with the wrong bit file but i dont see another in 5i25.zip downloaded from mesanet.com

any help would be apreceated

Henk
Attachments:

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

More
04 Mar 2017 14:19 #88990 by Todd Zuercher
Do you have the necessary external power connections made to the 7i77? Those io points will not show up if the 7i77 isn't powered.

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

More
04 Mar 2017 15:12 #88993 by PCW
In addition to verifying that you have field and 5V power to the 7I77,
note that a 5i25_7i74_7i77.bit file has the 7I77 connected to header P2 and the
7I74 connected to the DB25 connector P3.

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

More
05 Mar 2017 05:56 #89021 by Henk
Thanks for your help.

I re-flashed the 5i25 with the 7i77x2 bit file and disconnected the 7i74. the 7i77 is powered via onboard 5v from the 5i25 and the correct LED's light up. with the above configuration, the 7i77 behaves as expected.

I see there is another bit file for this combination, 5i25_7i77_7i74.bit. would this make it possible to have the 7i77 on P3 and the 7i74 on P2? looking at the .pin file it seems to be the case. If not, the above mentioned layout will severely complicate my wiring.

I will try the above file and check again.
thanks

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

More
05 Mar 2017 07:00 #89026 by Henk
OK, it seems to be working now, not sure what went wrong yesterday because im sure i tried the 5i25_7i77_7i74.bit file yesterday.Anyway, the 7i70 connected to the 7i74 now shows up in HAL as well as all the 7i77 pins.

Also connected to the 7i74 is a 7i71. The 7i71 doesnt show up in HAL and im not sure if i loaded the second Sserial port correctly. Im not sure where to look for the answer to this problem. I checked the hostmot2 man page but i couldnt find the answer there.

This is what i put in the .hal file

loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_stepgens=0 sserial_port_0=001xxx sserial_port_1=001xxx"

for some reason, the 7i71 doesnt seem to be loaded. It is powered by 24V and the LED's dont indicate a fault except CR33 which stays on.

Thanks for the help so far.

Henk

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

More
05 Mar 2017 11:38 #89036 by tommylight
forum.linuxcnc.org/30-cnc-machines/31792...ofit?start=100#87437

Have a look there is the same setup working for quite some time now, plenty of info and config files, just check the addresses there as i can not recal how i had it set, am on the phone so i can not check.
There is another thread that uses the same boards here, just search for it.

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

More
09 Mar 2017 15:36 #89260 by Henk
Thank you tommylight, interesting machine you were working on.

After solving the initial problem and checking with your example the real problem was a faulty Ethernet cable between the 7i74 and 7i71

thanks for the help.

Henk

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

More
09 Mar 2017 18:22 #89272 by tommylight
You are welcomed, always.
Glad you got it working.

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

Time to create page: 0.088 seconds
Powered by Kunena Forum