[etherlab-users] slaves not configured + ERROR: Failed to set SAFEOP state, slave 1 refused state change (PREOP + ERROR).

Florian Pose fp at igh-essen.com
Wed Mar 3 22:18:17 CET 2010


Hi again,

On Thu, Feb 25, 2010 at 01:50:20PM +0100, Richter, Christian wrote:
> I'm new on EtherCAT and have some trouble on statechange request with the
> command-line-tool.
>  
> Heres the Error from dmesg:  
>  
> slaves are Beckhoff EL(1&2: 2521,3: 2034,4: 6731,5: 6692,6: 6601) slave 0 EK1100
> Master1.5
> Sure some more experienced users can help me.
>  
> Best regards
> [ 576.894622] EtherCAT WARNING: Slave 1 is not configured.
> [ 576.895631] EtherCAT ERROR: Failed to set SAFEOP state, slave 1 refused state
> change (PREOP + ERROR).
> [ 576.895792] EtherCAT ERROR: AL status message 0x001E: "Invalid input
> configuration".
> [ 576.896625] EtherCAT: Acknowledged state PREOP on slave 1.

Slaves usually need to be configured before going to SAFEOP/OP. You will
have to write an application in C/C++ that provides slave configurations
and operates the slaves cyclically. Please have a look at the examples
and the API docs.

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-users mailing list