Hi Olivier,<br><br>well, can you specify the meaning of "can't read/write RxPDOS"?<br><br>in your code, you read the EPOS3_0_Control_Word, which shows 0x00. It looks fine, as you didnot set the value to anything else. So you CAN read RxPDO EPOS3_0_Control_Word. And by default it is 0x00. What did you expect?<br>
<pre>printk(KERN_INFO PFX "RxPDOs********************************************************************* \n");
status=EC_READ_U16(domain1_pd + EPOS3_0_Control_Word);
printk(KERN_INFO PFX "Robotics => Cyclic_task=>EPOS3_0 Control Word = %d \n",status);<br><br></pre>And you've tried to set EPOS3_0_Target_Torque to 0,<br><pre>EC_WRITE_S16(domain1_pd + EPOS3_0_Target_Torque,0);</pre>
<div class="gmail_extra">So you know how to write a RXPDO. Everything look fine. I didn't see you write any other RxPDOs, so why did you say you can't read/write them? Where is exactly the problem? <br><br>Best Regards,<br>
Jun <br><br><div class="gmail_quote">On Tue, Nov 20, 2012 at 10:40 AM, Olivier Tempier <span dir="ltr"><<a href="mailto:olivier.tempier@lirmm.fr" target="_blank">olivier.tempier@lirmm.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hello,<br>
I try to use an maxon EPOS3 driver with igh ethercat library.<br>
I wrote a test code in c, all seems ok. I don't see any message error in debug file.<br>
But i can't read/write RxPDOS and i don't see why... I have no problem to read TXPDOs...<br>
I join debug file and my source file.<br>
I'm on this problem for a week, i'm starting to go crazy :p<br>
Please, If someone could help me?<br>
Regards<br>
Oliver TEMPIER<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
etherlab-users mailing list<br>
<a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
<a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jun Yuan<br>[Aussprache: Djün Üän]<br><br>Robotics Technology Leaders GmbH<br>Am Loferfeld 58, D-81249 München<br>Tel: +49 89 189 0465 24<br>Mobile: +49 176 2176 5238<br>
Fax: +49 89 189 0465 11<br>mailto: <a href="mailto:j.yuan@rtleaders.com" target="_blank">j.yuan@rtleaders.com</a><br><br>Umlautregel in der chinesischen Lautschrift Pinyin: Nach den Anlauten y, j, q, und x wird u als ü ausgesprochen, z.B. yu => ü, ju => dschü, qu => tschü, xu => schü.<br>
</div>