[etherlab-users] Etherlab example mini module

Thomas Elste thomas.elste at imms.de
Wed Jul 25 15:24:03 CEST 2007


Hi,

here is another patch for netX slaves. This one enables
the master to use LRD/LWR datagrams instead of LRW, which is
necessary for the netX. (The patch contains my previous
extended config patch, so you have to start with a clean
source tree, before applying.)

With this patch and the mini module from the examples in the
master tree, I'm able to exchange process data with the netX.
The domain config in the example looks like this:

ec_pdo_reg_t domain1_pdos[] = {
/* { Busaddress, Vendor, Product, PDO index, PDO subindex,
      pointer } */
     { "0", 0x00000044, 0x6E657478, 0x2003, 1, &r_dig_out },
     { "0", 0x00000044, 0x6E657478, 0x2004, 1, &r_dig_in  },
     {}
};


However, as I've no access to other slaves at the moment,
testing my modifications was limited to one netX slave.
So there maybe plenty of bugs left.


Greets
Thomas


-- 
Dipl.-Inf. Thomas Elste

Institut fuer Mikroelektronik- und Mechatronik-Systeme gGmbH
Ehrenbergestraße 27, 98693 Ilmenau, Germany
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ec-1.2.0_netX.patch
Type: application/octet-stream
Size: 21075 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20070725/d2bef1ad/attachment-0003.obj>


More information about the Etherlab-users mailing list