Hi,

We use a Beckhoff CX2020 with a CX2100-0004 power module with EBus.  What do 
you mean by slave CPU?  Are you referring to the CX2100 module?

What version of the master are you using?  There is a CCAT driver written by 
Patrick Bruenn in the “stable-1.5” branch, but it is not in the “default” 
branch.  Are you using this?  If not, to use it you will need to build it with 
the master with the ENABLE_CCAT config flag (I think).

I don’t use this driver as I wrote my own before it was available but I assume 
you use it in the same fashion as any of the other network card drivers, where 
you load the network driver modules you want to load (eg with modprobe).  If 
you load the CCAT module first then the master should use it by preference 
(when you use the generic MAC address of FF:FF:FF:FF:FF:FF) rather than needing 
to specify a fixed MAC address.


If you are not using the CCAT driver above, are you writing your own?


I have attached a patch for the driver I use.  It is written for EtherCat 
master revision 2526 (stable-1.5) and Linux Kernel 2.6.32.  It may be useful as 
a reference.

Regards,
Graeme.



From: etherlab-users [mailto:[email protected]] On Behalf Of 
David Jiménez Mejías
Sent: Wednesday, 11 May 2016 1:24 a.m.
To: [email protected]
Subject: [etherlab-users] CX CPU as Master Linux Slave

Hi everyone!

I would like to share some data from a Beckhoff CPU, CX line, by the slave 
EtherCAT Port. Using a EtherLab Master Linux.
Is there someone with some experience on that issue?

I configure the TxPDO and RxPDO in the Slave CPU, and the only way that I get 
the Linux Master reads its PDOs is with the slave CPU on config mode. I'm 
studing this procedure from zero, then, if there is someone with some 
informatuion about it I will so grateful.

Thanks in advance


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

David Jiménez Mejías






----------
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

Attachment: 2634-graemef-cx2100_driver.patch
Description: 2634-graemef-cx2100_driver.patch

_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to