Giter Club home page Giter Club logo

Comments (7)

bashwork avatar bashwork commented on August 27, 2024

Edke, let me know if this solution will work with you. What you can do is increase the retry count and then specify that empty responses should count as retries::

client = ModbusTcpClient('localhost', retry_on_empty = True, retries = 5)

from pymodbus.

mesias avatar mesias commented on August 27, 2024

I've created this option "retry_on_empty" last week. And additionally
creted "retry_on_wrong" when receives on Serial RTU from wrong unit or
function.

On Mon, Jul 15, 2013 at 1:44 AM, Galen Collins [email protected]:

Edke, let me know if this solution will work with you. What you can do is
increase the retry count and then specify that empty responses should count
as retries::

client = ModbusTcpClient('localhost', retry_on_empty = True, retries = 5)

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-20951634
.

Alejandro Mesias AndrΓ© Nebra Perez
Java/Python/Js/Something else Developer
Twitter: @meszias
Linux User #442506

Campinas - SP - Brasil - South America

from pymodbus.

Edke avatar Edke commented on August 27, 2024

@bashwork @mesias No new version, so only have to test it with pip install from git, right ?

from pymodbus.

bashwork avatar bashwork commented on August 27, 2024

That is correct.
On Jul 15, 2013 1:13 PM, "Eduard Kracmar" [email protected] wrote:

@bashwork https://github.com/bashwork @mesiashttps://github.com/mesiasNo new version, so only have to test it with pip install from git, right ?

β€”
Reply to this email directly or view it on GitHubhttps://github.com//issues/21#issuecomment-21000201
.

from pymodbus.

Edke avatar Edke commented on August 27, 2024

@bashwork will test it tomorrow, have 150 devices on Modbus link via TCP/IP converter and really have issues with communication. Will report back if related changes will address the issue for me.

from pymodbus.

mesias avatar mesias commented on August 27, 2024

@Edke The version i wrote (https://github.com/mesias/pymodbus) reads single bytes on transaction, instead of 1024bytes. It's a bit faster, but never tested on any different connection than Serial RTU.

from pymodbus.

dhoomakethu avatar dhoomakethu commented on August 27, 2024

cleaning up old issues. Should be fixed with the latest versions

from pymodbus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.