Comments (1)
I understand what you mean, and this is not an answer to how to do that but rather suggestions.
From what you describe I understand that you want to calculate energy. I have to say that the method you've chosen is not used for that purpose. That one is more lime monitoring purposes. Imagine your request for some reason is longer than 0.2? First, you must use ticker to send requests, in that case, you can send a new request while you did not get a previous one. You must handle that. And what does connection lose for a minute? Then your data is not reliable. It is never reliable. Then what is the purpose to get data if you cannot reliably estimate it?
The solution on meter there is impulse output. For instance, one pulse is 100W. It is very hard to miss impulse. So, you use PLC and calculate impulses. You can also measure the time between impulses, and you can also show current consumption and other valuable and reliable data.
from modbus.
Related Issues (20)
- Error: response transaction id does not match request HOT 2
- Use of the library with Raspberry Pi 3 and a MAX13487E that has AutoDirection Control HOT 1
- reading of holding register limited to 125 bytes HOT 3
- illegal function HOT 1
- Is there something like keep alive flag?
- golang >v.1.16.3 couldn't find package serial
- Write registers in parallel over tcp HOT 1
- write negative value. HOT 1
- Error "too many open files" on ReadHoldingRegisters for RTUClient HOT 1
- SYS_IOCTL (RS485): inappropriate ioctl for device HOT 1
- Why serial: timeout HOT 1
- WriteSingleRegister time out, though Python code works HOT 2
- About the functionFail
- How to tell if server closes the connection?
- Interface{} to modbus-compatible slice conversion
- panic due to concurrent closeIdle and Send()
- Modbus read velocity
- protocol error' on CentOS7 Ubantu20.04
- parity bit not working
- The ReadCoils method returned a value that was not expected
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 modbus.