Dear Mr. Stewering-Bone,

thank you, the "git checkout stable-1.5"-command worked after
I used the commands "git reset --hard" and "git pull", since
the configure.ac file caused a problem.

the branch changed from "origin" to "stable-1.5"

I already have the Master installed and also already modified the ethercat-file with my MAC-Adress and Device Module "generic".

For the "systemctl start ethercat"-command to work, I needed to modify the ethercat.conf located in /usr/local/share/etherlan/etc/ethercat.conf by adding MAC-Adress and "generic".


The command executed and with the command "systemctl status ethercat.service" I get:

● ethercat.service - EtherCAT Master Kernel Modules
Loaded: loaded (/lib/systemd/system/ethercat.service; disabled; vendor pre> Active: active (exited) since Mon 2022-09-19 11:32:13 CEST; 32min ago Process: 6676 ExecStart=/usr/local/share/etherlab/sbin/ethercatctl start (c>
   Main PID: 6676 (code=exited, status=0/SUCCESS)
        CPU: 15ms

Sep 19 11:32:13 ec-Lenovo-V15-G2-ITL systemd[1]: Starting EtherCAT Master Kerne> Sep 19 11:32:13 ec-Lenovo-V15-G2-ITL systemd[1]: Finished EtherCAT Master Kerne>
lines 1-9/9 (END)

sudo dmesg says:

[  824.431672] ec_master: loading out-of-tree module taints kernel.
[ 824.431797] ec_master: module verification failed: signature and/or required key missing - tainting kernel
[  824.433267] EtherCAT: Master driver 1.6.0-rc1 unknown
[  824.433648] EtherCAT ERROR: MAC address may not be empty.
[ 1187.387483] EtherCAT: Master driver 1.6.0-rc1 unknown
[ 1187.387611] EtherCAT: 1 master waiting for devices.
[ 1187.406368] ec_generic: EtherCAT master generic Ethernet device module 1.6.0-rc1 unknown [ 1187.406376] EtherCAT: Accepting 88:A4:C2:BF:73:10 as main device for master 0.
[ 1187.406383] ec_generic: Binding socket to interface 2 (enp2s0).
[ 1187.411732] EtherCAT 0: Starting EtherCAT-IDLE thread.

after plugging in the slaves it reads:

[ 4590.167077] EtherCAT 0: Link state of ecm0 changed to UP.
[ 4590.168604] EtherCAT 0: 4 slave(s) responding on main device.
[ 4590.168609] EtherCAT 0: Slave states on main device: INIT.
[ 4590.169796] EtherCAT 0: Scanning bus.
[ 4590.179323] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[ 4590.531167] EtherCAT 0: Bus scanning completed in 362 ms.
[ 4590.531172] EtherCAT 0: Using slave 0 as DC reference clock.
[ 4590.532711] EtherCAT 0: Slave states on main device: INIT, PREOP.
[ 4590.545403] EtherCAT 0: Slave states on main device: PREOP.
[ 4593.595007] EtherCAT WARNING 0-3: SDO information error response while fetching SDO entry 0x1801:07! [ 4593.595012] EtherCAT ERROR 0-3: SDO abort message 0x06090011: "Subindex does not exist". [ 4593.597175] EtherCAT WARNING 0-3: SDO information error response while fetching SDO entry 0x1801:09! [ 4593.597177] EtherCAT ERROR 0-3: SDO abort message 0x06090011: "Subindex does not exist". [ 4593.619459] EtherCAT WARNING 0-3: SDO information error response while fetching SDO entry 0x1803:07! [ 4593.619462] EtherCAT ERROR 0-3: SDO abort message 0x06090011: "Subindex does not exist". [ 4593.621637] EtherCAT WARNING 0-3: SDO information error response while fetching SDO entry 0x1803:09! [ 4593.621639] EtherCAT ERROR 0-3: SDO abort message 0x06090011: "Subindex does not exist". [ 4593.894580] EtherCAT ERROR 0-3: SDO information error response while fetching SDO 0x0002! [ 4593.894583] EtherCAT ERROR 0-3: SDO abort message 0x06020000: "This object does not exist in the object directory".
[ 4601.447366] EtherCAT WARNING 0: 1 datagram TIMED OUT!
[ 4601.447373] EtherCAT WARNING 0: 1 datagram UNMATCHED!



Sadly the "ethercat ma" and "ethercat sl"-commands are still not found.


Regards
Henrik
--
Etherlab-users mailing list
Etherlab-users@etherlab.org
https://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to