I am laying out register definitions for an RTU based slave device. Previously, I would leave holes in my Modbus address map for registers that spanned more than one 16-bit word. For example, for two floating point registers (32 bits each), I might define the following (note that Modbus Addr...
I'm implementing a Modbus stack for microcontrollers. And I have a question about an implementation detail.
Imagine we have the following Modbus holding registers defined:
<pre>
40001 00 UINT16 regA
40002 01 FLOAT32 regB
40004 03 UINT16 regC
</pre>
What's the...