-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow addressing by ID instead of "analog input" etc #2
Comments
@mxinden This is not yet done, correct? |
Seems it's not, yet. |
Disregarding that joule as an absolute would be better as we can calculate Wh as a
Proposed new style:
|
The In regards to the proposed changed format:
In regards to changing addressing via ID instead of analog in/out or digital in/out there is a third option: Reading more and more modbus documentations it seems like another specification is function codes see the Wikipedia article. As of today the specification via analog in/out or digital in/out seems to work for our generated configuration. For now, given that this is not blocking any functionality, I would suggest postponing this change until we have more feedback by other users in regards to their preference. |
@mxinden
A default config should probably come with comments to allow people familiar with Modbus to know where to put things in the config and keep a mental map. That being said, addressing by "coil" and other such names seems cumbersome and error-prone. Addressing by ID directly seems better.
Sub-addressing could be done by
id:bit
, ranges could be done explicitly byid-idN
or implicitly byid, float32, little endian
.Gut feeling is that we will develop stronger opinions when using it for some time.
The text was updated successfully, but these errors were encountered: