Skip to content

[inputs.modbus] Modbus UDP Feature Resquest #10664

Open
@theruskian

Description

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.

Metadata

Assignees

No one assigned

    Labels

    area/modbusfeature requestRequests for new plugin and for new features to existing pluginshelp wantedRequest for community participation, code, contributionsize/s1 day effort, great beginniner issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions