IOT Edge Modbus Module

Stross, Jared 41 Reputation points
2022-08-10T17:37:25.83+00:00

I am trying to use an iot edge device connected with a VM along with the iot edge modbus module to act as a gateway to store data from my Modbus device to my hub. I believe I have everything set up I just can't seem to get my Modbus device and Modbus module to connect. I am attaching screenshots of my configurations and troubleshooting of my modbus module. Any help would be appreciated thank you!

229999-cap.png229989-csp.png

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
576 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,205 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde | MVP 33,146 Reputation points MVP
    2022-08-10T21:21:55.377+00:00

    Hello @Stross, Jared ,

    you can read telemetry from a device supporting the Modbus protocol (both TCP and RTU) using the Microsoft Modbus module.

    Keep in mind you both have to add Container create options for RTU too (see this GitHub section).

    Check the module logging for more details to see it you get a response:

    iotedge logs -f Modbus  
    

    See also this blog post (it's an older blog so ignore the old module name).


1 additional answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.