7i80 and 7i77

More
12 years 2 weeks ago #52094 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Ok, I will first try to outcomment the 2 lines. At the moment I don't need the Steppers from the board.
Only the Servo output and the encoder Input and all the IO pins. When I'm sure it works, how it should I'll first try to simulate my toolchanger with 2 Servos and 1 Stepper although I can in a first step try to ignore the C-Axis that must go back to 0° if I want to change a tool. All the other PLC IO are less complicated, because they don't need a long chain of actions and reactions.

Now the next error hal:117 Max_error not found. Is max_error set in the ini file?

Solved by outcommented, now the next error Spindle_9 parametre P and after that I think I, D not found.

Please Log in to join the conversation.

More
12 years 2 weeks ago #52097 by cncbasher
Replied by cncbasher on topic 7i80 and 7i77
copy your pid settings in your ini file
from say axis_0 to the section called spindle_9
and edit as required

Please Log in to join the conversation.

More
12 years 2 weeks ago #52099 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Sorry, I don't have any settings, only the ini and hal file that seems not really facing together. I try to run the PNCconf program until now without success. All of the names there say me nothing. I thaught the pncconf makes these automatically.

I have copied one of the axis files, but get several other faults, I commented that out, but that are the accel-, deceleration files from the spindle and spindlescale whatever it should be. I think I need these values, if I want to run the spindle.

With the 3.4.9 Linux I can run the pncconf program but cannot access the mesa board, I need the same thing for the RT Linux.

Please Log in to join the conversation.

More
12 years 2 weeks ago #52100 by PCW
Replied by PCW on topic 7i80 and 7i77
As I mentioned before, you can use pncconf to create a configuration for a 5i25/7I76 combo
then edit the hal file and replace all "5i25" s with "7i76e"s and replace the loadrt hm2_pci line
with loadrt hm2_eth (and the IPaddress token)

Please Log in to join the conversation.

More
12 years 2 weeks ago #52101 by uli12us
Replied by uli12us on topic 7i80 and 7i77
I have tried it before, but can't edit any file, because it don't accept ini as an ending. I can only edit files with the ending pncconf.
But I don't know, what I must type in, in the hundreds of single boxes. And if I try to start pncconf in the fileslist it answers that I can't start it, but must restart the 3.4.9 RTAI Linux.
Maybe the rtpreempt version has an own pncconf, but I don't know where I can find this. Maybe with this I can edit an ini file.

Please Log in to join the conversation.

More
12 years 2 weeks ago #52102 by PCW
Replied by PCW on topic 7i80 and 7i77
pncconf runs fine under Preemt-rt (just tried)
you of course need to run the master version
so just like linuxcnc you need to start it from a shell that
has the RIP environment set-up


You edit files with a text editor ( an editor available in the stock Wheezy distribution is "mousepad")

Please Log in to join the conversation.

More
12 years 2 weeks ago #52104 by andypugh
Replied by andypugh on topic 7i80 and 7i77

uli12us wrote: I have tried it before, but can't edit any file, because it don't accept ini as an ending. I can only edit files with the ending pncconf.


pncconf creates a config directory in your home folder which contains an INI file and a HAL file.

You then need to edit these files to suit your particular config. They are plain text files and can be edited with a text editor.

The INI file is explained here:
linuxcnc.org/docs/html/config/ini_config.html

The HAL file is rather more complicated, but this is a good starting point:
linuxcnc.org/docs/html/hal/intro.html
(Though now I look at it, it is very out of date in the components that it lists, and it includes some drivers that have been dropped, I may look into updating it)

Please Log in to join the conversation.

More
12 years 2 weeks ago #52112 by vortex
Replied by vortex on topic 7i80 and 7i77
thanks for the good description. I use the instructions from PCW (page 6) and example zip. I can ping my mesacard but i can't build a connection to the card (see the terminal output). I need some help. I do not know what I'm doing wrong.

My setup is a lenovo T61 notebook and a mesa 7i80HD-16.
The laptop is connected directly to the card.
I have to flash the card before?
Code:
ping 192.168.1.121 PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data. 64 bytes from 192.168.1.121: icmp_req=1 ttl=64 time=0.256 ms 64 bytes from 192.168.1.121: icmp_req=2 ttl=64 time=0.208 ms 64 bytes from 192.168.1.121: icmp_req=3 ttl=64 time=0.307 ms ^C --- 192.168.1.121 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 0.208/0.257/0.307/0.040 ms cnc@linuxcnc:~/linuxcnc-dev$ linuxcnc LINUXCNC - 2.7.0~pre0 Machine configuration directory is '/home/cnc/linuxcnc-dev/configs' Machine configuration file is '7i76es1.ini' Starting LinuxCNC... emc/iotask/ioControl.cc 768: can't load tool table. Note: Using POSIX realtime hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: Using iptables for exclusive access to network interface hm2_eth: Hardware address: 00:60:1b:11:80:14 hm2_eth: ERROR: receiving packet: Resource temporarily unavailable hm2_eth: No ethernet board found hm2-pidstepper.hal:42: /home/cnc/linuxcnc-dev/bin/rtapi_app exited without becoming ready hm2-pidstepper.hal:42: insmod failed, returned -1 Shutting down and cleaning up LinuxCNC... hm2: unloading LinuxCNC terminated with an error. You can find more information in the log: /home/cnc/linuxcnc_debug.txt and /home/cnc/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal

Please Log in to join the conversation.

More
12 years 2 weeks ago #52118 by PCW
Replied by PCW on topic 7i80 and 7i77
This indicates that the board was found but possibly communication was lost or timed out
This could either be a network setup issue or real time issues with you notebook
(the ping times do not look very promising)
Code:
hm2_eth: Hardware address: 00:60:1b:11:80:14 hm2_eth: ERROR: receiving packet: Resource temporarily unavailable hm2_eth: No ethernet board found

Please Log in to join the conversation.

More
12 years 2 weeks ago #52123 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Have you connected your Board to Field power?

In my case my computer don't connect with 192.168.1.1 so I tried ...120 and that worked.
But strangely only, when I entered the network parametres line per line from the terminal.
Although the same adress is configured in the network section, it don't worked.

Please Log in to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum