<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Matthieu,<br>
<br>
Sorry, copy/paste is a dangerous tool..........<br>
When I send commands, I wrote correct size.....<br>
<br>
root@LEIPC:~ ./ethercat -p3 --type uint8 download 0x1C12 0 0<br>
root@LEIPC:~ ./ethercat -p3 --type uint8 download 0x1C13 0 0<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 download 0x1C12 1 0x1700<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 download 0x1C12 2 0x1708<br>
root@LEIPC:~ ./ethercat -p3 --type uint8 download 0x1C12 0 2<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 download 0x1C13 1 0x1B00<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 download 0x1C13 2 0x1B08<br>
root@LEIPC:~ ./ethercat -p3 --type uint8 download 0x1C13 0 2 <br>
root@LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C13 1<br>
0x001b 27<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C13 2<br>
0x081b 2075<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C12 1<br>
0x0017 23<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C12 2 <br>
0x0817 2071<br>
root@LEIPC:~ <br>
<br>
The same output. I dont understand why swap bytes..<br>
<br>
Best regards.<br>
<br>
<br>
El 03/10/12 16:46, Matthieu Bec escribió:
<blockquote cite="mid:506C4FE0.6020003@gmto.org" type="cite">
<br>
Hello John,
<br>
<br>
try download using types that fit the target size, that might look
like:
<br>
<br>
./ethercat -p3 --type uint8 download 0x1C12 0 0
<br>
./ethercat -p3 --type uint8 download 0x1C13 0 0
<br>
./ethercat -p3 --type uint16 download 0x1C12 1 0x1700
<br>
./ethercat -p3 --type uint16 download 0x1C12 2 0x1708
<br>
./ethercat -p3 --type uint8 download 0x1C12 0 2
<br>
./ethercat -p3 --type uint16 download 0x1C13 1 0x1B00
<br>
./ethercat -p3 --type uint16 download 0x1C13 2 0x1B08
<br>
./ethercat -p3 --type uint8 download 0x1C13 0 2
<br>
<br>
Matthieu
<br>
<br>
<br>
On 10/03/12 05:44, John Martin wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
I have a problem with servo drive and ethercat.
<br>
I send this commands to servo drive.....
<br>
<br>
./ethercat -p3 --type uint8 download 0x1C12 0 0
<br>
./ethercat -p3 --type uint8 download 0x1C13 0 0
<br>
./ethercat -p3 --type uint8 download 0x1C12 1 0x1700
<br>
./ethercat -p3 --type uint8 download 0x1C12 2 0x1708
<br>
./ethercat -p3 --type uint8 download 0x1C12 0 2
<br>
./ethercat -p3 --type uint8 download 0x1C13 1 0x1B00
<br>
./ethercat -p3 --type uint8 download 0x1C13 2 0x1B08
<br>
./ethercat -p3 --type uint8 download 0x1C13 0 2
<br>
<br>
and now I read this PDO with this result........
<br>
<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C13 2
<br>
0x081b 2075
<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C13 1
<br>
0x001b 27
<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C12 1
<br>
0x0017 23
<br>
root@LEIPC:~ ./ethercat -p3 --type uint16 upload 0x1C12 2
<br>
0x0817 2071
<br>
<br>
I am not sure, but I suppose that information is not
correct...........
<br>
I dont find any option about big and little endian in configure
step.
<br>
<br>
Any advice??
<br>
<br>
Best regards.
<br>
_______________________________________________
<br>
etherlab-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.etherlab.org/mailman/listinfo/etherlab-users">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.09080802.08050404@larraioz.com" border="0"></div>
</body>
</html>