[Etherlab-users] Estun EE-R0: Invalid input configuration

Richard Hacker ha at igh.de
Wed Mar 3 09:42:57 CET 2021


Hi Dirk


> How do you see that they are wrong? Sorry, still a noob...
[ 8413.402490] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave 
refused state change (PREOP + ERROR).
[ 8413.402734] EtherCAT ERROR 0-0: AL status message 0x001E: "Invalid 
input configuration".

> I did not configure them at all. I simply took the slave that was connected and operational on our Acontis EtherCAT master and connected the CAT5 cable to the Etherlab controller.
> I had tried configuring it manually in Etherlab before but always ran into this input configuration error.
Some masters (not ours) read the SII eeprom and autoconfigure the slaves 
with their default. Then they work.

Our master requires the slave to be known _before_ the network starts. 
There are pro's and con's with this concept:
con: no auto config (but see below)
pro: you can start the master *without* being connected and attach the 
network later. That is why the master cannot rely on reading SII, hence 
no autoconfig. You can't have both :(

I like the latter, it is more explicit than implicit (rule #2 in 'python 
-c "import this"' ... and this is a good lecture), but the learning 
curve is steeper.

So:
$ ethercat cstruct
and merge that into the example and you should be going.


Mit freundlichem Gruß

Richard Hacker

-- 
------------------------------------------------------------------------

Richard Hacker M.Sc.
richard.hacker at igh.de
Tel.: +49 201 / 36014-16

Ingenieurgemeinschaft IgH
Gesellschaft für Ingenieurleistungen mbH
Nordsternstraße 66
D-45329 Essen

Amtsgericht Essen HRB 11500
USt-Id.-Nr.: DE 174 626 722
Geschäftsführung:
- Dr.-Ing. Siegfried Rotthäuser
- Dr. Sven Beermann, Prokurist
Tel.: +49 201 / 360-14-0
http://www.igh.de

------------------------------------------------------------------------


More information about the Etherlab-users mailing list