Znaleziono 3 wyniki

autor: kszumek
22 sty 2026, 15:17
Forum: LinuxCNC (dawniej EMC2)
Temat: lichuan przez Ethercat [Linux]
Odpowiedzi: 5
Odsłony: 709

Re: lichuan przez Ethercat [Linux]

Witam
mam najnowszy linuxcnc 2.9.8
serwa nie mam , mam różne moduły do ek1100 , np El5151 ,El4002
wyślij mi jeszcze raz ethercat-conf.xml który używasz ,hal , ini oraz co zwraca polecenie w konsoli
ethercat pdos, ,
autor: kszumek
20 sty 2026, 09:20
Forum: LinuxCNC (dawniej EMC2)
Temat: lichuan przez Ethercat [Linux]
Odpowiedzi: 5
Odsłony: 709

Re: lichuan przez Ethercat [Linux]

Witam
spróbuj odpalić linuxcnc z samym tylko ek1100
niekoniecznie może być to problem z xml

zobacz czy przy przepisywaniu tego nie masz nigdzie literówki :
To ensure the ethercat port has permissions on startup. Create a udev rule
sudo geany /etc/udev/rules.d/99-ethercat.rules
Add the following:
KERNEL=="EtherCAT[0-9]", MODE="0777"
Save and exit, then type
sudo udevadm control --reload-rules
and reboot your computer.
Without this, on a restart, you always needed to chmod the ethercat port.

wcześniej próbowałem zainstalować na 2.9.4 i do dziś nie wiem dlaczego mi nie chciał się uruchomić
chyba był jakiś problem z różnymi wersjami i nazewnictwem
te pierwsze zdjecie co wrzuciłeś to miałem nawet w tym niechodzącym

Dodane 20 minuty 50 sekundy:
Jaki masz firmware w serwie bo sie doszukałem że sa inne xml dla różnych wersji
autor: kszumek
19 sty 2026, 10:16
Forum: LinuxCNC (dawniej EMC2)
Temat: lichuan przez Ethercat [Linux]
Odpowiedzi: 5
Odsłony: 709

Re: lichuan przez Ethercat [Linux]

Witam
skąd jesteś ?
działa ci chociaż ek1100 + jakieś we wy el1002, el2002 ?

Dodane 6 minuty 12 sekundy:
Masz najprostszy działąjacy do testu

<?xml version="1.0" encoding="UTF-8"?>
<masters>
<master idx="0" appTimePeriod="1000000" refClockSyncCycles="1">
<!-- EK1100 coupler (bus head) -->
<slave idx="0" type="EK1100" name="EK1100"/>

<!-- first EL2004 (4-channel digital outputs) -->
<slave idx="1" type="EL2004" name="EL2004_1">

</slave>

</master>
</masters>

Dodane 1 minuta 29 sekundy:
+ minimum wpisów w .hal

loadusr -W lcec_conf /home/sz/linuxcnc/configs/ethercat/ethercat-conf.xml
loadrt lcec

addf lcec.read-all servo-thread
addf lcec.write-all servo-thread

net spindle-on lcec.0.EL2004_1.dout-0
net spindle-cw lcec.0.EL2004_1.dout-1

Wróć do „lichuan przez Ethercat [Linux]”