-
Notifications
You must be signed in to change notification settings - Fork 134
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
Extended explanation in modbus.md #445
Conversation
Co-authored-by: VolkerK62 <[email protected]>
Co-authored-by: VolkerK62 <[email protected]>
Die Definition eines Registers benötigt folgende Parameter: | ||
- `address`: die Registeradresse | ||
- `type`: Der Registertyp, zulässig sind `coil`, `input`, `holding` | ||
- `decode`: Die Art der Codierung der Daten. Zulässig sind: `int16|32|64, uint16|32|64, float32|64 and u|int32s + float32s`. Beim Typ `coil` wird die Codierung ignoriert, muss aber trotzdem angegeben werden. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Da gibt es noch mehr. Neben bool8 und bool16 auch z.B. noch diverse xxxxxnan-Varianten, bei denen die NaN-Werte direkt zu 0 decodiert werden.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Könntest du das dann mal beschreiben, ich glaube nicht, dass ich das gut genug verstanden habe, um das zu tun.
Co-authored-by: premultiply <[email protected]>
Added some more explanation and a comprehensive example oion how to use the modbus plugin in the real world.