<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Invalid result package</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/596817d671/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/596817d671/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/596817d671/</id><updated>2020-02-27T14:27:32.537000Z</updated><subtitle>Recent posts to Invalid result package</subtitle><entry><title>Invalid result package</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/596817d671/?limit=25#108c" rel="alternate"/><published>2020-02-27T14:27:32.537000Z</published><updated>2020-02-27T14:27:32.537000Z</updated><author><name>iika</name><uri>https://forge.codesys.com/u/iika/</uri></author><id>https://forge.codesys.comdfaa833b9a9bc53d46d2a30ce6d61b871ae347fa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;I have created a function block for transferring a binary file over CANOpen via SDO-transfer. The block follows a sequence provided by the device manufacturer, which begins by setting a certain bit to "TRUE" on the receiving end.&lt;/p&gt;
&lt;p&gt;However, after calling the SDO-transfer block the system comes to a total halt. When monitoring the CAN bus it seems that the SDO-message is never transmitted even tho the function block (CiA405.SDO_WRITE_DATA) is called. I am unable to stop the program or logout unless I physically reboot the controller. Once in a few attempts (maybe 1/5) I get a halt on-an-exception, however I am not able to enter the source position via the PLC log (I get the error "code must be generated", even if I've done so).&lt;/p&gt;
&lt;p&gt;I tried to insert a break point to the line where the block is called, but there seems to be no error message from the block and whenever I try to escape the break point I just get the message "Invalid result package".&lt;/p&gt;
&lt;p&gt;Is there any way to find out what causes this error message to appear?&lt;/p&gt;
&lt;p&gt;BR, Iiro&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>