Comments (7)
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.
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.
@bashwork @mesias No new version, so only have to test it with pip install from git, right ?
from pymodbus.
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.
@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.
@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.
cleaning up old issues. Should be fixed with the latest versions
from pymodbus.
Related Issues (20)
- Bug when converting pymodbus.DATATYPE.FLOAT32 to float HOT 6
- pymodbus 3.6.8 does not work, while works with modbus-tk and pymodbus 2.5.3 HOT 5
- Example server_async.py: AttributeError: module 'helper' has no attribute 'get_commandline' HOT 3
- ModbusException not trown while under the hood asyncio.TimeoutError("Server not responding") is fired HOT 3
- Not working after upgrade tp 3.6.9 HOT 7
- examples not working HOT 2
- No response received from remote while modpoll is able to get it HOT 14
- Add issue tracker / source code repository to the doc HOT 4
- move transaction handling into framer socket. HOT 2
- Server and client decoders handle exceptions differently HOT 1
- "no response" or "incomplete message" when using sync client HOT 15
- pymodbus loops indefinitely over received frame HOT 8
- Dealing with a device response that has a wrong length field HOT 5
- Remove a forced close() and reconnect() on communication error HOT 13
- Question: Is it possible to set the object id count to 0x00 when reading device information HOT 5
- Issue reading several consecutive register with serial pymodbus simulator HOT 12
- Integrate new framers and remove old_framer.
- ModbusTcpClient constructor BC break between 3.6.9 and 3.7.0 HOT 5
- simulator fails with aiohttp < 3.9 HOT 1
- Module 'serial' has no attribute 'serial_for_url' when using ModbusSerialClient HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymodbus.