# Network lib - Codesys - modbus server

**URL:** <https://oscat.discourse.group/t/network-lib-codesys-modbus-server/1764>\
**Category:** oscat.lib fuer CoDeSys 3\
**Created:** [14. Mai 2014 um 08:35 UTC](https://oscat.discourse.group/t/network-lib-codesys-modbus-server/1764 "2014-05-14T08:35:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/oscat/original/1X/2efdfb9c592ff9a666c94dff124ee84fa863dae5.jpeg) [@system](https://oscat.discourse.group/u/system)\
**Post date:** [14. Mai 2014 um 08:35 UTC](https://oscat.discourse.group/t/network-lib-codesys-modbus-server/1764/1 "2014-05-14T08:35:29Z")

</div>

Hi,

I tested Modbus server on Raspberry Pi with Codesys.  
It works perfect, but there is only one problem: When I disconnect Modbus Master (client on my PC), I can not connect it again. Only RESET of Raspberry helps.  
This is my configuration for test:

[http://s12.postimg.org/48ett9sil/MB\_server.png](http://s12.postimg.org/48ett9sil/MB_server.png)

Any idea?

Thank you for the answers in advance.  
Best regards,  
Zdenko.

---

<div class="post-metadata">

**Author:** ![peewit](https://avatars.discourse-cdn.com/v4/letter/p/ecc23a/32.png) [@peewit](https://oscat.discourse.group/u/peewit)\
**Post date:** [14. Mai 2014 um 09:28 UTC](https://oscat.discourse.group/t/network-lib-codesys-modbus-server/1764/2 "2014-05-14T09:28:04Z")

</div>

the codesys 3.0 version of the network.lib is not an official version approved by us  
this version was created by the user jzhvymetal  
there is a problem in the detection of the termination of the connection

maybe can solve user “jzhvymetal” your problem !

> **[jzhvymetal - OSCAT Network 130 for CoDeSys V3](http://www.oscat.de/community/index.php/topic,1784.msg11194.html#msg11194)**
>
> Seite erstellt in 0.031 Sekunden mit 21 Abfragen. | OSCAT Network 130 for CoDeSys V3

---

<div class="post-metadata">

**Author:** ![martinus1971](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@martinus1971](https://oscat.discourse.group/u/martinus1971)\
**Post date:** [12. Februar 2015 um 09:33 UTC](https://oscat.discourse.group/t/network-lib-codesys-modbus-server/1764/3 "2015-02-12T09:33:41Z")

</div>

Hello Zdenko,

Did you ever fix it?

Is it posible to receive a copy of your modbus server programming.  
i would love to give it a go.

greets

martinuus
