Beckhoff ethercat 64 with bit linuxcnc, How to install.

More
5 years 4 months ago #211106 by tommylight
Ahoj Slav,
Pretty sure there is an ISO with ethercat installed in one of these links made by Grotius, so try to find it.
There should be several versions so find the latest.
forum.linuxcnc.org/38-general-linuxcnc-q...ntrol-in-c-c?start=0
forum.linuxcnc.org/38-general-linuxcnc-q...inuxcnc-link?start=0

Please Log in to join the conversation.

More
5 years 4 months ago #212868 by wang
Hello, I encountered such a problem when I executed : sudo ./get_source.sh
I get this :
qxh@qxh-w:~/2/linuxcnc-dev/ec-debianize$ sudo ./get_source.sh
Cloning HG commit 33b922...
adding changesets
adding manifests
adding file changes
added 2112 changesets with 8177 changes to 1502 files
updating to branch default
1116 files updated, 0 files merged, 0 files removed, 0 files unresolved
Cloning patchset commit 8ea394...
adding changesets
adding manifests
adding file changes
added 13 changesets with 528 changes to 310 files
updating to branch default
145 files updated, 0 files merged, 0 files removed, 0 files unresolved
Apply patchset...
hg: unknown command 'qpush'
'qpush' is provided by the following extension:

mq manage a stack of patches

use "hg help extensions" for information on enabling extensions

Can you help me solve it? Thank you

Please Log in to join the conversation.

More
5 years 4 months ago #212875 by Nico2017
Hi @Wang,

please see post: forum.linuxcnc.org/27-driver-boards/3559...tall?start=50#157205 , on the earlier page of this thread (p6 by default).

I hope this helps.

Nico2017 wrote: Hi,

I think this is because the first step which use mercurial (hg) did not completely succeed. Restart from the install EtherCAT step 0
Make sure you got:

sudo apt-get install quilt

before. But this is more likely due to the mercurial hg options. At the first step doing:
Code:
cd ec-debianize ./get_source.sh
Read carefully the output. There might be an error indicated even if it is not clearly flagging it. This might implies hg extensions which use the qpush command which requires the mq extension. To add an extension in mercurial, follow the suggested help displayed on the terminal, creating a ~/.hgrc , ie on your home directory. Then edit this file as a text file:
Code:
[extensions] mq =
Retry step ./get_source.sh till you got a complete success of this step. I have noticed that this might work or not depending how you did the git cloning with or without root privilege. Same thing with the creation of the .hgrc file. You might have also to
Code:
sudo ./get_source.sh
as this is copying some files in specific locations.

Let me know how it this help, at least send the output of the ./get_source.

Once this step is successful you can carry on the installation

Thank you,
Nicolas

Please Log in to join the conversation.

More
5 years 4 months ago #212888 by wang
I read your post and I also encountered this problem. I would like to ask how you linked to the real-time kernel
I think you said to delete the non-real-time kernel mandatory link, but how to delete the non-real-time kernel and not update a new kernel? Because sudo apt-get remove linux-image-*** he will install a new high version kernel. And do you need to reinstall ec-debianizer

_16246131018073.png[/attachment]attachment]

Please Log in to join the conversation.

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

Please Log in to join the conversation.

More
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?

Please Log in 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 to join the conversation.

More
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
forum.linuxcnc.org/27-driver-boards/3559...all?start=110#184991

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

Please Log in 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 to join the conversation.

More
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

Please Log in to join the conversation.

Time to create page: 0.212 seconds
Powered by Kunena Forum