- Posts: 53
- Thank you received: 0
Problem bei installation Ethercat
- Columbo
- Offline
- Senior Member
-
Less
More
5 years 2 weeks ago #222928
by Columbo
Die Datei 21_10_11_Vorlage.txt muss noch in .tsproj geändert werden. Ich kann keine .tsproj Datei hier hochladen.
Replied by Columbo on topic Problem bei installation Ethercat
Die Datei 21_10_11_Vorlage.txt muss noch in .tsproj geändert werden. Ich kann keine .tsproj Datei hier hochladen.
Please Log in or Create an account to join the conversation.
- Columbo
- Offline
- Senior Member
-
Less
More
- Posts: 53
- Thank you received: 0
5 years 2 weeks ago #222930
by Columbo
Replied by Columbo on topic Problem bei installation Ethercat
...wenn ich mich richtig erinnere, habe ich dieses Image installiert:
github.com/grotius-cnc/LINUX_RTOS
War sehr einfach. Auf dem Desktop lag nach der Installation ein Skript, dass alle EC-Komponenten geladen hat. In der /etc/default/ethercat nur die MAC angepasst und update-ethercat-config ausgeführt.
uname -r
4.19.0-11-rt-amd64
weitere Info gebe ich gerne!
Grüße
Columbo
Grüße
github.com/grotius-cnc/LINUX_RTOS
War sehr einfach. Auf dem Desktop lag nach der Installation ein Skript, dass alle EC-Komponenten geladen hat. In der /etc/default/ethercat nur die MAC angepasst und update-ethercat-config ausgeführt.
uname -r
4.19.0-11-rt-amd64
weitere Info gebe ich gerne!
Grüße
Columbo
Grüße
Please Log in or Create an account to join the conversation.
- db1981
- Offline
- Platinum Member
-
Less
More
- Posts: 790
- Thank you received: 276
5 years 2 weeks ago #222932
by db1981
Replied by db1981 on topic Problem bei installation Ethercat
kann ich irgendwo den inhalt des ec installations Skript einsehen?
Please Log in or Create an account to join the conversation.
- Columbo
- Offline
- Senior Member
-
Less
More
- Posts: 53
- Thank you received: 0
5 years 2 weeks ago #222948
by Columbo
Replied by Columbo on topic Problem bei installation Ethercat
dieses .sh Skript wird ausgeführt:
Code:
#!/bin/sh
# 1.0 Patch mercurial, this is only needed when downloading from etherlab-hg source with mercurial.
# search for hg config file in your /c drive : $ hg config --debug
# enable qpush in config file by adding :
# [extensions]
# mq =
rm -rf /etc/mercurial/hgrc
cp /usr/share/ethercat/install_script/hgrc /etc/mercurial/
# 2.0 Install ethercat ==> https://github.com/grotius-cnc/ethercat-hg/releases/tag/1.2
# 2.1 Build .deb packages, if it trows an error, check if your kernel header files are present.
#/usr/share/ethercat/ethercat_source/etherlabmaster/dpkg-buildpackage
# 2.2 Install .deb packages located in /usr/share/ethercat/ethercat_source/
dpkg -i /usr/share/ethercat/ethercat/etherlabmaster_1.5.2+20190904hg33b922p8ea394-1_amd64.deb
# 2.3 Delete previous installed ethercat file by step #2 at /etc/default/ethercat.
rm /etc/default/ethercat
echo "Remove ethercat file in /etc/default/ethercat"
# 2.4 Copy blanco ethercat file to /etc/default/
cp /usr/share/ethercat/install_script/ethercat /etc/default/
# 2.5 Append text "mac-adres" to blanco ethercat file.
echo MASTER0_DEVICE="$(cat /sys/class/net/enp0s25/address)" >> /etc/default/ethercat
echo ".. Retrieved MAC adres : $(cat /sys/class/net/enp0s25/address)"
echo ".. .. Appending MAC adres to last line of ethercat file /etc/default/"
# 2.6 Changing priveleges to /etc/udev/rules.d/00-ethercat.rules
# Set the file permissions
chmod go+rwx /etc/udev/rules.d/99-ethercat.rules
# Add new priveleges
echo "KERNEL=="\"EtherCAT[0-9]*\"", MODE="\"777\"", GROUP=""\"ethercat\"" > /etc/udev/rules.d/99-ethercat.rules
# /dev/EtherCAT0
#chmod go+rwx /dev/EtherCAT0
# 3.0 Install linuxcnc-ethercat from source
# be sure libexpat1-dev is installed
make -C /usr/share/ethercat/linuxcnc_ethercat/
echo "Compiling the linuxcnc-ethercat lcec driver"
# 3.1 Copy "lcec.so" to /usr/lib/linuxcnc/modules/
cp /usr/share/ethercat/linuxcnc_ethercat/src/lcec.so /usr/lib/linuxcnc/modules/
# 3.2 Add rights to lcec_conf
chmod 777 /usr/share/ethercat/linuxcnc_ethercat/src/lcec_conf
# 4.0 Ethercat bus not started, try again :
# 4.1 Update ethercat config
update-ethercat-config
# 4.2 Start ethercat bus without rebooting
systemctl restart systemd-modules-load.service
Please Log in or Create an account to join the conversation.
- Columbo
- Offline
- Senior Member
-
Less
More
- Posts: 53
- Thank you received: 0
5 years 2 weeks ago #222949
by Columbo
Replied by Columbo on topic Problem bei installation Ethercat
....das wollte ich auch noch schicken:
ethercat version:
IgH EtherCAT master 1.5.2 unknown
ethercat version:
IgH EtherCAT master 1.5.2 unknown
Please Log in or Create an account to join the conversation.
- db1981
- Offline
- Platinum Member
-
Less
More
- Posts: 790
- Thank you received: 276
5 years 2 weeks ago #222956
by db1981
Replied by db1981 on topic Problem bei installation Ethercat
Mmhhh, *kopfschüttel* ....
wenn das alles ist, dann ist das sehr strange... verstehe auch nicht wieso der Kollege alles auf seinen Account klonen muss anstelle die aktuellen original und "vollständigen" Quellen zu benutzen. macht keine Sinn. (außer für Marketing....)
an der etherlab installation müssten wir etwas ändern, sonst kann ich da keine vernünftigen Aussagen zu treffen.
wenn das alles ist, dann ist das sehr strange... verstehe auch nicht wieso der Kollege alles auf seinen Account klonen muss anstelle die aktuellen original und "vollständigen" Quellen zu benutzen. macht keine Sinn. (außer für Marketing....)
an der etherlab installation müssten wir etwas ändern, sonst kann ich da keine vernünftigen Aussagen zu treffen.
Please Log in or Create an account to join the conversation.
Moderators: Muecke
Time to create page: 0.147 seconds