7i76e Quick Setup

More
04 Feb 2018 00:37 - 04 Feb 2018 00:38 #105381 by eman5oh
7i76e Quick Setup was created by eman5oh
Hi all, I am getting ready for my first LinuxCNC setup with MESA 7i76e board and I thought that I would post some quick instructions on getting one up and running quickly that worked for me. I did a lot of reading before setting this up and have to thank this forum and it's member for the information to get this up and running. If you are reading this you may already know that it will not work with the standard iso as is and requires a different kernel to run, while there are many way to fix this, I choose the easy way and used a prebuilt test iso with the link available below. This recipe is what got me going and I hope it helps someone else get up and running. I am not an expert with this so there may be mistakes....

Download and install LinuxCNC Stretch from here www.linuxcnc.org/testing-stretch-rtpreem...uspace-amd64-r10.iso

Wire power to (24 Volts) to TB1 Field Power and TB3 Pins 22 and 23

Wire up a stepper drive to TB2 Stepper 0 pins

I used the excelent wiring guide found here forum.linuxcnc.org/media/kunena/attachme...8/7i76_Anschluss.pdf

I opened up a terminal window on the fresh linux cnc install and typed “ip addr show” and found my on board ethernet adaptor was eno1 and not eht1. Know this is important for the next step.

I then used synaptic package manager to install GEdit, as I am familiar with it. You can use the built-in one if you like and skip this step.

Open a terminal and type this in sudo gedit /etc/network/interfaces.d/setup and add this to the file

auto eno1
iface eno1 inet static
address 10.10.10.1
netmask 255.255.255.0

Save the file and then issue this command in the terminal sudo /etc/init.d/networking restart. Now reissue ip addr show and it should show the change. If not you may need to restart your system.

Move the W3 Jumper on the 7i76e to the up position to set Ip address to 10.10.10.10 via the eeprom.

Open up the Pncconf wizard and generate a config for your machine and save it.

Open the .hal file that was just generated and edit the board ip address from 192.168.1.121 to 10.10.10.10 ,save the hal file. Launch Linux cnc from the desktop shortcut created by Pncconf.

If everything went well LCNC should launch and you should be able to jog motors around to start testing.
Last edit: 04 Feb 2018 00:38 by eman5oh. Reason: typo
The following user(s) said Thank You: andypugh, tommylight, Clive S, rodw, aleksamc, DanMN, Resonant, noname2012

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

More
12 May 2018 11:40 #110597 by Resonant
Replied by Resonant on topic 7i76e Quick Setup
Thank you for the guide.

But I'm still unable to get mine working. Is anybody willing to share a working generic configuration file?
It might be easier to start from a working configuration and edit it, then from a pncconf and debugging.

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

More
12 May 2018 22:12 #110621 by rodw
Replied by rodw on topic 7i76e Quick Setup
This is a minimalist 7i76e config but its based on master branch not v2.7
forum.linuxcnc.org/47-hal-examples/34072...ranch-gantry-example
The following user(s) said Thank You: Resonant

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

More
12 May 2018 22:14 #110622 by rodw
Replied by rodw on topic 7i76e Quick Setup
And Norbert's connection sheet is also required reading
forum.linuxcnc.org/forum/search?query=my...catids=all&start=240
The following user(s) said Thank You: Resonant

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

More
26 Aug 2018 23:33 #116626 by tjones
Replied by tjones on topic 7i76e Quick Setup
Hello,

I have been following you setup and I am not trying to get the ip address and network portion figured out. I have changed the ip address in my .hal file to 10.10.10.10 and gone through the network setup file and changed/added

auto eno1
iface eno1 inet static
address 10.10.10.1
netmask 255.255.255.0

I have moved W3 to the up position, but have no idea how to program the eeprom for the 10.10.10.10

I have tried to ping the ip address the board came with and 10.10.10.10 and I get nothing back both times. Can anyone help?

-Thanks

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

More
26 Aug 2018 23:47 #116628 by PCW
Replied by PCW on topic 7i76e Quick Setup
The 7I76E EEPROM should be pre-programmed to 10.10.10.10

1. Did you power cycle the 7I76E after changing the jumper position?
2. What is the result of the command:

ip a

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

More
27 Aug 2018 00:04 #116629 by tjones
Replied by tjones on topic 7i76e Quick Setup
I turned the board off, swapped the jumper, turn it back. Since then it has been off and on a couple of times.

The results of ip a:

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 00:1b:fc:06:e4:c7 brd ff:ff:ff:ff:ff:ff
3: wlx7cdd908b5432: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 2e:c5:56:cf:34:24 brd ff:ff:ff:ff:ff:ff

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

More
27 Aug 2018 00:07 #116630 by PCW
Replied by PCW on topic 7i76e Quick Setup
Right, so your local Ethernet is called enp0s7 not en01...

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

More
27 Aug 2018 00:18 #116631 by tjones
Replied by tjones on topic 7i76e Quick Setup
So I changed my ethernet to enp0s7 in the network setup file. I ran a ping for 10.10.10.10 and it came back as unreachable.

This is what my setup file looks like:

auto lo
iface lo inet loopback

auto enp0s7
iface enp0s7 inet static
address 10.10.10.1
netmask 255.255.255.0


This is the result of the last, ip a:

ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s7: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 00:1b:fc:06:e4:c7 brd ff:ff:ff:ff:ff:ff
3: wlx7cdd908b5432: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 1a:59:35:2a:aa:ac brd ff:ff:ff:ff:ff:ff

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

More
27 Aug 2018 00:58 #116632 by tjones
Replied by tjones on topic 7i76e Quick Setup
I realized I forgot to connect my power to the TB3 for the logic portion. I then cycled the power. I didn't immediately get anything from the ping and after about 10 minutes I tried it again and everything is working. Thank you for the help!

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

Time to create page: 0.090 seconds
Powered by Kunena Forum