<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,
<div class="moz-forward-container">
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">
<div>the documentation seems inconsistent. f800:10 and f800:11
are shown in TwinCATs CoE tab (see attachment) but not in
the documentation.<br>
Anyway, we tried not to set f800:0,11,12: the result is
another error message while writing 8000:0 :</div>
<div><br>
</div>
<div>SDO download 0x8000 (110 bytes) aborted.</div>
<div>SDO abort message 0x08000021: "Data cannot be transferred
or stored to the application beaucse of local control".</div>
<div>SDO configuration failed.</div>
<div><br>
</div>
<div>and the green MNS led is not starting to blink. (When
writing 0x0b to f800:0 the led starts blinking, but we are
getting the timeout message)</div>
<div><br>
</div>
<div>If we set the 8000:XY fields manually and not setting
8000:0, we're not getting the "cannot be transferred..."
error but later the pdo assignment fails.</div>
<div><br>
</div>
<div><span style="font-size: 10pt;">It seems the subindex 0
has a "special" meaning for both of them.</span></div>
<div><br>
</div>
<div>Even, when downloading values to 0x8000 with the ethercat
tool, the device seems to not keep the values. See an
example:</div>
<div><br>
</div>
<div>
<div>[etherlab@EtherLab ~]$ sudo ./ethercat-tool -p5 --type
uint16 download 0x8000 1 0x3f</div>
<div>[etherlab@EtherLab ~]$ sudo ./ethercat-tool -p5 --type
uint16 upload 0x8000 1 </div>
<div>0x0000 0</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div>Kind regards<br>
<br>
<br>
Codesnippet:<br>
/**************************************************************************<br>
//ecrt_slave_config_sdo8(sc, 0xf800, 0, 0x0b);<br>
ecrt_slave_config_sdo16(sc, 0xf800, 1, 0x003f);<br>
ecrt_slave_config_sdo16(sc, 0xf800, 2, 0x0003);<br>
ecrt_slave_config_sdo16(sc, 0xf800, 3, 0x006c);<br>
ecrt_slave_config_sdo16(sc, 0xf800, 4, 0x000c);<br>
ecrt_slave_config_sdo16(sc, 0xf800, 5, 0x0060);<br>
ecrt_slave_config_sdo16(sc, 0xf800, 6, 0x1a01);<br>
ecrt_slave_config_sdo32(sc, 0xf800, 7, 0x01785634);<br>
//ecrt_slave_config_sdo8(sc, 0xf800, 8, 0x0b);
//octet_string BECKHOFF EL6752-0000<br>
ecrt_slave_config_sdo16(sc, 0xf800, 9, 0x0000);<br>
//ecrt_slave_config_sdo8(sc, 0xf800, 10, 0x00);<br>
//ecrt_slave_config_sdo8(sc, 0xf800, 11, 0x00);<br>
<br>
<br>
//ecrt_slave_config_complete_sdo(sc, 0xf800,
sdo_config_0xf800, sizeof(sdo_config_0xf800));<br>
ecrt_slave_config_complete_sdo(sc, 0x8000,
sdo_config_0x8000, sizeof(sdo_config_0x8000));<br>
<br>
// ecrt_slave_config_sdo16(sc, 0x8000, 1, 0x003f);<br>
// ecrt_slave_config_sdo16(sc, 0x8000, 0x0D, 2);<br>
// ecrt_slave_config_sdo16(sc, 0x8000, 0x0E, 0x0064);<br>
// ecrt_slave_config_sdo16(sc, 0x8000, 0x10, 0x0064);<br>
// ecrt_slave_config_sdo16(sc, 0x8000, 0x11, 0x0014);
<br>
// ecrt_slave_config_sdo16(sc, 0x8000, 0x17, 0x0014); <br>
// ecrt_slave_config_sdo16(sc, 0x8000, 0x1E, 0x0010); <br>
// ecrt_slave_config_sdo16(sc, 0x8000, 0x1F, 0x0001); <br>
// ecrt_slave_config_sdo8(sc, 0x8000, 0, 0x36);<br>
*************************************************************************/<br>
</div>
<div><br>
</div>
<br>
</div>
<br>
</div>
Am 15.09.2014 08:30, schrieb Richard Hacker:<br>
</div>
<blockquote cite="mid:54168773.8090500@igh.de" type="cite">The first
thing is to try to get the slave into OP somehow: do not set
0xf800:0, as well as subindices 10,11!! I do not see the latter in
the documentation!
<br>
<br>
Then:
<br>
Have you tried to get the device running without using 0xF800? As
far as I can read from the documentation, it may be possible - the
slave address can also be set in 0x8000:there. Maybe that works
(although I am not a specialist in DeviceNet)
<br>
<br>
<br>
<br>
On 09/12/2014 01:23 PM, Carlos Herkt wrote:
<br>
<blockquote type="cite">Ok, we set the SDO's with the
ecrt_slave_config_sdo8/16/32() functions...:
<br>
<br>
//**************************************************************************
<br>
//ecrt_slave_config_sdo16(sc, 0xf800, 1, 0x003c);//
<br>
//ecrt_slave_config_sdo16(sc, 0xf800, 2, 0x0003);//
<br>
//ecrt_slave_config_sdo16(sc, 0xf800, 3, 0x006c);//
<br>
//ecrt_slave_config_sdo16(sc, 0xf800, 4, 0x000c);//
<br>
//ecrt_slave_config_sdo16(sc, 0xf800, 5, 0x0060);//
<br>
//ecrt_slave_config_sdo16(sc, 0xf800, 6, 0x1a01);//
<br>
//ecrt_slave_config_sdo32(sc, 0xf800, 7, 0x01785634);//
<br>
////ecrt_slave_config_sdo8(sc, 0xf800, 8, 0x0b); //octet_string
<br>
BECKHOFF EL6752-0000//
<br>
//ecrt_slave_config_sdo16(sc, 0xf800, 9, 0x0000);//
<br>
//ecrt_slave_config_sdo8(sc, 0xf800, 10, 0x00);//
<br>
//ecrt_slave_config_sdo8(sc, 0xf800, 11, 0x00);
<br>
///ecrt_slave_config_sdo8(sc, 0xf800, 0, 0x0b);//
<br>
/***************************************************************************/
<br>
/
<br>
...but still get the timeout error.
<br>
<br>
<blockquote type="cite">Try to set SDO's explicitly using
Index:SubIndex by using the
<br>
ecrt_slave_config_sdo8/16/32() family of functions instead of
complete
<br>
access. In fact this the preferred method of setting SDO's.
<br>
<br>
On 09/11/2014 05:25 PM, Carlos Herkt wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
referring to
<br>
<a class="moz-txt-link-freetext" href="http://lists.etherlab.org/pipermail/etherlab-users/2014/002613.html">http://lists.etherlab.org/pipermail/etherlab-users/2014/002613.html</a>
we
<br>
managed to set up our devices properly.
<br>
We can communicate with our slaves on both devices (EL6631
&& EL66731)!
<br>
<br>
Now we're trying to initialize the Beckhoff EL6752 the same
way we did.
<br>
But another error arose:
<br>
/
<br>
dmesg: "Timeout after 1000 ms while waiting for SDO
0xf800:0 download
<br>
response." /
<br>
<br>
We doublechecked our configuration and everything seems
alright.
<br>
<br>
What does cause this failure?
<br>
<br>
Is there a way to change that timeout?
<br>
<br>
Any help is greatly appreciated.
<br>
<br>
Best regards
<br>
<br>
<br>
<br>
<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>
<br>
</blockquote>
<br>
Mit freundlichem Gruß
<br>
<br>
Richard Hacker
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
Mit freundlichem Gruß
<br>
<br>
Richard Hacker
<br>
<br>
</blockquote>
<br>
</body>
</html>