<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CanOpen write issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1cd9482e3c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1cd9482e3c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1cd9482e3c/</id><updated>2024-07-16T14:58:30.810000Z</updated><subtitle>Recent posts to CanOpen write issue</subtitle><entry><title>CanOpen write issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1cd9482e3c/?limit=25#fd00" rel="alternate"/><published>2024-07-16T14:58:30.810000Z</published><updated>2024-07-16T14:58:30.810000Z</updated><author><name>pazderai</name><uri>https://forge.codesys.com/u/pazderai/</uri></author><id>https://forge.codesys.com01fabb169a611ed18a7579b5a6d4b6c9188abd02</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Anyway, any idea how to get command byte 0x22 for sdo write if I use codesys cia405 canopen library? &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CanOpen write issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1cd9482e3c/?limit=25#9ab2" rel="alternate"/><published>2024-07-16T14:45:56.391000Z</published><updated>2024-07-16T14:45:56.391000Z</updated><author><name>pazderai</name><uri>https://forge.codesys.com/u/pazderai/</uri></author><id>https://forge.codesys.com059ab446f0e7a57179c32a1306058b9da2746953</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for an answer. Unfortunatelly, it doesn't work. The slave needs command byte as follows 0x22. It means expedited transfer where s-bit is not set, therefore data length is not specified.&lt;br/&gt;
If I use segmented mode by CiA405.SDO_WRITE_DATA it produce command byte as follows 0x21 which is unfortunately supported by the slave and it returns with error 0x05040001 - SDO Abort Code -Client/server command specifier not valid or unknown.&lt;/p&gt;
&lt;p&gt;I can use CAN API low level to overcome this problem where it is possible to set 0x22 as a command byte, but than I can use user interface to set the communication probably, because I thing that machine expert uses library CiA405.SDO_WRITE for setting the slave.&lt;/p&gt;
&lt;p&gt;Or am I wrong?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CanOpen write issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1cd9482e3c/?limit=25#1d4c" rel="alternate"/><published>2024-07-16T08:31:46.206000Z</published><updated>2024-07-16T08:31:46.206000Z</updated><author><name>TimvH</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.come2765aea9de72dd7a49e0f74f375ab3a62f290a6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;See:&lt;br/&gt;
&lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_canopen_canopen.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_canopen_canopen.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SDO example:&lt;br/&gt;
SegmentedAndBlockWriteExample: Writing if an object of any length via SDO (segmented transfer or block transfer) by means of CiA405.SDO_WRITE_DATA&lt;/p&gt;
&lt;p&gt;This help page also contains a link to a demo project.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CanOpen write issue</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1cd9482e3c/?limit=25#bfd5" rel="alternate"/><published>2024-07-16T04:12:02.298000Z</published><updated>2024-07-16T04:12:02.298000Z</updated><author><name>pazderai</name><uri>https://forge.codesys.com/u/pazderai/</uri></author><id>https://forge.codesys.comf8cdff16df1465f3aea719df7fdebb234850d1b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,is there any canopen library where is implemented sdo write with unspecified datalength (command byte 0x22)? I tried caa cia405 canopen library but it doesnt support this, but my slave device accept only 0x22. Thank you for any help.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>