<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus TCP Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5ff9e91db6/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5ff9e91db6/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/5ff9e91db6/</id><updated>2025-08-19T01:55:09.237000Z</updated><subtitle>Recent posts to Modbus TCP Server</subtitle><entry><title>Modbus TCP Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5ff9e91db6/?limit=25#a243/34c0" rel="alternate"/><published>2025-08-19T01:55:09.237000Z</published><updated>2025-08-19T01:55:09.237000Z</updated><author><name>kurtk</name><uri>https://forge.codesys.com/u/kurtk/</uri></author><id>https://forge.codesys.com345117735d087af047daf6cfafa011afeb661542</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ditto&lt;br/&gt;
I'm just getting my codesys wheels on and the modbus stuff is confusing.&lt;br/&gt;
I am re-platforming an existing PLC application &lt;br/&gt;
On that platform one could simply tag variables to register numbers and the whole shooting match could be accessed via modbus and typically holding registers and input registers were treated the same way...&lt;/p&gt;
&lt;p&gt;On codesys I see there is a modbus TCP server Device I/O mapping tab and a Modbus TCP server IEC objects tab&lt;br/&gt;
I get the sense that one can configure the serving of variables both/either way but am unclear about the optimum/necessary path.&lt;/p&gt;
&lt;p&gt;Apparently in the IEC Objects tab one can "ADD" something or other - presumeably channels. I have created a preliminary function block but the Select Function Block window shows nothing to select  WTH ?&lt;/p&gt;
&lt;p&gt;I exported the Device mapping and was surprised to see the entire Device IO map - complete with all the bit-mapped holding/input registers!! WTH!!?? Bit-mapped words are strictly a nichey special purpose application.&lt;br/&gt;
 I am targetting making a couple hundred variables available which would turn into hundreds of pages of IO/mapping&lt;/p&gt;
&lt;p&gt;Is the FUnction Block IEC objects thingy an alternative to that ?&lt;br/&gt;
 I notice that CODESYS shows the tags which the PLC used to specify the register address... are tags used in CODESYS for any specific hard-core purpose ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus TCP Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5ff9e91db6/?limit=25#f983" rel="alternate"/><published>2024-10-21T05:55:40.446000Z</published><updated>2024-10-21T05:55:40.446000Z</updated><author><name>banialuk</name><uri>https://forge.codesys.com/u/banialuk/</uri></author><id>https://forge.codesys.coma0dbe56f02f5f1ac468afa0ab34e9725aeb686e9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I created Modbus Server TCP, but when I try started i have a error "TCP socet error" "Error on open/close/read/write TCP socket."&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus TCP Server</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5ff9e91db6/?limit=25#a243" rel="alternate"/><published>2024-10-19T14:55:54.573000Z</published><updated>2024-10-19T14:55:54.573000Z</updated><author><name>banialuk</name><uri>https://forge.codesys.com/u/banialuk/</uri></author><id>https://forge.codesys.com3b180a03443ca5585d71cf34499191ad12d0365a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I have poroblem with define input in function block modbusFB.serverTCP 'dataModel',&lt;br/&gt;
in my aplication I need starting Input Registers from 3000, and I must define this in 'data Model' but I dont now how exacly to do it.&lt;br/&gt;
Anybody now somethin about this?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>