<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to ModbusServer became unreachable if reach maximum of 16 byClientConnections</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8bca94b5b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8bca94b5b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e8bca94b5b/</id><updated>2024-08-27T16:05:06.241000Z</updated><subtitle>Recent posts to ModbusServer became unreachable if reach maximum of 16 byClientConnections</subtitle><entry><title>ModbusServer became unreachable if reach maximum of 16 byClientConnections</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8bca94b5b/?limit=25#51ff" rel="alternate"/><published>2024-08-27T16:05:06.241000Z</published><updated>2024-08-27T16:05:06.241000Z</updated><author><name>fredruel</name><uri>https://forge.codesys.com/u/fredruel/</uri></author><id>https://forge.codesys.com928050222a66bcbcac95d6b13fbe688415a5e518</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;By the way an inactive socket could take up to 2 minutes to be free but previously it was for ever.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ModbusServer became unreachable if reach maximum of 16 byClientConnections</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8bca94b5b/?limit=25#b6f1" rel="alternate"/><published>2024-08-27T16:04:09.938000Z</published><updated>2024-08-27T16:04:09.938000Z</updated><author><name>fredruel</name><uri>https://forge.codesys.com/u/fredruel/</uri></author><id>https://forge.codesys.comd6edfb368d0c54e8ab09853799cd489f78ff0223</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Fraziersedge, the solution of Codesys might be to update your codesys to the lastest version but it was not possible for us. In our Codesys V3.5 SP9 patch 8 I was able to fix this bug. I change my ModbusTCP slave component version or one of the sub component version (ex: SysSocket). Look at the picture in attachement that's the receipe that have work for us. When I got the bug my version of ModbusTCP slave was 3.5.5.0 with SysSocket at 3.5.6.0 and I change to ModbusTCP slave 3.5.14.0 with same version 3.5.14.0 of SysSocket event if I still use codesys V3.5 SP9 patch 8.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ModbusServer became unreachable if reach maximum of 16 byClientConnections</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8bca94b5b/?limit=25#002c" rel="alternate"/><published>2024-08-27T15:01:44.832000Z</published><updated>2024-08-27T15:01:44.832000Z</updated><author><name>fraziersedge</name><uri>https://forge.codesys.com/u/fraziersedge/</uri></author><id>https://forge.codesys.com270212344b6a6f9f66e85404c242612ac1a383b6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Frédéric did you ever find a solution to this problem?  I am experiencing the same thing.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ModbusServer became unreachable if reach maximum of 16 byClientConnections</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e8bca94b5b/?limit=25#61f4" rel="alternate"/><published>2021-04-08T14:42:03.761000Z</published><updated>2021-04-08T14:42:03.761000Z</updated><author><name>fredruel</name><uri>https://forge.codesys.com/u/fredruel/</uri></author><id>https://forge.codesys.com1c190e72eeb4bda1d38a88b0ebbb54d5e730f23d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
we have a customer that have a device that pool our ModbusServer (codesys component from library ModbusTCP Slave). When a device connect we saw the byClientConnections variable to augment by 1. If the device is connect and we lost the network connection the byClientConnections did not drop and when the customer reconnect the byClientConnections augment to 2. When we reach 16, if the connection is lost the server became unchreacheble . If we toggle TRUE/FALSE the xEnable or xReset variable the byClientConnections did not reset to 0. The customer told us that after 1 month he was unable to reach our server. I reproduce a similar problem by connecting the ModbusServer with qModMaster, query the server, disonnect the network cable for 20 seconds, reconnect the cable , disconnect and reconnect. &lt;/p&gt;
&lt;p&gt;We would like to know if there is a way to reset the server.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Frédéric Ruel (OEM customer)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>