[etherlab-users] Initializing CanOpen Master Module EL6751-0010

David Jiménez Mejías david.jimenez at gtc.iac.es
Wed Oct 28 11:13:55 CET 2015


Hello,

I just trying to configure a CanOpen Network with a CanOpen Master Module 
EL6710-0010 (Beckhoff), and get some doubts and issues.
I proceed just the module infosys website indicates, I did the next steps:
- Configure the BaudRate SDO:

# ./ethercat download -p4 -t uint8 0xF800 2 3 (250KBauds)

- Request a Detect Module Command

# ./ethercat download -p4 -t uint16 0xF002 1 0x11

     -> At this step I need to write "something" to a octet_string[2] entry, 
with this format the requested commando doesn work, I do it using a uint16. 
Does someone know which octet is the expected?

- After the request command I observe the percent counter process:

# ./ethercat upload -p4 -t uint8 0xF002 2
0x80 128
# ./ethercat upload -p4 -t uint8 0xF002 2
0x95 149

- Until it keeps on value 0x01:

# ./ethercat upload -p4 -t uint8 0xF002 2
0x01 1

- It means, reading at infosys, that: "Command ended without error, response 
data in SubIndex 3", then I tried read the octet_string[n] directly from the 
terminal, but it can't be possible, then I do:

# ./ethercat upload -p4 -t octet_string 0xF002 3 > ~/prescan.out

- This output file is:

00000000   01 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  
................
00000010   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  
................
00000020   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  
................
00000030   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  
................
00000040   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  
................
00000050   00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00  
................

     -> The first octet_couple correspond with the infosys website detail, 
al the next is 0.

- I tried to repeat the request command but I get the next error:

# ./ethercat download -p4 -t octet_string 0xF002 1 0x22
SDO transfer aborted with code 0x08000021: Data cannot be transferred or 
stored to the application because of local control

This is the point where i'm get stacked.

Is there some one that have some experience with this type of modules?

Thank you very much

Best 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/20151028/27de5e26/attachment-0002.htm>


More information about the Etherlab-users mailing list