Comments (2)
@digispiders Firstly, congratulate you have actually retrieved data according to your last screenshot.
As you mentioned, instead of polling start from the standard holding_register address 40001
,
poll,holding_register,40001,10,BE_BE
ref,objectname,40001,uint16,r
you end up with polling start from address 1
,
poll,holding_register,1,10,BE_BE
ref,objectname,1,uint16,r
This happens quite often because Modbus is an open protocol, different vendors have their own interpretation on the standard, that's why we have many different variants, e.g. zero-based vs one-based, big-endian vs small-endian, etc. Usually vendors will provide documents/examples to help developers for integration.
In your case, your device vendor is using relative address (offset address) rather than absolute address for data comm.
Hope that helps for clarification.
from modpoll.
Okay. It was a little unclear to me based on the documentation in modpoll + what the manufacturer put out, in combination with my poor understanding of modbus addresses. I assumed that an address was an address, and if an 'offset' to an 'address' was specified (e.g. 1 to 40001), I should call the address (40002) which was probably wrong to assume. Feel to close.
from modpoll.
Related Issues (20)
- Output should be rounded with multiplication factor HOT 3
- struct.error: 'H' format requires 0 <= number <= 65535 HOT 1
- Consider add device 'IP ADDR' and 'port' to .csv file HOT 3
- Consider upgrade `pymodbus` to version 3.2.2 HOT 2
- Add poll interval/rate for every single poll HOT 4
- writing registers with modpoll - how to do....? ...reading works fine ! HOT 7
- How must the config file look like?
- docker compose file example is missing HOT 1
- pip install modpoll - dosn't work HOT 2
- polling coils with 2 bits possible HOT 7
- Consider update dependency of `pymodbus` to v3.5.2 HOT 1
- unable to run modpoll HOT 1
- Exceptions when calling local config file HOT 5
- Modbus TCP RTU Framer HOT 3
- Ommiting Addresses Prior to a Specified Coil HOT 2
- pyserial missing in dockerimage
- Move to RS485 breaks implementation HOT 7
- morningstar float16 support HOT 5
- Added logic to only push mqtt messages when a change is outside of a range
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 modpoll.