Modbus TCP server vs Modbus wifibridge RTU #350
Replies: 2 comments 2 replies
-
Hi there, a bridge is not doing "RTU over TCP", but is a TCP server that happens to use a RTU client to request whatever was asked from the RTU bus. There are two ways I see to solve your issue:
The second option of course will require some work; in the end you will have a dedicated bridge just for the power meter. |
Beta Was this translation helpful? Give feedback.
-
Note: I took interest in the application problem and added some functionality to the lib that may help in similar cases in the future. If you will deploy a |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I'm using Emodbus libfor a while. I was able to setup a RTU Com to a powermeter.
I also succesfully created a bridge TCP<>RTU. My Modbus client is reading data over ethernet straight from the power meter.
The issue is that the power meter is not fully suported by the device. (basicaly, Power is reversed => 1000W should be -1000W).
The idea was to create a standalone server from Emodbus and populate and alterate the data coming from the power meter.
Unfortunately, the server isn't working as expected.
I'm now wondering if it's related to Tcp standard server while th ebridge is doing RTU over TCP.
the bridge and the server works on the same ESP32 with different port.
Both can be connected, but server isnt answering the right "data"
Anybody can help me configure this server to act like the bridge ?
thk you all
Beta Was this translation helpful? Give feedback.
All reactions