I'm a beginner on ModBus I/F, please excuse me.
Using jamod I wrote a Slave on TCP that manages a pool of registers (Jamod SimpleInputRegister).
When I use an external Server (not wrote by myself) and it reads the registers with the Function Code 3 everything works fine.
If the Server reads the registers with the Function Code 4 I face a problem:
An exception rise with the value Illegal Data Address.
Probably this issue is due to my erroneous use of Analog Output Holding Registers vs Analog Input Registers.
How can I do to solve my Slave issue ?
Thanks in advance for the help.