本文介绍了关于Azure IoT SDK C中的MODBUS RTU通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
目前,我们正在使用Azure IoT SDK C库在嵌入式设备(ARM64-Linux 4.4)与嵌入式设备之间建立通信.物联网中心.在这方面,我们选择了"HTTPS"作为协议.我们对此几乎没有疑问.

查询:
1.我们现有的嵌入式设备通过MODBUS RTU(RS485)从传感器收集数据. Azure SDK C中是否有可用的现有库/设置,可促进MODBUS通信.目的是,SDK应该包括MODBUS RTU通讯,并进行轮询 传感器以定义的间隔(以毫秒或秒为单位)收集数据,并且应将相同的数据发送到IoT中心.

我们要求您提供帮助.

Hello,
Currently we are using Azure IoT SDK C library to establish communication between our Embedded device(ARM64 - Linux 4.4) & IoT hub. In this regard we have chosen 'HTTPS' as protocol. We have few questions in regarding that.

Query:
1. Our existing Embedded device collects the data from sensors via MODBUS RTU(RS485). Is there a existing library/provision available in Azure SDK C which facilitates MODBUS communication. Objective is, SDK should include MODBUS RTU communication, and poll the sensor at define interval (in mSec or Sec) to collect the data and the same data should be sent to IoT Hub.

We request your help in regarding this.

谢谢

J.塞卡尔

推荐答案

您是否考虑过使用物联网边缘作为网关?

Did you consider using IoT Edge as a gateway?


另请参见:通过IoT Edge设备网关连接Modbus TCP设备

谢谢!


这篇关于关于Azure IoT SDK C中的MODBUS RTU通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-24 12:29