7i80 and 7i77

More
13 Oct 2014 21:55 #52029 by PCW
Replied by PCW on topic 7i80 and 7i77
sounds like you still have a network issue
can you run
ifconfig -a

and post the results here?

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

More
13 Oct 2014 23:24 - 14 Oct 2014 00:18 #52042 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Command not found isn't the desired result. But I have tried to get the right command with
synaptic manager and apt-get install. Nothing of them worked.
In the not really useful "manual" of hm2_eth stand that the lan connection must eth1, I have tried it, but can't get eth1, my lan works only as eth0. Maybe I need an additional lan card.
Last edit: 14 Oct 2014 00:18 by uli12us.

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

More
13 Oct 2014 23:28 #52043 by cncbasher
Replied by cncbasher on topic 7i80 and 7i77
PCW:
i notice an error with RTNET , so my query is
does rtnet library need to be installed with hm2_eth ?

i also notice an error for loading a tool table , i'll presume the entry is in the ini file but the tooltable file is missing in the config directory
so just pick one from the examples and place in your machine named config folder

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

More
14 Oct 2014 00:14 #52049 by PCW
Replied by PCW on topic 7i80 and 7i77
the RTNET message is a leftover
Those messages are just what is expected when theres no communication to the 7I76E

On Debian you may need to type /sbin/ifconfig -a

if you dont have a path to /sbin in yous shells path

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

More
14 Oct 2014 00:32 #52051 by uli12us
Replied by uli12us on topic 7i80 and 7i77
/sbin/ifconfig -a
eth0      Link encap:Ethernet  HWaddr d0:50:99:17:c7:f6  
          inet addr:192.168.1.121  Bcast:0.0.0.0  Mask:255.255.255.0
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:232 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:54893 (53.6 KiB)
          Interrupt:104 Base address:0x6000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1896 (1.8 KiB)  TX bytes:1896 (1.8 KiB)

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

More
14 Oct 2014 00:41 #52053 by PCW
Replied by PCW on topic 7i80 and 7i77
You need to set the IP address of you computer to something other than
the 7I76E's IP address something like 192.168.1.1 as I suggested

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

More
14 Oct 2014 01:42 #52061 by uli12us
Replied by uli12us on topic 7i80 and 7i77
I tried the 1 at last, no connection. Then I tried 120, with Ping I get an answer, but the board don't react from Linuxcnc,
ping -c10 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.097 ms
64 bytes from 192.168.1.121: icmp_req=2 ttl=64 time=0.087 ms
64 bytes from 192.168.1.121: icmp_req=3 ttl=64 time=0.088 ms
64 bytes from 192.168.1.121: icmp_req=4 ttl=64 time=0.088 ms
64 bytes from 192.168.1.121: icmp_req=5 ttl=64 time=0.091 ms
64 bytes from 192.168.1.121: icmp_req=6 ttl=64 time=0.089 ms
64 bytes from 192.168.1.121: icmp_req=7 ttl=64 time=0.088 ms
64 bytes from 192.168.1.121: icmp_req=8 ttl=64 time=0.089 ms
64 bytes from 192.168.1.121: icmp_req=9 ttl=64 time=0.088 ms
64 bytes from 192.168.1.121: icmp_req=10 ttl=64 time=0.088 ms

--- 192.168.1.121 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 8998ms
rtt min/avg/max/mdev = 0.087/0.089/0.097/0.007 ms
uli@uli:~/linuxcnc-dev$ linuxcnc
LINUXCNC - 2.7.0~pre0
Machine configuration directory is '/home/uli/linuxcnc/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: ERROR: can't connect: Network is unreachable
RTNET layer not ready
hm2_eth: ERROR: can't close socket: Transport endpoint is not connected
hm2_eth: rtapi_app_main: -101
hm2-pidstepper.hal:42: /home/uli/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
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/uli/linuxcnc_debug.txt
and
    /home/uli/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

before I run Linuxcnc the connection is ok with ping, but after the run it has forgotten all, what I have entered.

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

More
14 Oct 2014 02:37 #52066 by PCW
Replied by PCW on topic 7i80 and 7i77
That's probably to be expected if you setup the network connection behind the network managers back

I would use the network manager to setup the static link and disable any other links

If you want internet connectivity (and you dont have a motherboard with 2 MACs)
you will need to add a Ethernet card or a USB Ethernet adapter for internet traffic

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

More
14 Oct 2014 15:27 #52077 by uli12us
Replied by uli12us on topic 7i80 and 7i77
Yesterday I had problems with the Inet.
I need the Connection only temporarily for downloading missed drivers,
But I have still problems with the connection. I set it static with the file in etc/network/ But although ifconfig say I have the correct IP, nothing happens. Then I install it by hand and after that it runs correctly.
I've got a message from linuxcnc, so it seems it works more or less. But it nags, that a file is missing, I think that file is in the
.-dev instead of the Linuxcnc folder.

btw, is it possible, to delete the Linuxcnc folder and rename the .-dev folder to linuxcncc or they are some hidden files in there, that I delete in this case.
ping -c10 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.157 ms
64 bytes from 192.168.1.121: icmp_req=2 ttl=64 time=0.078 ms
64 bytes from 192.168.1.121: icmp_req=3 ttl=64 time=0.068 ms
64 bytes from 192.168.1.121: icmp_req=4 ttl=64 time=0.070 ms
64 bytes from 192.168.1.121: icmp_req=5 ttl=64 time=0.068 ms
64 bytes from 192.168.1.121: icmp_req=6 ttl=64 time=0.069 ms
64 bytes from 192.168.1.121: icmp_req=7 ttl=64 time=0.068 ms
64 bytes from 192.168.1.121: icmp_req=8 ttl=64 time=0.067 ms
64 bytes from 192.168.1.121: icmp_req=9 ttl=64 time=0.067 ms
64 bytes from 192.168.1.121: icmp_req=10 ttl=64 time=0.070 ms

--- 192.168.1.121 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 8997ms
rtt min/avg/max/mdev = 0.067/0.078/0.157/0.027 ms
uli@uli:~/linuxcnc-dev$ cd linuxcnc-dev
bash: cd: linuxcnc-dev: No such file or directory
uli@uli:~/linuxcnc-dev$ . scripts/rip-environment
uli@uli:~/linuxcnc-dev$ linuxcnc
LINUXCNC - 2.7.0~pre0
Machine configuration directory is '/home/uli/linuxcnc/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: WARNING: Unable to restrict other access to the hm2-eth device.
This means that other software using the same network interface can violate
realtime guarantees.  See hm2_eth(9) for more information.
hm2_eth: Hardware address: 00:60:1b:10:40:0c
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Smart Serial Firmware Version 42
hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0:     IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 001 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 002 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 003 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 004 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i76e.0:     IO Pin 005 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i76e.0:     IO Pin 006 (P1-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 007 (P1-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 008 (P1-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 009 (P1-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 010 (P1-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 011 (P1-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 012 (P1-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 013 (P1-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 014 (P1-11): Encoder #0, pin Index (Input)
hm2/hm2_7i76e.0:     IO Pin 015 (P1-12): Encoder #0, pin B (Input)
hm2/hm2_7i76e.0:     IO Pin 016 (P1-13): Encoder #0, pin A (Input)
hm2/hm2_7i76e.0:     IO Pin 017 (P2-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 018 (P2-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 019 (P2-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 020 (P2-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 021 (P2-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 022 (P2-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 023 (P2-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 024 (P2-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 025 (P2-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 026 (P2-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 027 (P2-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 028 (P2-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 029 (P2-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 030 (P2-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 031 (P2-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 032 (P2-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 033 (P2-13): IOPort
hm2/hm2_7i76e.0:     IO Pin 034 (P3-01): IOPort
hm2/hm2_7i76e.0:     IO Pin 035 (P3-14): IOPort
hm2/hm2_7i76e.0:     IO Pin 036 (P3-02): IOPort
hm2/hm2_7i76e.0:     IO Pin 037 (P3-15): IOPort
hm2/hm2_7i76e.0:     IO Pin 038 (P3-03): IOPort
hm2/hm2_7i76e.0:     IO Pin 039 (P3-16): IOPort
hm2/hm2_7i76e.0:     IO Pin 040 (P3-04): IOPort
hm2/hm2_7i76e.0:     IO Pin 041 (P3-17): IOPort
hm2/hm2_7i76e.0:     IO Pin 042 (P3-05): IOPort
hm2/hm2_7i76e.0:     IO Pin 043 (P3-06): IOPort
hm2/hm2_7i76e.0:     IO Pin 044 (P3-07): IOPort
hm2/hm2_7i76e.0:     IO Pin 045 (P3-08): IOPort
hm2/hm2_7i76e.0:     IO Pin 046 (P3-09): IOPort
hm2/hm2_7i76e.0:     IO Pin 047 (P3-10): IOPort
hm2/hm2_7i76e.0:     IO Pin 048 (P3-11): IOPort
hm2/hm2_7i76e.0:     IO Pin 049 (P3-12): IOPort
hm2/hm2_7i76e.0:     IO Pin 050 (P3-13): IOPort
hm2/hm2_7i76e.0: registered
hm2-pidstepper.hal:64: parameter or pin 'hm2_7i76e.0.dpll.01.timer-us' not found
Shutting down and cleaning up LinuxCNC...
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/uli/linuxcnc_debug.txt
and
    /home/uli/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.

More
14 Oct 2014 21:31 - 14 Oct 2014 21:33 #52091 by PCW
Replied by PCW on topic 7i80 and 7i77
You probably need to look into making the net manager leave a specific interface alone

google debian net manager

You also will have a lot less trouble if you dedicate the Ethernet interface to LInuxcnc
and dont use the same interface for occasional internet access (much much easier to use a USB/Ethernet adapter for internet access and not have to fight with the network manager about usage of the Ethernet port)

DO NOT rename or delete any directories, this is unnecessary and will cause trouble

The hal error you have is because my test file assumes that the DPLL firmware is present
you can avoid this error by updating the 7I76Es firmware:
mesaflash --device 7i76e --addr 192.168.1.121 --write 7i76e_7i76x1D.bit
or commenting out these lines in the hal file
setp hm2_[HOSTMOT2](BOARD).0.dpll.01.timer-us -50
setp hm2_[HOSTMOT2](BOARD).0.stepgen.timer-number 1
Last edit: 14 Oct 2014 21:33 by PCW.

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

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