Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • It doesnt seem to work. The code compiles well but I dont think it actually stores them. Do you know of any other libraries that can store in registers to modbus tcp? Commented Sep 11, 2018 at 7:46
  • and how do you reed it? what is your Modbus TCP client? Commented Sep 11, 2018 at 8:24
  • Its a field agent that does this. The field agent reads the registers of the arduino or should read it if the arduino is configured properly Commented Sep 11, 2018 at 8:49
  • what software is used by field agent? some modbus clients offsets are 1-based, so a register configured as 100 in library should be 101 in this software.github.com/andresarmento/modbus-arduino/blob/master/README.md Commented Sep 11, 2018 at 9:06
  • its a modbus slave. dont know the exact software. Tried changing it to 101 and still get the same error. ILLEGAL DATA ADDRESS Commented Sep 11, 2018 at 9:15