<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Jun,<br>
thanks for your answer.<br>
<br>
>well, can you specify the meaning of "can't read/write
RxPDOS"?<br>
I change value with usb cable for example, i enable the driver and
the Control_World value change and i enter 500 in torque value.
The motor turn...<br>
I try to read Control_World via ethercat. It always stay to 0x00
and i try to enter 0 in torque register via ethercat to stop the
motor and the value never change and stay to 500...<br>
It's why i say that i can't read or write RxPDOS.<br>
With TXPDOS, i have the same value with ethercat and via USB
interface.<br>
And i don't understand why...<br>
<br>
>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>
Yes, i think i understand how to write or read RXPDO but my code
have no effect on the driver's register... I have no error but
nothing happen... :(<br>
<br>
<span class="hps">I hoped</span> <span class="hps">to have been
more</span> <span class="hps">clear</span> about my problem<br>
Best regards,<br>
Oliver Tempier<br>
<br>
Le 20/11/2012 12:02, Jun Yuan a écrit :<br>
</div>
<blockquote
cite="mid:CAB0kLgs9YmR2ABa4GC0h=YfTTYBnhxba60p_06cJs+o49qFqEg@mail.gmail.com"
type="cite">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);
</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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
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>
</blockquote>
<br>
</body>
</html>