7i80 and 7i77

More
07 Dec 2013 00:03 #41381 by uli12us
7i80 and 7i77 was created by uli12us
Hallo, I'm trying to reactivate a 5 axis mill with 7 controllable axes with a 7i77 for the 5 axes and spindle and an separate Board for the asynchronous Toolchain. I want for this a 7i76 because its easier to throw out the existing DC Driver and take a new step/dir driver like Gecko320 or similiar. If that don't work, I hope, Ican control it with the Spindle who have a 10V + dir output.

The hardware dealer in Austria says to me, that the 7i80 don't work at the moment, therefore I must use the 5i25 or 5i26 Cards for the Computer.

But the ethernet card have many advantages. The Computer can be a very small fanless part, I must only take a small patchcable into my cablehose.

Otherwise with the 5i25, I must take 2 serial cables through it, or not much better 3 smaller cables for the screen, mouse and keyboard.

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

More
07 Dec 2013 07:20 #41394 by andypugh
Replied by andypugh on topic 7i80 and 7i77

The hardware dealer in Austria says to me, that the 7i80 don't work at the moment, therefore I must use the 5i25 or 5i26 Cards for the Computer.


The 7i80 nearly works, but I can understand the dealers caution. If you want a guaranteed, working, machine right now, then 5i25 is likely to be a lot less trouble.

wiki.linuxcnc.org/cgi-bin/wiki.pl?Mesa7i..._Linuxcnc_On_Xenomai

Describes how to make the 7i80 work.

I have a 7i80, Let me see if I can make it work. This may take some time.

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

More
09 Dec 2013 08:49 #41426 by andypugh
Replied by andypugh on topic 7i80 and 7i77

I have a 7i80, Let me see if I can make it work. This may take some time.


I have it working behind me. :-)

Most of that Wiki page is now outdated.

There is now a new branch on the linuxCNC git server which runs without rtnet with a preempt-rt patched kernel. Here is what I needed to do to make it work.

Install a recent version of Linux. I am using Lubuntu 12.04, but I think most of them should actually work. Ubuntu 12.04 Precise would be a safe choice.

Install an RT-preempt kernel. Michael has prepared some
wget  http://static.mah.priv.at/public/rt-preempt/linux-headers-3.10.4-rt1mah_3.10.4-rt1mah-2_i386.deb
wget http://static.mah.priv.at/public/rt-preempt/linux-image-3.10.4-rt1mah_3.10.4-rt1mah-2_i386.deb
wget http://static.mah.priv.at/public/rt-preempt/linux-libc-dev_3.10.4-rt1mah-2_i386.deb
sudo dpkg -i linux-headers-3.10.4-rt1mah_3.10.4-rt1mah-2_i386.deb
sudo dpkg - i linux-image-3.10.4-rt1mah_3.10.4-rt1mah-2_i386.deb
sudo dpkg -i linux-libc-dev_3.10.4-rt1mah-2_i386.deb
Then reboot and make sure that Linux still runs. Check that you are running the new kernel with
uname -a
which should return: 3.10.4-rt1mah #2 SMP PREEMPT RT Thu Aug 1 23:59:36 CEST 2013 i686 i686 i386 GNU/Linux

The next step is to install git, get the new code, and compile LinuxCNC
sudo apt-get install git-core git-gui gitk build-essential
 git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
This will create a new directory, containing the code for LinuxCNC. You need to go into that repository and set up a few things.
cd linuxcnc-dev
git branch --track ubc3-7i80 origin/ubc3-7i80
git checkout ubc3-7i80
. ./scripts/rip-environment
cd debian
./configure -r
cd ..
dpkg-checkbuilddeps
You might be told that you need to install debhelper or something during this process, just sudo apt-get install anything asked for.
The final output of checkbuilddeps will be a huge list of packages you need. I tend to copy and paste it into a sudo apt-get install line, but you can't just hit "enter" as some of the packages have two alternatives, and some specify the version, so you need to edit those out and choose one alternative where there are two (they | character means "or" to geeks).

Once the dependencies are installed, you can start to compile linuxcnc. We will be creating a run-in-place system to not break the existing installed version. To use a RIP build you need to issue a command in a terminal window, then run "linuxcnc" (or halrun, emcsh, or the others) in that same terminal window. You might have spotted it above
. ./scripts/rip-environment
That really is dot-space-dot-slash at the beginning. If you are not in the linuxcnc-dev folder then you need the correct path to the scripts directory.

Anyway, to compile:
cd src
./autogen.sh
./configure --with-rt-preempt
make
sudo make setuid
There will be a _long_ time to wait between "make" and "sudo make setuid". It's easy to forget the final command in the interim. I often do then wonder why LinuxCNC won't work.

At this point you should have a working software system. To make the 7i80 work it needs to be plugged into the ethernet port of the pc, and the pc needs to have its IP address on the wired network port set to 192.168.1.1. W1 and W2 on the 7i80 need to be down, so that the IP address is set to 192.168.1.121. You also need to know the 7i80 MAC address.

From that point on it should look a lot like any other Mesa card, but instead of
loadrt hm2_pci config=.......
the HAL file needs
loadrt hm2_eth board_ip="192.168.1.121" board_mac="00:60:1B:10:00:08"

Obviously I don't expect you to be up and running with these instructions, it is more a case of giving you a taste of what is involved. You can do all of this as an experiment without the 7i80, then decide which card you want to purchase.
The following user(s) said Thank You: kuku427

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

More
10 Dec 2013 03:13 #41442 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Ok, thank you, I hope I will bring that beast to work. Unfortunately, I haven't any experience with Linux, it looks similiar to the old dos programs on early PCs.

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

More
10 Dec 2013 05:51 #41447 by andypugh
Replied by andypugh on topic 7i80 and 7i77

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

More
10 Dec 2013 18:50 #41468 by andypugh
Replied by andypugh on topic 7i80 and 7i77

I haven't any experience with Linux, it looks similiar to the old dos programs on early PCs.

This is partly because it is much easier to give command-line instructions on a form than GUI instructions.
I think it is possible to do everything here with a GUI, but instructions like "Install Eclipse and click the icon that looks a bit like a sandwich, not not that one, the other one" would be more ambiguous. :-)

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

More
12 Dec 2013 05:05 #41529 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Is it right, that the 7i77 have no LEDs for the digital in and outputs. If yes I must make a small Input and outputcard to see, which of the connectors is switched. I think I can see it on the Screen, but if I work behind the machine I must see which sensor is switched, and which actor (most solenoid valves) is activated.

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

More
12 Dec 2013 19:04 #41539 by andypugh
Replied by andypugh on topic 7i80 and 7i77

Is it right, that the 7i77 have no LEDs for the digital in and outputs. If yes I must make a small Input and outputcard to see, which of the connectors is switched. I think I can see it on the Screen, but if I work behind the machine I must see which sensor is switched, and which actor (most solenoid valves) is activated.


Depending on the application, and the budget, you might want to look at the 7i64. That has LEDs on the inputs and outputs, and the IO is higher-power than the 7i77, and also isolated. It isn't a very cheap board, though, and it still typically needs a 7i77 to plug in to.

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

More
15 Dec 2013 22:41 #41627 by sneci
Replied by sneci on topic 7i80 and 7i77
I installed an Precise (32-bit) system and rt-preemt kernel based on Andy description.
It works well, but I can not find the 7i80 bit file. Where can I download it?

Thanks
Sneci

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

More
15 Dec 2013 23:48 #41628 by andypugh
Replied by andypugh on topic 7i80 and 7i77

I installed an Precise (32-bit) system and rt-preemt kernel based on Andy description.
It works well, but I can not find the 7i80 bit file. Where can I download it?


The 7i80 uses non-volatile firmware, like the 5i25 and 6i25. So you don't need to load a bitfile every time.

You can change the firmware with the "mesaflash" utility.

If you download www.mesanet.com/software/parallel/7i80.zip

Then if you expand it you should find the mesaflash utility in 7i80/utils/linux. Mesaflash will probably have lost its "execute" bit due to being zipped, "chmod 777 mesaflash" will fix that, or a right-click in the GUI.
The bit files can be found in 7i80/configs/ There are a lot more configs for the 7i80 HD than the 7i80DB

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

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