Comments (8)
My idea is to incorporate a similar method as used with this rewrite: https://github.com/AdvancedClimateSystems/sps30
I'm just not yet sure if the different server classes can be used just like a Stream object.
from arduinomodbusslave.
I did start working on it, but currently I don't have much time or need for it to finish it.
The memory aspect was one thing I ran into, but it seems possible to reuse the space for the RTU messages for TCP messages as the only difference are the headers. Managing this however in a neat fashion asked for a more structured data tagging which needed a bit more rewriting than I anticipated.
from arduinomodbusslave.
Hi, thanks for the question.
Would it be worth the effort to fix that library, or would it be better to change this one to also accept TCP messages?
I think the easier approach will be to make the esp8266 version work for you hardware.
I think the better solution ( will require more work ) is to add pluggable h/w options to this lib, starting with whatever h/w you have :-)
from arduinomodbusslave.
I would like to make this work for all situations (as far as possible). So I will try and change this lib. If I get this working, would that be a feature you would want to add to the library?
from arduinomodbusslave.
would that be a feature you would want to add to the library?
Sure 👍
from arduinomodbusslave.
p.s.
So I will try and change this lib
Try to make it easy to add support for other h/w with you hardware as first example, so you will not need to change current code.
from arduinomodbusslave.
have fun 💚
from arduinomodbusslave.
@proace,
If you decided to go with this library for Modbus TCP make sure to keep the memory aspect of the program in mind. Parsing TCP can easily get out of hand especially when the library is created to handle both serial and TCP. Personally I suggest a separate fork for TCP if you decided to do so.
from arduinomodbusslave.
Related Issues (20)
- ModBusSlave delivers bytes instead of words on FC03 How to fix ? HOT 4
- Strange behiavor on slave using write single register HOT 9
- Stuck when calling flush() in begin() when using Serial1 in Arduino MKR(Zero) HOT 2
- Not working with I2C communication HOT 9
- Enable / disable communication HOT 2
- Arduino Mudbus RTU for MASTER to read/write for multi slave ?
- change Slave_ID in void setup() HOT 2
- Put data in a specific address HOT 1
- using a modbus master simulator software with this library HOT 10
- Exception Response , Illegal Data Address HOT 1
- linux modpoll HOT 1
- Change SLAVE ADDRESS during void setup HOT 1
- Hello how can i read data from 40001 HOT 1
- hi i am getting modbus poll pc application timeout error Could you please help me HOT 1
- Modbus Slave RP2 HOT 2
- 怎么设置 数据位 停止位
- Arduino Pro Micro
- Create new release HOT 4
- ESP32 Support HOT 8
- Character silent interval issue and Buffer overrun HOT 7
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 arduinomodbusslave.