<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to UDP receive function throwing error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bd0c6a3efb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bd0c6a3efb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/bd0c6a3efb/</id><updated>2023-08-07T13:35:04.444000Z</updated><subtitle>Recent posts to UDP receive function throwing error</subtitle><entry><title>UDP receive function throwing error</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/bd0c6a3efb/?limit=25#f454" rel="alternate"/><published>2023-08-07T13:35:04.444000Z</published><updated>2023-08-07T13:35:04.444000Z</updated><author><name>persiejob1407</name><uri>https://forge.codesys.com/u/persiejob1407/</uri></author><id>https://forge.codesys.come7b254f3e27fff0d03ed1de17fbce16e63378598</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;So I have code that sends UDP packets towards a UDP receiver and it receives it. the problem comes in when i try to send data back towards the PLC. Here is the fucntion that gives the problem:&lt;/p&gt;
&lt;p&gt;result := port.Receive(pbyData:=ADR(rcvData), diDataSize:=SIZEOF(rcvData));&lt;/p&gt;
&lt;p&gt;Function throws this error: Errors.ERR_NO_OBJECT&lt;/p&gt;
&lt;p&gt;What does this actually mean and any idea on how I can try and fix it would be useful...&lt;br/&gt;
 I am using codesysV3.5 sp12. I the CAA Net Base Services Library, those UDP_PEER functions and what not, does not work on my PLC so I have to use the UDP library.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>