Closed as not planned
Description
I am very happy with this code so far, and have successfully run with both serial and Ethernet connections. I see that I can expand the register address space by changing this:
uint16_t ModbusDATA[0x100];
I see it checks for valid address using sizeof(ModbusDATA).
I have two questions:
- Any thoughts about discontinuous address space? The hardware I am replacing has registers scattered around the 16-bit address space.
- Any ideas about connecting to hardware? I need to support reading hardware to determine the current value of some registers, and also writing to hardware at some other addresses.
Mike