[etherlab-users] Problems with EL9820

Andrea Fumarco - Syco fumarco at syco.it
Mon Jul 13 12:38:40 CEST 2009


> Hi,
>
> On Fri, Jul 10, 2009 at 03:51:42PM +0200, Andrea Fumarco - Syco wrote:
>>  I'm testing a Beckhoff EL9820 Evaluation Kit configured in PIC mode.
>>  I'm not able to set the slave to OP state, when I send the command:
>
> probably you don't have specified a slave configuration, have you?.
> You'll need an application using the master's application interface to
> provide a slave configuration for your slave. Please consult the master
> documentation first and have a look at the application examples.
>
> -- 
> Best regards,
> Florian Pose
>
> http://etherlab.org
>

Hi everyone,
I've made an application which makes a configuration as you can see in 
attached file mini.c, but It doesn't work yet.
I attached also sii_read, posd and sdos command output, I hope they could be 
useful to understand what's happening.

Useing command line I can read sdo at index 0x6020 subindex 0x11:

ethercat upload -t int16 0x6020 0x11

with this result:

492 0x01ec

But when I try to set to OP the state of my slave useing the command:

ethercat states OP

It responds with

kernel: EtherCAT ERROR: Failed to set SAFEOP state, slave 0 refused state 
change (PREOP + ERROR).
kernel: EtherCAT ERROR: AL status message 0x001E: "Invalid input 
configuration".
kernel: EtherCAT: Acknowledged state PREOP on slave 0.

and it goes to PREOP + ERROR state.

Thanks.
Andrea.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Beckhoff_PIC.txt
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090713/286cb35c/attachment-0012.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pdos.txt
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090713/286cb35c/attachment-0013.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sdos.txt
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090713/286cb35c/attachment-0014.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mini.c
Type: application/octet-stream
Size: 10996 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090713/286cb35c/attachment-0004.obj>


More information about the Etherlab-users mailing list