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*

4
  • what does not working mean? ... what actually happens? ... please update your post with a clear description Commented Mar 23, 2023 at 14:30
  • add some debugging code ... right now, you have no way of knowing what the programs are doing Commented Mar 23, 2023 at 15:39
  • "control two slaves with one master but its not working" You were able to get it to control one? Commented Mar 23, 2023 at 19:40
  • The library you are using uses Serial port for modbus communication, that means that you can't open the Serial Monitor and the only way to know whether it is working or not is by observing the LED. You should either take a look at the library SoftwareSerail examples or find a better Modbus library. Commented Mar 24, 2023 at 6:03