[Etherlab-users] Unexpected naming of EoE interfaces

Staud, Kai Kai.Staud at lachmann-rink.de
Tue Nov 5 14:27:42 CET 2024


Hello everyone,

We are using the EtheCAT-master with seven connected slaves.
When I set the station alias (ethercat alias) for the first and third slave, the master assigns the slave positions accordingly:

                                                                                              assigned interface   expected interface

0  0:0  OP  +  AS-i EtherCAT Gateway BWU3583                      -                                  -

1  1:0  OP  +  0x00000024:0x20000111                                     eoe0a1                         eoe0a1s0

2  1:1  OP  +  0x00000024:0x20000121                                     eoe0s2                         eoe0a1s1

3  2:0  OP  +  0x00000024:0x20000122                                     eoe0a2                         eoe0a2s0

4  2:1  OP  +  0x00000024:0x20000200                                     eoe0s4                         eoe0a2s1

5  2:2  OP  +  EK1100 EtherCAT-Koppler (2A E-Bus)                -                                  -

6  2:3  OP  +  EL1018 8K. Dig. Eingang 24V, 10s                      -                                  -


After “ethercatctl start” there are two kinds of used naming-schemes: eoe0a*  and eoe0s* .
One would expect, that the slaves of an alias-group ( e.g. 2:0,2:1,2:2,2:3) be named like eoe0a2s*, which uses both information from alias and slave position.
Additionally this setup only supports one static bus-setup, as any change to the bus ( e.g removing or replacing a slave due to maintenance or hot-connect)
creates different network interfaces ( due to shifts in the slave position of non-aliased slaves).

We would like to set specific ip-addresses to each slave, to use EoE in field on demand.
To provide this, one has to set one unique alias to each slave.
Can the master set the full tuple “alias:slave-position”  for each slave, so a change to the bus doesn’t change those information for existing slaves?

For the sake of completeness:
- EtherCAT Master 1.6
- Linux 6.6.23 #1 SMP PREEMPT_RT
-  aarch64
- ethercat.conf:

MASTER0_DEVICE=”end0”

DEVICE_MODULES=”generic”

Best regards,

Kai Staud

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20241105/563f32ae/attachment.htm>


More information about the Etherlab-users mailing list