![]() |
rodbus (.NET API) 1.6.0-RC1
|
Register value and its address More...
Public Member Functions | |
| RegisterValue | WithIndex (ushort value) |
| Address of the register More... | |
| RegisterValue | WithValue (ushort value) |
| Value of the register More... | |
| RegisterValue (ushort index, ushort value) | |
| Fully construct RegisterValue specifying the value of each field More... | |
Public Attributes | |
| ushort | Index |
| Address of the register More... | |
| ushort | Value |
| Value of the register More... | |
Register value and its address
Modbus messages that carry a block of values (read responses and write multiple requests) encode a starting address and the values in address order, but not a per-value address. The library computes the index from the starting address and the value's position as a convenience.
|
inline |
Fully construct RegisterValue specifying the value of each field
| index | Address of the register |
| value | Value of the register |
|
inline |
Address of the register
|
inline |
Value of the register
| ushort rodbus.RegisterValue.Index |
Address of the register
| ushort rodbus.RegisterValue.Value |
Value of the register