7i80 and 7i77
14 Oct 2014 22:07 - 14 Oct 2014 22:55 #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.
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.
Last edit: 14 Oct 2014 22:55 by uli12us.
Please Log in or Create an account to join the conversation.
14 Oct 2014 23:26 #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
from say axis_0 to the section called spindle_9
and edit as required
Please Log in or Create an account to join the conversation.
15 Oct 2014 00:42 - 15 Oct 2014 01:03 #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.
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.
Last edit: 15 Oct 2014 01:03 by uli12us.
Please Log in or Create an account to join the conversation.
15 Oct 2014 01:18 #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)
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 or Create an account to join the conversation.
15 Oct 2014 02:39 - 15 Oct 2014 02:40 #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.
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.
Last edit: 15 Oct 2014 02:40 by uli12us.
Please Log in or Create an account to join the conversation.
15 Oct 2014 02:49 #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")
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 or Create an account to join the conversation.
15 Oct 2014 02:56 #52104
by andypugh
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)
Replied by andypugh 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.
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 or Create an account to join the conversation.
15 Oct 2014 15:13 #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?
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?
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 or Create an account to join the conversation.
15 Oct 2014 20:21 #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)
This could either be a network setup issue or real time issues with you notebook
(the ping times do not look very promising)
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 or Create an account to join the conversation.
16 Oct 2014 00:14 #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.
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 or Create an account to join the conversation.
Time to create page: 0.122 seconds