New and Lost

More
15 May 2016 18:08 #74687 by Rocklake
New and Lost was created by Rocklake
I am new to linuxcnc and linux in general. I am trying to set up a 7i76e with a 7i84 to run a lathe. I am unable to get configuration to work. I have attached my results, and would appreciate a push in the right direction.
Using Linux mint operating system



.emc@cnc ~ $ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.023 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.021 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.027 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.017 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.022 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.020 ms
^C
--- 192.168.1.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4996ms
rtt min/avg/max/mdev = 0.017/0.021/0.027/0.006 ms
emc@cnc ~ $ linuxcnc
LINUXCNC - 2.7.4
Machine configuration directory is '/home/emc/linuxcnc/configs/lathe'
Machine configuration file is 'lathe.ini'
Starting LinuxCNC...
Found file(REL): ./lathe.hal
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: 192.168.1.121: Hardware address: 00:60:1b:10:40:35
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i76e.0: hm2_sserial_waitfor: Timeout (24mS) waiting for addr 5c00 &mask ff00 val 300
hm2/hm2_7i76e.0: DATA addr 5d00 after timeout: 400000
hm2/hm2_7i76e.0: Timeout trying to read config data in sserial_get_bytes
hm2/hm2_7i76e.0: Failed to read/setup the globals on hm2_7i76e.0.7i76.0.0
hm2/hm2_7i76e.0: Remote setup failure on instance 0
hm2/hm2_7i76e.0: failed to parse Module Descriptor 5
board fails HM2 registration
hm2_eth: rtapi_app_main: Invalid argument (-22)
./lathe.hal:8: waitpid failed /usr/bin/rtapi_app hm2_eth
./lathe.hal:8: /usr/bin/rtapi_app exited without becoming ready
./lathe.hal:8: insmod for hm2_eth failed, returned -1
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
hm2: unloading
Note: Using POSIX realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/emc/linuxcnc_debug.txt
and
/home/emc/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
emc@cnc ~ $

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

More
15 May 2016 20:56 - 15 May 2016 20:58 #74688 by PCW
Replied by PCW on topic New and Lost
A couple of things:

1. Your ping test is not pinging the 7I76E (just a local loop back)
( also its often better to use the 10.10.10.10 address option of the 7I76E to avoid overlapping
non- real time network connection IP address ranges)
2. Are you running Preempt-RT? that is did you install a real time kernel in Mint?
3. Did you run a latency test?
I would suggest running this test a hour or so while running other normal things on the PC:
latency-histogram --nobase --servo 1000000
Last edit: 15 May 2016 20:58 by PCW. Reason: clarify

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

More
16 May 2016 08:22 #74728 by cncbasher
Replied by cncbasher on topic New and Lost
you appear to be running POSIX and not rt-preempt

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

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