<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Modbus TCP getting Error -309]]></title><description><![CDATA[<p dir="auto">Split topic from <a href="https://forum.rexygen.com/topic/203/modbus-rtu-multiple-read/3">https://forum.rexygen.com/topic/203/modbus-rtu-multiple-read/3</a></p>
]]></description><link>https://forum.rexygen.com/topic/224/modbus-tcp-getting-error-309</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 06:52:42 GMT</lastBuildDate><atom:link href="https://forum.rexygen.com/topic/224.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Mar 2021 20:06:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Modbus TCP getting Error -309 on Thu, 04 Mar 2021 12:31:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.rexygen.com/uid/185">@apollo</a> Yes, you are right about the indexing. Starting with upcoming REXYGEN release the error message will contain Slave Name and its IP address for better understanding.</p>
<p dir="auto">Cheers,<br />
Tomas</p>
]]></description><link>https://forum.rexygen.com/post/862</link><guid isPermaLink="true">https://forum.rexygen.com/post/862</guid><dc:creator><![CDATA[cechurat]]></dc:creator><pubDate>Thu, 04 Mar 2021 12:31:43 GMT</pubDate></item><item><title><![CDATA[Reply to Modbus TCP getting Error -309 on Thu, 04 Mar 2021 12:21:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.rexygen.com/uid/5">@cechurat</a><br />
Thank you for taking a look at it.</p>
<p dir="auto">That's correct, these clients are still to be installed.</p>
<p dir="auto">The idx parameter in the error message does this one refer to the clients in the config file, starting from idx=0 for the first entry?</p>
]]></description><link>https://forum.rexygen.com/post/861</link><guid isPermaLink="true">https://forum.rexygen.com/post/861</guid><dc:creator><![CDATA[Apollo]]></dc:creator><pubDate>Thu, 04 Mar 2021 12:21:05 GMT</pubDate></item><item><title><![CDATA[Reply to Modbus TCP getting Error -309 on Thu, 04 Mar 2021 09:26:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.rexygen.com/uid/185">@apollo</a> Hi Kris,</p>
<p dir="auto">thanks for sharing additional information. Max. requests option is maximum number of Modbus telegrams in the queue. Especially the embedded devices with limited memory usually have a small TCP/IP stack buffer.</p>
<p dir="auto">The errors you get are probably referring to the offline clients:</p>
<pre><code>2021-03-03;18:04:37.690;Error;MBDRV: Socket receive error (idx=2, code=113);
2021-03-03;18:04:37.690;Info;MBDRV: Client 2 disconnected;
2021-03-03;18:04:37.690;Error;MBDRV:  Error while receiving data(ignore, code=-309);
</code></pre>
<p dir="auto">According to the log see which Clients are online/offline. Is that right?<br />
<img src="/assets/uploads/files/1614849737332-ee25850e-a8dc-4091-a1c5-bff094c6ab07-image.png" alt="ee25850e-a8dc-4091-a1c5-bff094c6ab07-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Cheers,<br />
Tomas</p>
]]></description><link>https://forum.rexygen.com/post/860</link><guid isPermaLink="true">https://forum.rexygen.com/post/860</guid><dc:creator><![CDATA[cechurat]]></dc:creator><pubDate>Thu, 04 Mar 2021 09:26:13 GMT</pubDate></item><item><title><![CDATA[Reply to Modbus TCP getting Error -309 on Wed, 03 Mar 2021 17:12:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.rexygen.com/uid/5">@cechurat</a><br />
In the meanwhile, I succeeded to get the communication up &amp; running by reducing the Maxrequest value from 15 to 1.<br />
But still with some error messages from time to time.</p>
<p dir="auto">I do also have some Modbus clients which are already configured but not online yet. could it be that they cause some issues?</p>
<p dir="auto"><a href="/assets/uploads/files/1614791433830-exportmodbusrex_20210303.csv">exportModbusRex_20210303.csv</a></p>
<p dir="auto"><a href="/assets/uploads/files/1614791496631-modbus_cfg.rio">modbus_cfg.rio</a></p>
<p dir="auto"><a href="/assets/uploads/files/1614791552398-apollo_exec.mdl">apollo_exec.mdl</a></p>
]]></description><link>https://forum.rexygen.com/post/859</link><guid isPermaLink="true">https://forum.rexygen.com/post/859</guid><dc:creator><![CDATA[Apollo]]></dc:creator><pubDate>Wed, 03 Mar 2021 17:12:37 GMT</pubDate></item><item><title><![CDATA[Reply to Modbus TCP getting Error -309 on Tue, 02 Mar 2021 20:32:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.rexygen.com/uid/185">@apollo</a> Hi Kris,</p>
<p dir="auto">I have few questions:</p>
<ol>
<li>
<p dir="auto">What is timing of your project? (tasks and MbDrv)</p>
</li>
<li>
<p dir="auto">Can you record and share a log with settings from the following post?<br />
<a href="https://forum.rexygen.com/post/790">https://forum.rexygen.com/post/790</a><br />
(from the log you will also get an idea how the MbDrv sequencing works which might help you to improve the settings)</p>
</li>
</ol>
<p dir="auto">Let me answer your question about registers order: Yes, it would make sense to mix the slaves. The order matter with respect to the same "Period" settings. (MbDrv works as a priority queue)</p>
<p dir="auto">Thanks for cooperation.</p>
<p dir="auto">Cheers,<br />
Tomas</p>
]]></description><link>https://forum.rexygen.com/post/858</link><guid isPermaLink="true">https://forum.rexygen.com/post/858</guid><dc:creator><![CDATA[cechurat]]></dc:creator><pubDate>Tue, 02 Mar 2021 20:32:10 GMT</pubDate></item><item><title><![CDATA[Reply to Modbus TCP getting Error -309 on Tue, 02 Mar 2021 08:17:04 GMT]]></title><description><![CDATA[<p dir="auto">This is the data which we want to read out :</p>
<p dir="auto"><img src="/assets/uploads/files/1614672508773-f0b26cfe-a3cb-41ce-9055-21d73cb20fd4-image.png" alt="f0b26cfe-a3cb-41ce-9055-21d73cb20fd4-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">If period is not set to 1sec then there is no data at all, only error messages.<br />
Data from registers configured at line 17 to 21 in the above list are also not showing.</p>
<p dir="auto">If only the first chunk of 56 registers is configured everything is working more or less fine (with socket errors from time to time)</p>
<p dir="auto">Is there anything I can do to improve this?</p>
<p dir="auto">In the future, we need to read the same data not from one but from four devices. Would it make sense to sort the registers in this file in such a way that there is never a consecutively reading from the same device? Or doesn't it matter what the sequence is in this list?</p>
]]></description><link>https://forum.rexygen.com/post/854</link><guid isPermaLink="true">https://forum.rexygen.com/post/854</guid><dc:creator><![CDATA[Apollo]]></dc:creator><pubDate>Tue, 02 Mar 2021 08:17:04 GMT</pubDate></item><item><title><![CDATA[Reply to Modbus TCP getting Error -309 on Tue, 02 Mar 2021 05:30:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.rexygen.com/uid/5">@cechurat</a> The hardware is installed and now I'm trying to get the Modbus TCP communication up and running.</p>
<p dir="auto">Data is coming in but I get these error messages regularly (I'm using the 'passive' feature) :</p>
<p dir="auto"><img src="/assets/uploads/files/1614620021899-2964a3eb-a329-49b1-a772-3bf5027cd8d1-image.png" alt="2964a3eb-a329-49b1-a772-3bf5027cd8d1-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.rexygen.com/post/853</link><guid isPermaLink="true">https://forum.rexygen.com/post/853</guid><dc:creator><![CDATA[Apollo]]></dc:creator><pubDate>Tue, 02 Mar 2021 05:30:20 GMT</pubDate></item></channel></rss>