[etherlab-users] Beckhoff 6731-0010 initialization

David Jiménez Mejías david.jimenez at gtc.iac.es
Thu Oct 29 11:53:22 CET 2015


Dear Wilhelm,

I was reading your replies to this issue at the EtherLab-Users mailing list 
and it was very helpful for me.
http://lists.etherlab.org/pipermail/etherlab-users/2012/001860.html

I'm trying to configure a Can Network from the Beckhoff Can Master Module 
EL6751 with only one can slave (Phoenix Contact Can I/O Terminal).

I just do it the steps like the configuration of the EL6731 (Profibus Master 
Module):
     - Configure the Can Network with TwinCAT
     - Export the XML
     - Format it with xmllint
     - And take the necessary data:
          * PDOs Entries: Tx and Rx
          * StartUp SDO config of the next Index:
               + 0x1C32
               + 0x1C33
               + 0xF800
               + 0x8000
               + 0x8001
               + 0x8002
               + 0x8003
     - Implement the C code for the configuration, but I keep out from the 
app without error at the function: 
          * ecrt_slave_config_complete_sdo(sc, 0x1C32, pb_config_buf, cnt);

The last dmesg is:

[ 9574.754735] EtherCAT: Requesting master 0...
[ 9574.754754] EtherCAT: Successfully requested master 0.
[ 9574.754984] lt-ec_user_exam[7579]: segfault at 10 ip 00007fdced6058a5 sp 
00007ffefada2900 error 4 in libethercat.so.1.0.0[7fdced601000+8000]
[ 9574.930388] EtherCAT 0: Releasing master...
[ 9574.930400] EtherCAT 0: Released.
[ 9607.095769] EtherCAT: Requesting master 0...
[ 9607.095792] EtherCAT: Successfully requested master 0.
[ 9607.095971] lt-ec_user_exam[7663]: segfault at 10 ip 00007fadcfdb98a5 sp 
00007ffedfea14c0 error 4 in libethercat.so.1.0.0[7fadcfdb5000+8000]
[ 9607.276982] EtherCAT 0: Releasing master...
[ 9607.277021] EtherCAT 0: Released.
[ 9626.248196] EtherCAT: Requesting master 0...
[ 9626.248200] EtherCAT: Successfully requested master 0.
[ 9626.248261] lt-ec_user_exam[7744]: segfault at 10 ip 00007f741d0eb8a5 sp 
00007ffe6e5358f0 error 4 in libethercat.so.1.0.0[7f741d0e7000+8000]
[ 9626.401297] EtherCAT 0: Releasing master...
[ 9626.401309] EtherCAT 0: Released.
[ 9753.014994] EtherCAT: Requesting master 0...
[ 9753.015011] EtherCAT: Successfully requested master 0.
[ 9753.015166] lt-ec_user_exam[7792]: segfault at 10 ip 00007f15e18768a5 sp 
00007ffcbd184820 error 4 in libethercat.so.1.0.0[7f15e1872000+8000]
[ 9753.161441] EtherCAT 0: Releasing master...
[ 9753.161589] EtherCAT 0: Released.
[ 9799.019908] EtherCAT: Requesting master 0...
[ 9799.019915] EtherCAT: Successfully requested master 0.
[ 9799.020082] lt-ec_user_exam[7814]: segfault at 10 ip 00007fd538ee78a5 sp 
00007ffd0c9fca80 error 4 in libethercat.so.1.0.0[7fd538ee3000+8000]
[ 9799.165522] EtherCAT 0: Releasing master...
[ 9799.165574] EtherCAT 0: Released.

I'm not sure is there is the correct information to know whats happens, tell 
me any doubt.

Thank you very much

King regards

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
-
David Jiménez Mejías - Gran Telescopio de Canarias S.A

Ingeniero de Operación / Operation Engineer





----------
ADVERTENCIA: Sobre la privacidad y cumplimiento de la Ley de Protección de Datos, acceda a http://www.gtc.iac.es/gtc/legal_es.php
WARNING: For more information on privacy and fulfilment of the Law concerning the Protection of Data, consult http://www.gtc.iac.es/gtc/legal_es.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20151029/35d436ab/attachment-0002.htm>


More information about the Etherlab-users mailing list