Beckhoff ethercat 64 with bit linuxcnc, How to install.

More
5 years 4 months ago #212889 by wang
Thanks, your answer solved my problem
thank you very much

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

More
5 years 4 months ago - 5 years 4 months ago #213114 by wang
兄弟,我遇到了一个问题
当我“sudo update-ethercat-config”时我得到
Code:
Updating EtherCAT master confiuration update-initramfs: Generating /boot/initrd.img-3.13.0-117-generic done.

but i want get that:
Code:
[color=#c0392b][b][code][code]Updating EtherCAT master confiuration update-initramfs: Generating /boot/initrd.img-3.4.9-rt17 done
[/code][/b][/color][/code]


why the Ethercat cannot link to the rt-preempt kernel?
Last edit: 5 years 4 months ago by wang.

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

More
5 years 3 months ago #216034 by TheRoslyak
Has anyone encountered a problem: the current in the drive periodically jumps. Most often this happens
when the computer is loaded, it can also happen in unloaded, but not often.

I try to up refClockSyncCycles in xml. But it doesn't work. Maybe it's configure in this line
<dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="250000"/>
<watchdog divider="2498" intervals="1000"/>
Tell me who encounter with this problem

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

More
5 years 3 months ago - 5 years 3 months ago #216127 by endian
hello folks,

excuse me for disturbing.

why is it disable 8139too network card during installation of ethercat from this TODO list
[url] forum.linuxcnc.org/27-driver-boards/3559...all?start=110#184991 [/url]

in the section
Code:
-- Get the ethercat software $ hg clone hg.code.sf.net/p/etherlabmaster/code ethercat-hg $ cd ethercat-hg $ hg update stable-1.5 -- Install the ethercat software $ ./bootstrap here  -------          $ ./configure --disable-8139too --with-linux-dir=/usr/src/linux-headers-4.19.0-11-rt-amd64/ $ make all modules $ sudo make modules_install install $ sudo depmod

there I have to use "generic" driver for all types of network cards but how I read it should affect latency...

I actually have realtek 8139 network card... but driver looks like turned off during the instalation because when I changed driver type in 
Code:
/etc/default/ethercat
from
Code:
DEVICE_MODULES="generic"
to
Code:
DEVICE_MODULES="8139too"
after
Code:
sudo update-ethercat-config
it showed me warrning
Code:
Updating EtherCAT master confiuration modinfo: ERROR: Module ec_8139too not found. update-initramfs: Generating /boot/initrd.img-4.19.0-11-rt-amd64

is it soooo much difference between "8139too" and "generic" driver as was told in other topic please?

thanks, Slav
Last edit: 5 years 3 months ago by endian.

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

More
5 years 3 months ago #216132 by Grotius
Hi Foxington,

It's just a config choice. The install script is limited. The script has no logic for searching for a installed 8139 driver.
 

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

More
5 years 3 months ago - 5 years 3 months ago #216133 by endian
Grotius,

and is here any possibility to turn on or allow 8139too driver back again please?

It was just dis-enabled during the installation of ethercat if I am not wrong?

when I typed
Code:
root@debian:/home/cnc# lspci -v | grep "Ethernet\|driver"|grep -A1 Ethernet 00:19.0 Ethernet controller: Intel Corporation 82567LM-3 Gigabit Network Connection (rev 02)     Kernel driver in use: e1000e -- 10:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 10)     Subsystem: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter     Kernel driver in use: 8139too

there are two drivers in kernel now, e1000e on integrated network card and pci port 8139too... but if I both mac adresses and names replaced in ethercat config
Code:
MASTER0_DEVICE=
I will have same error of
Code:
Updating EtherCAT master confiuration modinfo: ERROR: Module ec_8139too not found. update-initramfs: Generating /boot/initrd.img-4.19.0-11-rt-amd64 or Updating EtherCAT master confiuration modinfo: ERROR: Module ec_e1000e not found. update-initramfs: Generating /boot/initrd.img-4.19.0-11-rt-amd64
Last edit: 5 years 3 months ago by endian.

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

Time to create page: 0.404 seconds
Powered by Kunena Forum