Comments (1)
Subtle... The times were held in the ModbusTCP class. When a request was processed in the worker task, another could have been put on the queue in the meantime, changing the times again.
Fix: have a new TargetHost
struct in the requests, that holds host, port, timeout and interval for the very request. handleConnection
and receive
have to look at these request-local values rather than at those of the ModbusTCP
instance.
from emodbus.
Related Issues (20)
- Reworked the RTU process HOT 6
- ModbusClient TCP how to stop a running work task HOT 20
- Compile Error v1.7.0 HOT 4
- ModbusServerRTU constructor "takes Serial reference" where? HOT 6
- Question de débutant :-) HOT 2
- ModbusClientTCP : Timeout value compared with network trace shows different values HOT 10
- Modbus is not Responding when the PPP communication is established HOT 7
- 7Data bit in RTU communication HOT 1
- TCP03example2 not compiling HOT 1
- ModbusTCP without ServerID HOT 1
- Modbus TCP/IP server over Ethernet not compiling on Arduino environment HOT 12
- ModbusBridgeEthernet does not work HOT 5
- TCP request are dropped HOT 12
- STM32 support HOT 3
- Issue with ModBusTCP and data request HOT 4
- FC0x02 Read Discrete Inputs HOT 41
- Frequent Core Panic: Exception was unhandled & Heap Poisoning HOT 13
- Help in regards to porting to STM32
- RTU Bus collisions with many devices on the same bus HOT 26
- Timeouts when polling 2 different Modbus devices right after one another HOT 22
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 emodbus.