I’m configuring the Modbus TCP agent in OpenRemote, but I can’t find an attribute for specifying the register address (Holding Register, Coil, etc.). Is there a way to define this in the configuration?
Also, what’s the best way to test if the agent is correctly reading/writing values?
Any help would be greatly appreciated. Thanks in advance!
I am assuming that you have checked out and are testing my Modbus agent branch.
The individual read/write settings can be configured using the agent link. You can press on “add parameter” in the agent link configuration item, and there, there will be 4 more configuration parameters in the agent link that you can specify. On one of those, you will be able to set the type of register you are reading from.
I would like to let you know that, as with any OpenRemote branch, the changes on it are not currently set in stone, and can change. This means that there is a possibility the structure of the agent, agent link, protocol, etc. could change, leading to issues with the connection, etc. If you would like to avoid that, then I suggest you wait for the PR to be merged.