[etherlab-users] Example for Kollmorgen AKD free PDO mapping

Sebastien Blanchet blanchet at iram.fr
Fri Apr 13 14:45:45 CEST 2012


Hi,

In a previous message I had a problem with a Kollmorgen AKD drive and the fixed 
mapping.
http://lists.etherlab.org/pipermail/etherlab-users/2012/001682.html

It is not really solved yet, but instead I have found how to use the free PDO 
mapping of Kollmorgen AKD drive with etherlab.

Therefore I post here an example to help people who start using this device.

Firstly, use 'ethercat download' to set the right SDO sequence to define the 
wanted PDO mapping on the AKD. (use dmesg to see the SDO errors if any)
For example see attachment akd_free_pdo.sh

Secondly, when you have find the right SDO sequence, use the output of 'ethercat 
cstruct' to write your C program and rewrite your SDO sequence with 
ecrt_slave_config_sdo{8,16,32} calls, just before configuring the PDOs
For example see attachement akd_free_pdo.c

Regards

---
sebastien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: akd_free_pdo.sh
Type: application/x-shellscript
Size: 1893 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20120413/b83b76d4/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: akd_free_pdo.c
Type: text/x-csrc
Size: 7013 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20120413/b83b76d4/attachment-0005.c>


More information about the Etherlab-users mailing list