[etherlab-users] Problems using Beckhoff EL3162 with Etherlab Simulink blockset - does not switch from PREOP to OP
Richard Hacker
ha at igh.de
Sun Mar 1 20:19:35 CET 2015
Hi,
you may be using an old version of the slave. What version are you
using? (ethercat slave -v -p?)
You will need to use the generic slave in this case. Run the following
command
ethercat pdos -pX --skin etherlab
and save it in el3162.m. Then insert this function for "EtherCAT Slave
Configuration struct".
Attached is a function I used for another slave. You may use it for
comparison.
- Richard Hacker
On 01.03.2015 17:28, Sebastian Rehberger wrote:
> Hi,
>
> We’re trying to read analog output signals from a EL3162 input device.
> The Master is up and running, and other EL1004/EL2004 devices are
> functioning properly. Also two EL4102 analog output devices are working
> and behave normally.
>
>
> The EL3162 does not switch from PREOP to SAFEOP or OP, neither by
> command line (“sudo ./ethercat states –p 9 SAFEOP”), nor during
> execution of the simulink generated Etherlab application. However,
> Syslog gives the following debugging information:
>
> Mar 1 17:18:50 ubuntu kernel: [ 4960.647334] EtherCAT ERROR 0-9: SDO
> download 0x8000:06 (1 bytes) aborted.
>
> Mar 1 17:18:50 ubuntu kernel: [ 4960.647338] EtherCAT ERROR 0-9: SDO
> abort message 0x06020000: "This object does not exist in the object
> directory".
>
> Mar 1 17:18:50 ubuntu kernel: [ 4960.647340] EtherCAT ERROR 0-9: SDO
> configuration failed.
>
> In the slave list (“sudo. /ethercat slaves –p 9”), the EL3162
> immediately sets the error flag after execution of the Simulink application.
>
> Has anyone experienced similar problems or may support with further
> debugging methods?
>
> Kind Regards,
>
> Sebastian
>
>
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: el3162.m
Type: text/x-objcsrc
Size: 542 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20150301/42fb9332/attachment-0004.bin>
More information about the Etherlab-users
mailing list