Am 31. März um 17:22 schrieb Günter Hammer: > Thank you for your quick answer. > > It seems to work with the alias adressing. > But there is a strange behaviour with the command line tool. > > If I call "ethercat config", i got the output i expected: > # ethercat config > 0:1 0x000012ad/0x03f03052 1 OP > 0:2 0x000012ad/0x07d83052 2 OP > 0:3 0x000012ad/0x04562c52 3 OP > 1:0 0x000012ad/0x044c2c52 4 OP > 1:1 0x000012ad/0x03f03052 5 OP > 1:2 0x000012ad/0x07d83052 6 OP > 1:3 0x000012ad/0x04562c52 7 OP > 1:4 0x000012ad/0x044c2c52 8 OP > 1:5 0x000012ad/0x03f03052 9 OP > 1:6 0x000012ad/0x07d83052 10 OP > 2:0 0x000012ad/0x044c2c52 11 OP > 2:1 0x000012ad/0x03f03052 12 OP > 2:2 0x000012ad/0x07d83052 13 OP > > > But if i call "ethercat sl", i got the following output: > # ethercat sl > 0 0:0 OP + cEA70A EBus-Adapter (2A E-Bus) > 1 0:1 OP + cDI73A 8K. Dig. Eingang 24V, 3ms > 2 0:2 OP + cDO73A 8K. Dig. Ausgang 24V, 0.5A > 3 0:3 OP + cEE70A EtherCAT-Verlaengerung > 4 1:0 OP + cEC71A EtherCAT-Koppler (2A E-Bus) > 5 1:0 OP + cDI73A 8K. Dig. Eingang 24V, 3ms > 6 1:1 OP + cDO73A 8K. Dig. Ausgang 24V, 0.5A > 7 1:2 OP + cEE70A EtherCAT-Verlaengerung > 8 1:3 OP + cEC71A EtherCAT-Koppler (2A E-Bus) > 9 1:4 OP + cDI73A 8K. Dig. Eingang 24V, 3ms > 10 1:5 OP + cDO73A 8K. Dig. Ausgang 24V, 0.5A > 11 2:0 OP + cEC71A EtherCAT-Koppler (2A E-Bus) > 12 2:1 OP + cDI73A 8K. Dig. Eingang 24V, 3ms > 13 2:2 OP + cDO73A 8K. Dig. Ausgang 24V, 0.5A > > Slave 4 and 5 have the same alias and position and the following slaves of > alias 1 are > 1 position below the expected. > Perhaps only an output error.
It looks as slave 4 and 5 both have the alias 1 programmed. Have a look at the output of 'ethercat sii_read', word 4. -- Best regards, Florian Pose http://etherlab.org _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
