Problem bei installation Ethercat

More
5 years 2 weeks ago #222928 by Columbo
Replied by Columbo on topic Problem bei installation Ethercat

File Attachment:

File Name: ethercat_c...0-12.xml
File Size:5 KB

File Attachment:

File Name: 21_10_11_V...0-12.txt
File Size:26 KB


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.

More
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

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

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

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

More
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

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

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

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

Moderators: Muecke
Time to create page: 0.147 seconds
Powered by Kunena Forum