[etherlab-users] CX CPU as Master Linux Slave
Graeme Foot
Graeme.Foot at touchcut.com
Wed May 11 00:28:49 CEST 2016
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:etherlab-users-bounces at etherlab.org] On Behalf Of David Jiménez Mejías
Sent: Wednesday, 11 May 2016 1:24 a.m.
To: etherlab-users at etherlab.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20160510/9552001f/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2634-graemef-cx2100_driver.patch
Type: application/octet-stream
Size: 74631 bytes
Desc: 2634-graemef-cx2100_driver.patch
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20160510/9552001f/attachment-0004.obj>
More information about the Etherlab-users
mailing list