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

Unable to create RTU over TCP connections to multiple devices at different IPs #306

Open
InternetPersonality opened this issue Feb 25, 2023 · 0 comments

Comments

@InternetPersonality
Copy link

First, I want to thank you for this useful piece of software.

I have two different grid meters I want to open in one mbmd instance at the same time. They are in adjacent buildings and thus have separate RTU to Ethernet adapters with different IPs.

According to the documentation, one can open TCP connections to multiple meters at different IPs using the -d xy@IP feature. However, as far as I can tell with my precompiled package, you cannot identify this additional connection to be made as RTU over TCP. the --rtu modifier only applies to the -a standard adapter string and not to additional -d devices. It instead attempts a standard TCP connection, which fails.

Is this intended behavior? To quote the readme: "To use RTU devices with RS485/Ethernet adapters, add the --rtu switch to configure mbmd to use the TCP connection with RTU data format", this reads as if the modifier is supposed to be global?

It would be great to be able to set the --rtu modifier for every -d device.

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

No branches or pull requests

1 participant