<?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 DON'T AUTOMATIC STARTUP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/004c5b30b8/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/004c5b30b8/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/004c5b30b8/</id><updated>2025-07-21T07:33:17.768000Z</updated><subtitle>Recent posts to MODBUS TCP SERVER DON'T AUTOMATIC STARTUP</subtitle><entry><title>MODBUS TCP SERVER DON'T AUTOMATIC STARTUP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/004c5b30b8/?limit=25#6715" rel="alternate"/><published>2025-07-21T07:33:17.768000Z</published><updated>2025-07-21T07:33:17.768000Z</updated><author><name>eddienel10</name><uri>https://forge.codesys.com/u/eddienel10/</uri></author><id>https://forge.codesys.com5a6d1c1fd49989675fb5bb828ad0ddc44e86debb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It sounds like the Modbus server isn't reinitializing properly after a cold start—try adding explicit reinitialization logic in your PLC startup routine or using a rising edge trigger on PLC_PRG to re-enable the mbserver instance after boot.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Edited by &lt;a href="https://unoonline.co" rel="nofollow"&gt;uno online&lt;/a&gt; 1 day ago&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MODBUS TCP SERVER DON'T AUTOMATIC STARTUP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/004c5b30b8/?limit=25#2aa2" rel="alternate"/><published>2025-07-15T15:19:14.664000Z</published><updated>2025-07-15T15:19:14.664000Z</updated><author><name>rafa</name><uri>https://forge.codesys.com/u/rafa/</uri></author><id>https://forge.codesys.com4803bb38be16e88bede8dcd0d46d2940dbfada6e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear all,&lt;/p&gt;
&lt;p&gt;I have a project where I have two ModbusTCP communication drivers in the application.&lt;/p&gt;
&lt;p&gt;It's working normally until a power outage or the installation panel is restarted.&lt;/p&gt;
&lt;p&gt;As soon as the PLC CPU is restarted, the Ethernet port is OK, but the TCP Server displays an "UNDEFINED" error.&lt;/p&gt;
&lt;p&gt;I can't reset the error using the diagnostic confirmation or the "mbserver.xConfirmError" bit.&lt;/p&gt;
&lt;p&gt;I noticed that the error only appears in the "mbserver.byModbusError" memory and the description is "UNDEFINED."&lt;/p&gt;
&lt;p&gt;The "mbserver.xError" memory doesn't flag an error.&lt;/p&gt;
&lt;p&gt;When using the warm restart function and then START CPU, the devices return to normal operation.&lt;/p&gt;
&lt;p&gt;The following demonstration images;&lt;/p&gt;
&lt;p&gt;The main question is:&lt;br/&gt;
How can I make devices boot automatically?&lt;/p&gt;
&lt;p&gt;Um using Codesys Version 3.5.20.30 Patch 3+&lt;/p&gt;
&lt;p&gt;My CPU is a Weintek Cmtx Built-int - ( CMT3092x )&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>