Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modbus RTU over TCP #57

Open
embeddman opened this issue May 12, 2020 · 3 comments
Open

Modbus RTU over TCP #57

embeddman opened this issue May 12, 2020 · 3 comments

Comments

@embeddman
Copy link

Hi! Are you planning to add modbus RTU over TCP feature? For example, instead of using Modbus TCP packet, deploy Modbus RTU over TCP packet. It's very comfortable thing for getting info via virtual COM port (emulating Modbus RTU device using TCP connection).

@3cky
Copy link
Owner

3cky commented May 15, 2020

Though it's an interesting idea, I'm still not sure it will fit into the mbusd concepts of multiplexed access to the RTU network. Need to look into this more thoroughly.

@dasrue
Copy link

dasrue commented Aug 13, 2023

I have an initial implementation of this here. If this would be useful to anyone else I will create a pull request, but I will do some more testing first

@kpr0th
Copy link
Contributor

kpr0th commented Dec 22, 2023

@dasrue -- if I'm reading correctly, your implementation is still a ModbusTCP server (slave), but you added an option to make a ModbusRTU "encapsulated in TCP packets" client (master) connection to a remote device instead of accessing the remote device over a serial (TTY) connection?

I.e.: [client-device] ---ModbusTCP(502)---> [mbusd] ---ModbusRTU-encapsulated-in-TCP-packets---> [remote device]?

If so, that's a pretty cool option. I'd encourage submitting as a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants