Skip to content

Modbus server input and output plugins #16667

@iiacoban42

Description

@iiacoban42

The modbus_server input plugin collects metrics from Modbus server, while the modbus_server output plugin stores data from incoming metrics in Modbus server. Both plugins support various data types and allow for flexible configuration of metrics and their corresponding Modbus registers.

Expected Behavior:

Input Plugin:

  • The plugin should establish a stable connection to the Modbus server using the provided server_address.
  • It should accurately read data from the specified Modbus registers and map them to the configured fields.
  • The plugin should handle various data types (e.g., UINT16, FLOAT32) as specified in the configuration.
  • Tags should be correctly applied to the metrics, allowing for proper categorization and filtering of the collected data.

Output Plugin:

  • The plugin should establish a stable connection to the Modbus server using the provided server_address.
  • It should accurately write data to the specified Modbus registers based on the configured fields.
  • The plugin should handle various data types (e.g., UINT16, FLOAT32) as specified in the configuration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions