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

[inputs.modbus] Modbus UDP Feature Resquest #10664

Open
theruskian opened this issue Feb 16, 2022 · 3 comments
Open

[inputs.modbus] Modbus UDP Feature Resquest #10664

theruskian opened this issue Feb 16, 2022 · 3 comments
Labels
area/modbus feature request Requests for new plugin and for new features to existing plugins help wanted Request for community participation, code, contribution size/s 1 day effort, great beginniner issue

Comments

@theruskian
Copy link

Feature Request

Add the ability to use Modbus/TCP over a UDP transport.

Proposal:

Add the ability to poll Modbus/TCP slaves over UDP
controller = "udp://localhost:502"

Current behavior:

controller = "tcp://localhost:502"
modbus plugin establishes a TCP connection to the modbus slaves and polls registers

Desired behavior:

controller = "udp://localhost:502"
modbus plugin send modbus request over UDP to poll registers

Use case:

Modbus slaves that support UDP would benefit from the reduced overhead especially when telegraf isn't the only master polling the device for data. The same RTUoverTCP and ASCIIoverTCP options could remain.

@theruskian theruskian added the feature request Requests for new plugin and for new features to existing plugins label Feb 16, 2022
@powersj
Copy link
Contributor

powersj commented Feb 16, 2022

Telegraf uses this modbus go library to establish connections. I would suggest filing a feature request upstream to request this feature and then Telegraf could make use of it.

Until the upstream support is in place, I think we are better off closing this issue for now.

Thanks

@powersj powersj closed this as completed Feb 16, 2022
@theruskian
Copy link
Author

theruskian commented Jun 29, 2024

@powersj
Hi Joshua,

I believe the upstream support is now available. Would it be possible to re-open this request?

grid-x/modbus#50 (comment)
Solved by
grid-x/modbus#85

@powersj powersj reopened this Jul 1, 2024
@powersj
Copy link
Contributor

powersj commented Jul 1, 2024

Would it be possible to re-open this request?

Done - are you planning to put up a PR?

@powersj powersj added help wanted Request for community participation, code, contribution size/s 1 day effort, great beginniner issue labels Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/modbus feature request Requests for new plugin and for new features to existing plugins help wanted Request for community participation, code, contribution size/s 1 day effort, great beginniner issue
Projects
None yet
Development

No branches or pull requests

2 participants