<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Pi as Modbus TCP slave. Errors</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0c0db81e2e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0c0db81e2e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/0c0db81e2e/</id><updated>2026-04-29T07:36:03.353000Z</updated><subtitle>Recent posts to Pi as Modbus TCP slave. Errors</subtitle><entry><title>Pi as Modbus TCP slave. Errors</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0c0db81e2e/?limit=25#1e19" rel="alternate"/><published>2026-04-29T07:36:03.353000Z</published><updated>2026-04-29T07:36:03.353000Z</updated><author><name>husarz17</name><uri>https://forge.codesys.com/u/husarz17/</uri></author><id>https://forge.codesys.comb2507d15df65754c56496634aeda419c39f75d0a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;br/&gt;
I have similar issue. Is that possible to use more than 4096 registers with Modbus RTU slave?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Pi as Modbus TCP slave. Errors</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0c0db81e2e/?limit=25#0449" rel="alternate"/><published>2020-02-27T16:31:27.800000Z</published><updated>2020-02-27T16:31:27.800000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.com99462d514ce021d04f5eb10a7e256213e321928c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;More errors cannot add any new IW or QW.. Is it the device description that needs to be edited so i can use more IW and QW and if so how to?&lt;/p&gt;
&lt;p&gt;Copied the device description file and added under this section &amp;lt;ts:section name="memory-layout"&amp;gt; the following lines&lt;br/&gt;
&amp;lt;ts:setting access="visible" type="integer" name="input-size"&amp;gt;&lt;br/&gt;
&amp;lt;ts:value&amp;gt;8192&amp;lt;/ts:value&amp;gt;&lt;br/&gt;
&amp;lt;/ts:setting&amp;gt;&lt;br/&gt;
&amp;lt;ts:setting access="visible" type="integer" name="output-size"&amp;gt;&lt;br/&gt;
&amp;lt;ts:value&amp;gt;8192&amp;lt;/ts:value&amp;gt;&lt;br/&gt;
&amp;lt;/ts:setting&amp;gt;&amp;lt;/ts:section&amp;gt;&lt;/p&gt;
&lt;p&gt;Now it seems to work as expected. Am I doing something wrong? Is this setting available from the development tool or is the only option to change this in the device description file?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Pi as Modbus TCP slave. Errors</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0c0db81e2e/?limit=25#e126" rel="alternate"/><published>2020-02-27T16:31:25.366000Z</published><updated>2020-02-27T16:31:25.366000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.com96e8594c7fd6a2eb4c16ef01df938edc3a15d0d6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;When reading the online help it states that the max number of words as a modbus slave is 4096.&lt;br/&gt;
First of all why limit at 4096? I want to be able to adress more than so as the Modbus standard permits that.&lt;/p&gt;
&lt;p&gt;Second in my Raspberry i get an error if i try to use more than 2047 words.&lt;br/&gt;
C0111 Adress out of range.&lt;/p&gt;
&lt;p&gt;If I use 2048 words i dont get an error but it doesnt work, The slave icon is read.&lt;br/&gt;
If I try to use more than 2048 i get the error C0111&lt;br/&gt;
If I try to use 2047 or less then it works.&lt;/p&gt;
&lt;p&gt;Is this a bug? Using latest Codesys both runtime and development.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>